[OS X TeX] paths in input & include
Alain Schremmer
Schremmer.Alain at gmail.com
Sat Feb 11 04:09:56 CET 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=
\documentclass[11pt]{book}
\begin{document}
This is text in File1
\include{../FolderB/File2}
\end{document}
and File2 = This is text in File2, I get the message
No file ../FolderB/File2.aux.
)
[1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updmap/pdftex.map}]/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex:
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
\@partau...
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.
)
){/usr/local/teTeX/share/texmf.tetex/dvips/tetex/f7b6d320.enc}</usr/local/teT
eX/share/texmf.tetex/fonts/type1/bluesky/cm/cmr10.pfb>
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?
Regards
--schremmer
------------------------- 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