15 Nov
2022
15 Nov
'22
4:06 p.m.
On 11/15/22 13:22, Denis Maier via ntg-context wrote:
Hi,
if I process an XML buffer, I’ve noticed I need to wrap the \xmlprocessbuffer in a \starttext ... \stoptext pair. [] However, if I have the XML and the setups in dedicated files, there seems to be no need for \starttext ... \stoptext. [] Therefore my question:
Does the use –environment automatically wrap the processed file in \starttext ... stoptext ?
Hi Denis, try a source file with this contents: \ConTeXt\ is great. with the following environment: \setuppapersize[A6] \setupbodyfont[pagella] It looks like when --environment is used, ConTeXt assumes that the main source only contains text. Which makes sense (at least, to me). Just in case it might help, Pablo