[NTG-context] context.delayed as parameter of setuphead[before=...]
Hans Hagen
j.hagen at xs4all.nl
Tue Nov 3 09:03:18 CET 2020
On 11/3/2020 4:05 AM, Sylvain Hubert wrote:
> > as tables like those in setuphead({somehead}, {somesettings}) are
> actual Lua tables and follow Lua, not TeX, rules
> But there are lua apis that support delayed TeX like
> `context.chapter(context.delayed'text')`.
> Whether or not the function is stored in a table should be theoretically
> irrelevant.
> I guess there should be a switch somewhere that let the command
> recognized delayed function.
all is possible but not all is reasonable to support .. adding layer
upon layed doesn't make it more pretty
anyway, chapter (section) titles go tinto a toc table and storing lua
delayed function definitions there makes not much sense
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list