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
<<attachment: ctx-lang.zip>>
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________