27 Nov
2018
27 Nov
'18
8:37 p.m.
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. Marco