[NTG-context] Stange behavior of \startluacode

Hans Hagen pragma at wxs.nl
Sun Oct 3 12:32:39 CEST 2010


On 3-10-2010 1:46, Aditya Mahajan wrote:
> 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?

feature ... the content gets expanded

texnically I could catch comments but it's not worth the effort (and 
slowdown)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list