[NTG-context] context.delayed is incompatible with some functions

Hans Hagen j.hagen at xs4all.nl
Mon Nov 2 00:33:39 CET 2020

On 11/1/2020 7:24 PM, Sylvain Hubert wrote:
> Dear List,
> I was reading Typesetting in Lua using LuaTEX 
> <https://www.ntg.nl/maps/41/11.pdf>. By playing with the examples in the 
> article, I found that
>    `context.chapter(context.delayed("one"))`
> does not render the delayed text properly, while
>    `context.bf <http://context.bf>(context.delayed("one"))`
> does.
> I would like to ask whether this difference is by design and, if not, 
> whether there is any systematic way of giving delayed arguments to 
> `context.chapter`, where by "systematic way" I'm referring to a proper 
> use of the existing definition of "\chapter" instead of any faked 
> duplication of it that visually resembles a chapter title.
by design





                                           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