[OS X TeX] Setting project root

Bruno Voisin Bruno.Voisin at hmg.inpg.fr
Wed Jun 19 11:15:06 CEST 2002



Le mercredi 19 juin 2002, à 11:02 , Sam Broderick a écrit :

> I'm starting my PhD Thesis and trying to work out setting up a 
> multi-part
> document. A small test is causing problems:
>
>     \documentclass[12pt]{report}
>     \begin{document}
>         \include{Chapter1/one.tex}
>         \include{Chapter2/two.tex}
>         \include{Chapter3/three.tex}
>     \end{document}
>
> with
>
>     documentclass[12pt]{report}
>     \begin{document}
>         \chapter{Testing 123}
>         Well here's my chapter one!
>     \end{document}
>
> [...]

I think you should suppress the lines:

documentclass[12pt]{report}
\begin{document}

and

\end{document}

in one.tex etc.

These lines can only be used once in a given LaTeX run, and LaTeXing 
your main file (the one with the \include commands) just implies 
verbatim inclusion of all the content of the files called by \include 
commands.

Bruno Voisin


-----------------------------------------------------------------
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------




More information about the macostex-archives mailing list