# [OS X TeX] paths in input & include

Jonathan Kew jonathan_kew at sil.org
Sat Feb 11 12:19:44 EST 2006

On 11 Feb 2006, at 5:04 pm, Peter Dyballa wrote:

> Am 11.02.2006 um 17:59 schrieb Jonathan Kew:
>
>> you need to edit the file /Library/teTeX/texmf.cnf. (In case
>> anyone is confused, this is the same file as /usr/local/teTeX/
>> texmf.cnf, but the /Library/teTeX path is more readily accessible
>> in the Finder.)
>>
>> At the end of that file, add one line:
>>
>> openout_any = r
>
> And it will probably only persist until the next update of the TeX
> i-Package ...

True; if you use this approach, the setting change will need to be re-
done each time you update the TeX system. If you do that very often,
I guess it'll be a bit of a nuisance.

The alternative is to re-organize your files so that you don't have
to "step up" the directory hierarchy with ".." in any of your
\include paths.

(For \includegraphics, it's OK to use ".." in the path, because
\includegraphics only *reads* files. It's when you attempt to *write*
files -- such as the .aux files that \include creates -- in such
locations that you encounter problems.)

JK

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