On 1/17/2026 11:41 AM, Arash Esbati wrote:
Hi all,
during the discussion about this report[1], it was revealed that the
messages emitted by LuaTeX are not consistent. Say you have a infs.tex
file like this[2]:
\ignoreprimitiveerror=1
\setbox0=\vbox{\hrule height 1pt \vskip 0pt minus 1fill}
\setbox1=\vsplit0 to 5pt
\end
Running luatex on it produces:
$ luatex infs
This is LuaTeX, Version 1.22.0 (TeX Live 2025)
restricted system commands enabled.
(./infs.tex
ignored error Infinite glue shrinkage found in box being split
but adding '-file-line-error' to the call gives:
$ luatex --file-line-error infs
This is LuaTeX, Version 1.22.0 (TeX Live 2025)
restricted system commands enabled.
(./infs.tex
./infs.tex:4: Infinite glue shrinkage found in box being split
Note the missing 'ignored error' prefix.
irr that was per request i.e. an error that should not quit
all other errors give a "!" instead so even there the file-line-error is
different
so why make an exception
For TL2026, the message is changed in general[3], but is it possible to
make sure that LuaTeX emits the same message with and w/o
'-file-line-error'? This is relevant for TeX editors which parse the
log file in order to decide which command to run next etc.
the only thing then that makes sense is to change "ignored error" into "!"
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
-----------------------------------------------------------------