# [OS X TeX] \includes & graphics

Herbert Schulz herbs at wideopenwest.com
Sun Sep 18 00:07:51 CEST 2005

```On Sep 17, 2005, at 12:26 PM, Maarten Sneep wrote:

> On 17 Sep 2005, at 15:03, Herbert Schulz wrote:
>
>> Suppose I have a root tex file which includes ``chapter'' files
>> each of which is located in an individual chapter sub-directory
>> along with all it's associated graphics (possibly in a sub-
>> directory of that directory). (Is that a reasonable structure?)
>
> Yes, seems fair enough.
>
>> What path to the graphics files do I use in the \includegraphics
>> commands in the ``chapter'' files? Is it the path from the root
>> file or from the chapter file?
>
> Root:
>
> \includegraphics{chapter1/figures/pretty-picture}
>
> (if chapter1 contains the files for chapter 1, and the root
> document is located next to this, i.e. in the same directory as the
> chapter1 directory is located).
>
> Maarten

Howdy,

Thanks to both Bernard and you for the answer. I'd guess the
statement Bernard made makes it fairly clear; the chapter files are
really just input into root file so it is the root file that is being
compiled.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

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

```