[NTG-context] constructing block content partly with lua

Sanjoy Mahajan sanjoy at olin.edu
Wed Feb 6 16:25:44 CET 2019


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

> i'm not sure what you want but thsi might give a clue

> ...
> \startluacode
> buffers.assign("temp","test 2")
> structures.blocks.save("foo",nil,nil,"temp")
> \stopluacode

Ah, thanks, that looks like what I need, or at least part of it, and
will keep me busy making more experiments.

-Sanjoy


More information about the ntg-context mailing list