[NTG-context] Language dependency in environment-project file

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue Nov 27 21:41:52 CET 2018

Marco Patzer schrieb am 27.11.18 um 21:37:
> Hi,
> I do have a project structure with environment, project and component files.
> The language of the individual documents is defined in the components using
>    \setupdocument
>      [language=sv]
> The environment needs to adjust language-dependent settings. However, when the
> environment file is read, the language is not specified, yet. In the past I've
> used
>    \appendtoks
>>    \to\everystarttext
> and I belive it has worked that way. In any case, right now it doesn't. I have
> attached a not-so-minimal example project.
> How to set this up correctly? If possible I'd like to keep the language in the
> document settings as shown above.
> A nudge in the right direction appreciated.

\to \everysetupdocument


More information about the ntg-context mailing list