# [texhax] Large Project

Paul Isambert zappathustra at free.fr
Wed Dec 23 10:43:22 CET 2009

```Divide your project into several smaller files. Suppose you have
LaTeX), then you can dispatch parts of your document in partA.tex,
partB.tex, partC.tex... And then in main.tex you \input them:

\input partA.tex
\input partB.tex
\input partC.tex

The interesting thing is that when you're working on, say, part C, you
don't need to input the previous parts, so:

%\input partA.tex
%\input partB.tex
\input partC.tex

Page numbering and cross-references will go wrong but if you're only
interested in not doing syntax errors at this stage of the process, you
don't mind.

Paul

Patrick M. Rutkowski a écrit :
> My project has gotten large enough that when I run "!tex" in my bash
> shell it takes quite a while before I'm looking at the resulting PDF.
> This gets rather annoying, since I'm new enough to TeX that I really
> do have to be constantly looking at the output of every line as I type
> it, line by line (for fear of accruing too many syntax mistakes).
>
> How the heck do people go about writing 20+ page projects in TeX?
>
> Another issue is that I'm using epsf.tex from CTAN to include
> postscript figures in my document, and that really slows things down
> even more.
>
> -Patrick
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/