On Wed, 1 Jun 2011, Jeong Dalyoung wrote:

Dear Lukas,

Thank you for the explanation.


I guessed that your original

[[\\def\\lang{English}]]

No errors message, but it's not working as the way as  I want. It just print "def 
langEnglish".


[[\def\lang{English}]]


This cause the error message and halt the compiling.

context([[\def\noexpand\Lang{...}]])

or

context([[\def\string\Lang{...}]])

I don't understand why

context([[\def\\Lang{...}]])

does not work. I thought that when TeX code is exapnded inside lua environment \\ was equal to \string\.

Aditya

PS: \lang macro is defined by bib module.
___________________________________________________________________________________
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