TeXWorld wrote:
Hello,

Lua has the following mechanisms to comment codes:

--

and

--[[   --]].

TeX has % but does not have something like %[[   %]].
It could be useful for one line code.

it's quite unlike that any kind of commenting other then the (already configurable) % character will end up in the kernel

you can write a lua function that intercept the input and handles such a syntax

also, you can write a macro that intercept long comments


Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-luatex mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to