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

Taco Hoekwater taco at elvenkind.com
Thu Jul 9 09:25:28 CEST 2015


> On 09 Jul 2015, at 07:22, Jaroslav Hajtmar <hajtmar at gyza.cz> wrote:
> The problem is that the macros created in Lua I sometimes do not work as well when I create TeX (during the cycle will automatically fall short values). I have a particularly bad experience in this regard with the construction, he sent Taco.
> Simplified version of "interfaces.definecommand" construction does not in my way of processing the results of what I expected.

Perhaps interfaces.definecommand could be extended with a way to do global definitions?

Best wishes,

More information about the ntg-context mailing list