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

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue Nov 27 22:05:27 CET 2018

Marco Patzer schrieb am 27.11.18 um 21:56:
> On Tue, 27 Nov 2018 21:41:52 +0100
> Wolfgang Schuster <wolfgang.schuster.lists at gmail.com> wrote:
>>> A nudge in the right direction appreciated.
>> \appendtoks
>>     \mainlanguage[\documentvariable{language}]%
>> %\doifdocumentvariable{language}{\mainlanguage[\documentvariable{language}]}%
>> \to \everysetupdocument
> That's basically what I've done in my project file (te-proj.tex). At
> least the code is supposed to do exactly that.
> But even your solution doesn't work here. Did you try it in the
> example project file?

\startenvironment [*]

\startsetups [itemgroup:en]
   \setupitemgroup [itemize] [i]

\startsetups [itemgroup:sv]
   \setupitemgroup [itemize] [a]



\to \everysetupdocument



More information about the ntg-context mailing list