28 May
2011
28 May
'11
3:04 a.m.
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