[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295129: tetex-bin: pdflatex doesn't handle files with space in their name



tags 295129 + wontfix
stop

On 13.02.05 LT-P (LT-P@LT-P.net) wrote:

> pdflatex cannot compile a tex file with space in its name.
> 
> ___
> $ pdflatex conv\ SDEN\ 2005.tex 
> This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
> entering extended mode
> ! I can't find file `conv'.
> <*> conv 
>          SDEN 2005.tex
> Please type another input file name: q
> (/usr/share/texmf/tex/latex/tools/q.tex{/usr/share/texmf/pdftex/config/pdftex.c
> fg}
> LaTeX2e <2001/06/01>
> Babel <v3.7h> and hyphenation patterns for american, french, ngerman, latin, no
> hyphenation, loaded.
> File ignored
> $ ls -l conv\ SDEN\ 2005.tex 
> -rw-------  1 ltp users 6,0K 2005-02-13 19:09 conv SDEN 2005.tex
> ___
> 
A text from grffile.sty posted into #259390:

% \TeX\ considers the space character as termination in its
% syntax for commands that expect a file name.
% Therefore files with spaces cannot be used with TeX.
% However, pdfTeX's primitive \pdfximage that is used for
% including file names uses curly braces to delimit the
% file name, so spaces are possible.

The last sentence applies only to graphics inclusion. I guess you
have to live with the limitation, that you can't process files with
space in it.
I'd suggest to set the severity to wishlist, but I guess we won't a
fix in the near future.

Regards,
  Hilmar
-- 
sigmentation fault



Reply to: