![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
27 Nov
2018
27 Nov
'18
1:56 p.m.
On Tue, 27 Nov 2018 21:41:52 +0100
Wolfgang Schuster
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? Marco