[OS X TeX] Simple question

Herbert Schulz herbs at wideopenwest.com
Tue Apr 10 21:00:30 CEST 2007


On Apr 10, 2007, at 1:47 PM, Nathan Paxton wrote:

> 	But I can't seem to find an answer.  If I have a file in a  
> different directory, and that directory has spaces in the name,,  
> how can I use it in an \includegraphics command.  The file I want  
> to use is ../Dissertation Materials/pictures/BeliefReX.pdf.  But  
> that space in Dissertation Materials makes life when I pdflatex  
> difficult.
>
> Best,
> -N

Howdy,

Try wrapping the full path in double quotes (not `` or '' but "):

\includegraphics{"../Dissertation Materials/pictures/BeliefReX.pdf"}

might work. I tried it with a file with spaces in its name in the  
same directory as the tex file and it worked.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list