[Dev-luatex] lastnodetype, again

Robert w.m.l at gmx.net
Tue Aug 17 02:53:33 CEST 2021


Hi,

while the last problem with \lastnodetype (cf.
https://mailman.ntg.nl/pipermail/dev-luatex/2020-April/006414.html) has
been fixed, there are still incompatibilities if it is preceded by \relax.

The following outputs 7,0,8,7,7,7 with pdftex and etex, but 7,0,0,0,0,0
with luatex:

%\input luaotfload.sty
%\font\x=[lmroman12-regular.otf]:script=latn;+trep;+tlig;%mode=base;
%\x % no difference
\setbox0\hbox{--}
\unhbox0 \the\lastnodetype % OK

--\the\lastnodetype % OK

--\relax\the\lastnodetype

\setbox0\hbox{--\relax\the\lastnodetype}
\unhbox0

\toks0={--}
\setbox0\hbox{\the\toks0\relax \the\lastnodetype}
\unhbox0

\setbox0\vbox{\hbox{--\relax\the\lastnodetype}}
\unvbox0
\bye

Best,
--
  Robert


More information about the dev-luatex mailing list