[NTG-context] constructing block content partly with lua

Sanjoy Mahajan sanjoy at olin.edu
Tue Feb 5 16:28:27 CET 2019


On 2019-02-05 16:24, Hans Hagen <j.hagen at xs4all.nl> wrote:

>> \startluacode
>>    context.beginanswer()
>>    context("\\onearg{Test parameter}")
>
> does
>
> context.onearg("Test parameter")
>
> work?

Sorry, I forgot to say that I had tried that version too but also with
no luck.  Also, either version of onerg works as expected if I delete
the context.beginanswer() and the \endanswer lines.

-Sanjoy


More information about the ntg-context mailing list