Thomas A. Schmitz schrieb am 20.11.2020 um 22:44:
Hi all,
this is the most bizarre bug I've ever seen in context. I would be grateful if others could try to replicate it. Test file:
\startbuffer[test] <document> <hskip width="1em"/>Materiam vati da Venus alma tuo. </document> \stopbuffer
\startxmlsetups xml:testsetups \xmlsetsetup{#1}{*}{-} \xmlsetsetup{#1}{document| hskip}{xml:*} \stopxmlsetups
\xmlregistersetup{xml:testsetups}
\startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups
\startxmlsetups xml:hskip \hskip\xmlatt{#1}{width}
\hskip\xmlatt{#1}{width}\relax
The file compiles cleanly if I give the --luatex switch.
Now for the bizarre part: if you delete the capital M of "Materiam" or replace it by any other capital letter, the file compiles. What's going on here?
Optional arguments (e.g. plus/minus values for \hskip) for commands are handled different in LMTX but it was always recommended to add \relax after the last value. Wolfgang