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

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



Frank Küster <frank@debian.org> writes:

> Richard Lewis <rtf@jabble.com> schrieb:
>
>> LT-P <LT-P@LT-P.net> writes:
>>
>>> 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
>>
>>
>> It can if you call it like this:
>>
>> pdflatex '\input{conv SDEN 2005.tex}'
>
> Sure? I get:
>
> ! LaTeX Error: Missing \begin{document}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...                                              
>                                                   
> <*> \input{conv SDEN 2005.tex}
>
> Which seems to indicate that it tries to interpret the filename as
> text. 

You're right, 'a space terminates the filename' is a TeX feature,
catcodes are not even consulted.

[though I think that the miktex distribution (windoze) does support
something like what I said]



Reply to: