[NTG-context] checking mainlanguage setup
Aditya Mahajan
adityam at umich.edu
Sat May 28 05:04:32 CEST 2011
On Sat, 28 May 2011, Jeong Dalyoung wrote:
> \startluacode
> if languages.current() == "kr" then
> context([[\def\lang{Korean}]]) %("\def\lang{Korean}")
> else
> context([[\def\lang{English}]]) %("\def\lang{Korean}")
> end
> \stopluacode
>
> currentlanguage: \lang
>
> is not working. (undifined control sequence error)
(Untested) try
context.setvalue("lang", "English")
or
context([[\\def\\lang{English}]])
Aditya
More information about the ntg-context
mailing list