[OS X TeX] graphicspath

John Peterson john.peterson20 at comcast.net
Sun Jan 15 08:09:33 EST 2006


As an alternative, you can use the global routing:

\graphicspath{./BigFolder{SubFolder/}}

and then all you need is

\includegraphics[scale=0.75]{01-00-01.pdf}

as long as figure 01-00-01.pdf is in SubFolder.

John


On Jan 14, 2006, at 6:27 PM, Claus Gerhardt wrote:

> It ought to be
>
>  \includegraphics[scale=0.75]{BigFolder/SubFolder/01.pdf}
>
> with
>
>    \graphicspath{{./BigFolder/}}
>
> Claus/
>
> On Jan 14, 2006, at 22:01, Alain Schremmer wrote:
>
>> Until now, I had in my document lines such as
>>
>>    \includegraphics[scale=0.75]{Figures/01-00-01.pdf
>>
>> with
>>
>>    \graphicspath{./{Figures/}}
>>
>> in the preamble and all worked well even though Companion 2ed p624  
>> says it ought to be
>>
>>    \graphicspath{{./Figures/}}
>>
>> which of course works too.
>>
>> The number of figures, though, is starting to get big and the  
>> numbering to be less and less systematic. So, I thought I would  
>> organize the figures into folders. But, for the life of me, I  
>> can't figure out how to write the path that will let LaTeX find a  
>> figure in a nested folder which is what I really would like.
>>
>> The following doesn't work
>>
>>    \includegraphics[scale=0.75]{BigFolder/SubFolder/01.pdf}
>>
>> nor does
>>
>>    \includegraphics[scale=0.75]{01.pdf}
>>
>> with
>>
>>    \graphicspath{{./BigFolder/SubFolder/}}
>>
>> both of which I thought ought to work since both BigFolder and the  
>> File.tex that uses the figures are side by side in the same  
>> LargeFolder. I fiddled around with / and . in various places but  
>> nothing works.
>>
>> Hopeful 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/
>>
>
> ------------------------- 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/
>

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