[OS X TeX] graphicspath

Jan Hegewald rurapente at gmx.de
Fri Jan 27 20:25:51 CET 2006


Am 27.01.2006 um 17:55 schrieb Alain Schremmer:

> QUESTION. When the .tex file in which the graphics are to be  
> included is in TextFolder alongside GraphicsFolder, both being in  
> BookFolder, is there a path that lets LaTeX get out of TextFolder?

Do you mean .. (the two dots)? .. takes you up one folder. So if you  
have

BookFolder:
	GraphicsFolder:
		SomeFancyPicture.png
	TextFolder:
		yourTeXFile.tex

you can use \graphicspath{{../GraphicsFolder/}} % note the two dots (..)
in your .tex file and write \includegraphics{SomeFancyPicture}

Does this help?

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