[OS X TeX] Simple question

Gary L. Gray gray at engr.psu.edu
Tue Apr 10 17:02:22 EDT 2007


On Apr 10, 2007, at 4:57 PM, Roussanka Loukanova wrote:

> On Tue, 10 Apr 2007, Gary L. Gray wrote:
>
>>
>> On Apr 10, 2007, at 3:45 PM, Nathan Paxton wrote:
>>
>>>> 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)
>>>
>>> 	Hmm.  Tried that.  Any other suggestions?
>>
>>
>> I just tried Herb's suggestion and it works perfectly here. I've  
>> put a .pdf file with spaces in the name inside a folder with  
>> spaces in the name and tried it in several locations and it always  
>> works as long as the path is correct and I have "" wrapped around it.
>>
>> Regards,
>> Gary
>
> It works for me only if I do not include the fle extension .pdf, i.e.,
>
> \includegraphics{"../Dissertation Materials/pictures/BeliefReX.pdf"}
>
> results:
>
> ! LaTeX Error: Unknown graphics extension: .pdf".

That goes without saying. :-)

Regards,
   Gary



------------------------- 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 MacOSX-TeX mailing list