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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________