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

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to