[NTG-context] Using lua to define a macro with one optional parameter in brackets

Taco Hoekwater taco at elvenkind.com
Wed Jul 8 14:11:27 CEST 2015


> On 08 Jul 2015, at 13:58, Jaroslav Hajtmar <hajtmar at gyza.cz> wrote:
> 
> Thanx Taco for reply.
> 
> the minimal example see bellow not crashed, but \A macro is not created.
> I don't Know in what could still be a problem. Example I am even more minimalize

It works for me after changing \directlua {} to \startluacode … \stopluacode

Best wishes,
Taco

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cld-def-test.tex
Type: application/octet-stream
Size: 405 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150708/5c60ffa4/attachment.obj>
-------------- next part --------------




More information about the ntg-context mailing list