[OS X TeX] graphicspath

Ross Moore ross at ics.mq.edu.au
Sun Jan 15 13:02:57 CET 2006


On 15/01/2006, at 8:01 AM, 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/}}

This specifies 3 different prefixes to test:
    .  /  and  Figures/

If one works, then great.
e.g. with   includegraphics[scale=0.75]{01-00-01.pdf}

the filenames tested are:
    .01-00-01.pdf
    /1-00-01.pdf
    Figures/01-00-01.pdf

I'd expect that the last of these works, but not the earlier two.



>
> in the preamble and all worked well even though Companion 2ed p624  
> says it ought to be
>
>    \graphicspath{{./Figures/}}
>
> which of course works too.

    ./Figures/01-00-01.pdf  is the same as    Figures/01-00-01.pdf

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

These should be the same, so either both working
or both failing is consistent.
What is the correct path to the images ?


Hope this helps,

	Ross


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

------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------


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