[OS X TeX] paths in input & include

Peter Dyballa Peter_Dyballa at Web.DE
Sun Feb 12 17:57:59 EST 2006

Am 12.02.2006 um 22:59 schrieb Alain Schremmer:

> 2) I was wondering if, instead of having in the document
>    \include{FolderA/FolderB/File1}
> it would be possible to have in the preamble some sort of
>    \filespath{{./FolderA/FolderB/}}
> and then in the document just
>    \include{File1}

No, this won't work. graphics.sty itself looks up the graphics files  
to be included, as far as I understand the code.

\graphicspath takes a *list* of arguments. It's proper use would be,  
remembering your folders' structure:

	\graphicspath{{FolderA},{FolderB}}	% take it from either this, or  
that, or somewhere else ...

I am still a bit flexible so *I* can adjust myself or my customs to  
kind of inadequacies of a software -- up to some extent! Your  
extension has some charm. Do you need more motivation to propose it  
to the TeX programmers?



“Computers are good at following instructions, but not at reading  
your mind.”
    - D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9

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