[OS X TeX] Gotta include problem

Ross Moore ross.moore at mq.edu.au
Thu May 12 23:54:34 EDT 2011

Hello David and Tamer,

On 13/05/2011, at 1:42 PM, M. Tamer Özsu wrote:

> I think you need to say
> \includegraphics{chapter1/graphics/fig1}

Better (sometimes) is to declare the graphics path in the preamble:

\graphicspath{{chapter1/graphics/}{chapter2/graphics/}...{yet another path}}

Each {...} represents a prefix that LaTeX is supposed to prepend
to the filename, when searching for an image file.

However, if you are using the same file names,  such as  fig1  
fig2  fig3 ... , within in each chapter then this will not work.
LaTeX will always choose the first valid filename that is found.

As with symbolic labels, it is better to name your images with
a name that reflects the content of the image, rather than 
the position it occupies within the document.

This makes it much easier to allow reuse of the same graphic within
different documents.

> ==Tamer

Hope this helps,


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

More information about the MacOSX-TeX mailing list