\pdffilesize and spaces
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Oct 18 19:40:07 CEST 2019
Hello all,
Tracking down the cause of
https://tex.stackexchange.com/questions/512768, I spot a bug in
\pdffilesize. This leads If you create a file "file_1.tex" and try
\edef\test{\pdffilesize{file_1.tex}}\show\test
\edef\test{\pdffilesize{file_1.tex }}\show\test
\edef\test{\pdffilesize{"file_1.tex "}}\show\test
all three results are the same. However, if you try the same with a
Lua-based emulation in LuaTeX, it does what it 'should' and doesn't find
the file with a space in the name.
This looks like a bug in \pdffilesize (and perhaps other pdfTeX file
utilities): I'll try to track it down.
Joseph
More information about the tex-live
mailing list