Closed PhelypeOleinik closed 6 years ago
Thanks I think that should be fixed now, and it's anyway safer to use a fixed catcode regime in these internal sprint functions.
last comment should have been issue #38
the updated dtx has a changelog describing the fix, but not the fix, sorry, another update will be needed, re-opening.
This issue was spotted in this question.
The following code breaks when compiled with
lualatex --no-shell-escape file.tex
:When compiled with
--no-shell-escape
LuaTeX returns a0
which, at the moment\pdf@shellescape
is defined, has\catcode
9, so it disappears and\pdf@shellescape
expands to\numexpr \relax
and it breaks withMissing number, treated as zero
.I thought that maybe doing a local
\catcode
change while defining\pdf@shellescape
would be one way to solve it. Or maybe moving the definition a few lines below, where the\catcode
of0
is back to 12.In the StackExchange chat Ulrike Fischer suggested to remove the
\directlua0
thing and the compatibility ti LuaTeX < 0.36 altogether (with a very good argument).