[NTG-context] checking mainlanguage setup

Aditya Mahajan adityam at umich.edu
Wed Jun 1 03:32:22 CEST 2011


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.


More information about the ntg-context mailing list