[tex-live] Whitespace in file name with all but plain TeX fails

George White aa056 at chebucto.ns.ca
Tue Oct 11 13:01:05 CEST 2005

Quoting Hans Hagen <pragma at wxs.nl>:

> Akira Kakuto wrote:
> >>Indeed, I confirm that 
> >>  pdfetex 'v er.tex'
> >>works in TL 2004 and fails with the current TL pdfetex (both
> >>i386-linux).  The error message is: 
> >>
> >>! I can't find file `"v er.tex"'.
> >>    
> >>
> >
> >On Windows, pdfetex "v er.tex" is OK.
> >Please check
> >char *makecfilename(strnumber s) in utils.c,
> >where I find #ifdef WIN32.
> >  
> >
> the windows version already supported "file name" (and some more things like
> url inclusion)
> the question is: where does this tak eplace, in the kpse library of in
> pdftex; if i remember right, kpse now does handle it too, so maybe the two
> mechanisms interfere in the unix branch 

If it helps, etex built on linux (FC4) using the current pdftex-1.30.3-2.2
sources  does not have the bug (pdfetex from the same sources and configure run

I didn't have time to learn much with gdb, other than to confirm that access()
is called with the quoted form of the filename.

George N. White III
Head of St. Margarets Bay, Nova Scotia

More information about the tex-live mailing list