Re: [NTG-context] Issue with latest LMTX version 2020-05-25

2020-05-26 Thread Hans Hagen
On 5/26/2020 11:29 AM, Joseph wrote: \appendtoks\ctxlua{userdata.font_switch(\fontid\font)}\to \everyfontswitch btw, using font.current() is more natural at the lua end Hans - Hans

Re: [NTG-context] Issue with latest LMTX version 2020-05-25

2020-05-26 Thread Hans Hagen
On 5/26/2020 11:29 AM, Joseph wrote: Dear list, With following MWE : %%% \startluacode \stopluacode \appendtoks\ctxlua{userdata.font_switch(\fontid\font)}\to \everyfontswitch \setupbodyfont[mainfont, 9pt] \starttext Foo. \stoptext %%% I get following error (commenting out the

[NTG-context] Issue with latest LMTX version 2020-05-25

2020-05-26 Thread Joseph
Dear list, With following MWE : %%% \startluacode \stopluacode \appendtoks\ctxlua{userdata.font_switch(\fontid\font)}\to \everyfontswitch \setupbodyfont[mainfont, 9pt] \starttext Foo. \stoptext %%% I get following error (commenting out the \appendtoks line makes the error to disappear) : token