Dimitri Pissarenko | 4 Aug 2001 20:42
Picon

input command

Hello!

I'm writing a document which will be very large in the future and want
to keep the logical structure of LaTeX files AND the file structure of
the project so that it remains clear even when it is complete and
contains a lot of chapters and sections.

For this purpose I want to create in the directory of the root LaTeX
document "report.tex" a sub-directory for each of the chapters. That
is, I have subdirectories like "chaChapter1", "chaChapter2" etc. In
each of these directories I want to put a "main.tex" file, which is
the root LaTeX file of the chapter (the chapters consist of sections,
which are included in the chapter root file and whose files are
located in the chapter sub-directory).

I've tried to do this by including the files with the \input commands
like

\input{chaChapter1/main.tex}

but I cannot compile the document then.

Does someone know whether and how one can structure the document in
this way?

Thanks in advance

Dimitri Pissarenko

PS: The LaTeX files I used to try out this solution are available on
(Continue reading)


Gmane