[NTG-context] Do environment files add implicit \starttext ... \stopttext
denis.maier at unibe.ch
denis.maier at unibe.ch
Wed Nov 16 10:30:39 CET 2022
> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces at ntg.nl> Im Auftrag von Pablo
> Rodriguez via ntg-context
> Gesendet: Dienstag, 15. November 2022 16:07
> An: Denis Maier via ntg-context <ntg-context at ntg.nl>
> Cc: Pablo Rodriguez <oinos at gmx.es>
> Betreff: Re: [NTG-context] Do environment files add implicit \starttext ...
> \stopttext
>
> 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).
>
Thanks, Pablo. Yes, that makes sense.
Denis
More information about the ntg-context
mailing list