[NTG-context] Stange behavior of \startluacode

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Oct 3 08:30:55 CEST 2010


Am 03.10.2010 um 01:46 schrieb Aditya Mahajan:

> Hi,
> 
> The following snippet
> 
> \startluacode
>  -- \undefined why should a comment matter
>  a = 10
> \stopluacode
> 
> fails with
> 
> system          > error on line 4 in file bug.tex: Undefined control sequence ...
>  -- \undefined
>                             why should a comment matt  a = 10
> \dodostartluacode ...and \directlua \zerocount {#1
>                                                  }}
> l.4 \stopluacode
> 
> 
> Bug or limitation?

The comment character in the luacode environment is “%”.

Wolfgang



More information about the ntg-context mailing list