[OS X TeX] includegraphics and spaces in path or file name

Maarten Sneep maarten.sneep at xs4all.nl
Sat Apr 1 00:48:18 CEST 2006


On 31 Mar 2006, at 12:51, Rechtsanwalt Friedrich Vosberg wrote:

> Morning.
>
> I can not avoid to use spaces in path and file names because the  
> directories have a structure like:
>
>   /Users/xy/Documents/clients/name, forename/Enterprice Inc/...
>
> If I include a graphic into a document by includegraphics TeXShop  
> warns me about the spaces. But nevertheless the graphic is properly  
> included into the output pdf file.
>
> But above the graphic the path of the graphic is printed. How can I  
> avoid this behaviour?

I don't quite get what you mean: Does it generally work, or just not  
in one specific case?

\includegraphics{"file name with spaces"} should work, if a file  
really cannot be found, (La)TeX will yell at you. Printing the name  
occurs (only, afaik) if there is a draft option passed to the  
document class or the graphic[xs] package.

Maarten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list