Re: [catchfilebetweentags und comment]

Uwe Brauer <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
> Am Tue, 29 Nov 2022 17:02:35 +0100 schrieb Uwe Brauer:
>    ^ da ist ein Leerzeichen zuviel, deswegen scheitert schonmal
> catchfilebetweentags.

> Abgesehen davon wird es nicht gehen. comment erwartet, dass
> \end{comment} auf einer eigenen Zeile steht, und das tut es nicht
> mehr, wenn du es in ein Macro steckt. 

> Du kannst es mit xparse versuchen:

> \documentclass{article}
> \usepackage{catchfilebetweentags}
> \NewDocumentEnvironment{comment}{+b}{}{}
> \begin{document}
> \ExecuteMetaData[external-catches.tex]{external-catches:1}
> \end{document}

Ah, vielen herzlichen Dank hat gut funktioniert

(allerdings nur mit \usepackage{xparse} 😉)

-- 
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l 
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.