\pdffilesize and spaces

David Carlisle d.p.carlisle at gmail.com
Fri Oct 18 20:37:36 CEST 2019


I do not see that with cygwin texlve the last two find th efile with a
space in its namewith pdftex, and with xetex, the middle one does and
the last finds no file at all

On Fri, 18 Oct 2019 at 18:40, Joseph Wright
<joseph.wright at morningstar2.co.uk> wrote:
>
> 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
> _______________________________________________
> Latex-team mailing list
> Latex-team at latex-project.org
> https://lists.dante.de/mailman/listinfo/latex-team


More information about the tex-live mailing list