[OS X TeX] graphicspath

Alain Schremmer Schremmer.Alain at gmail.com
Sat Jan 28 23:01:28 CET 2006


Gary L. Gray wrote:

>> Is there a way to set up \graphicspath{} to go back up more than  one 
>> level? For instance, in
>>
>>    BookFolder:
>>        Chapter1Folder
>>            GraphicsFolder1
>>                Picture1.pdf
>>            TextFolder1:
>>                TeXFile1.tex
>>        Chapter2Folder
>>            GraphicsFolder2
>>                Picture2.pdf
>>            TextFolder2:
>>                TeXFile2.tex
>>
>> I would like to use, say, \includegraphics{Picture1} in TeXFile2.tex.
>
>
> Yes, simply do the following:
>
> \graphicspath{{../../GraphicsFolder/}}

It doesn't work quite that simply for me as

    \includegraphics{Picture1} in TeXFile2.tex

doesn't work with

    \graphicspath{{../../GraphicsFolder1/}}

but since it does work with

    \graphicspath{{../../Chapter1Folder/GraphicsFolder1/}}   

I assume that the number of ../ must stand for the number of levels back 
up to the common level (Chapter level) from which the levels down must 
be listed. (Hard to phrase.)

Grateful regards
--schremmer


------------------------- 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