Re: [NTG-context] How to test which is current "mainlanguage"?

2015-12-31 Thread Lukáš Procházka
... Great, thank you! Lukas On Thu, 31 Dec 2015 11:52:46 +0100, Wolfgang Schuster wrote: Lukáš Procházka 31. Dezember 2015 um 11:07 Hello, how to detect which language set by \mainlanguage[xy] is active? How to detect it by a) ConTeXt

Re: [NTG-context] How to test which is current "mainlanguage"?

2015-12-31 Thread Wolfgang Schuster
Lukáš Procházka 31. Dezember 2015 um 11:07 Hello, how to detect which language set by \mainlanguage[xy] is active? How to detect it by a) ConTeXt and b) Lua? Something like: \mainlanguage[cz] \ifmainlanguage{cz} Do someting \fi and if context.languages.active() ==

[NTG-context] How to test which is current "mainlanguage"?

2015-12-31 Thread Lukáš Procházka
Hello, how to detect which language set by \mainlanguage[xy] is active? How to detect it by a) ConTeXt and b) Lua? Something like: \mainlanguage[cz] \ifmainlanguage{cz} Do someting \fi and if context.languages.active() == "cz" then -- Do somthing end Best regards, Lukas -- Ing.