[OS X TeX] paths in input & include

Alain Schremmer Schremmer.Alain at gmail.com
Fri Feb 10 22:09:56 EST 2006

Peter Dyballa wrote:

> Am 10.02.2006 um 00:10 schrieb Alain Schremmer:
>> Superfolder
>>    FolderA
>>       File1
>>    FolderB
>>       File2
>> In File1, I want to include File2.
> It's ../FolderB/File2. (one higher, then FolderB, and there File2)

Yes and no: Given the above, with File1=

    This is text in File1

and File2 = This is text in File2, I get the message

    No file ../FolderB/File2.aux.
    Not writing to ../FolderB/File2.aux (openout_any = p).

    ! I can't write on file `../FolderB/File2.aux'.
    \@include ...\immediate \openout \@partaux #1.aux
                                                      \immediate \write
    l.15 \include{../FolderB/File2}
    Please type another output file name:

When I then click Enter, I get

    (../FolderB/File2.tex) [2] (./File1.aux
    No file ../FolderB/File2.aux.
    Output written on File1.pdf (2 pages, 9551 bytes).
    Transcript written on File1.log.

and LaTeX correctly typesets two pages with "This is text in File1" on 
page 1 and "This is text in File2" on page 2.

Is this really the way it's spoozed to be?

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