![](https://secure.gravatar.com/avatar/ecffc5c1eb6692198d091ee98e921822.jpg?s=120&d=mm&r=g)
28 May
2011
28 May
'11
6:26 a.m.
Dear Aditya, Here are the test result.
context.setvalue("lang", "English")
It is working.
context([[\\def\\lang{English}]])
It is not working. It just prints "def langEnglish". Now, I got two solutions, using luacode and using \doifelse. Thank you. Best regards, Dalyoung