I've already searched stackexchange but I couldn't find what I was looking for. The thing is that I have different .tex files (five in total, the main files), each of them includes other tex files. Every file is a volume (Volume 1, Volume 2..). For Volume 1:
\documentclass[...]
\begin{document}
\input{./sections/0_Intro}
\newpage
\input{./sections/2_part1}
\newpage
\input{./sections/3_part2}
\newpage
\input{./sections/4_part3}
\newpage
\input{./sections/5_part4}
\newpage
\input{./sections/6_part5}
\end{document}
And the same applies for the other volumes. What I want to do is a single .tex document or PDF that includes all of them (including an index with all the volumes). Is there anyway to do this?
Thanks in advance.
input{file}\newpage
, you could just use\include[file}
, which would start a new page for every single one, and you would also be able to use\includeonly{file1}
.\input
file (structurally - not actually content)? What do you mean byan index with all the volumes
? Do you mean that the index should combine\index{<word>}
entries from each volume? Or do you not really mean an index but, say, a table of contents? Does each volume also get its own ToC and/or index? How should be pagination work? What about the bibliography? Are you already using\part
for the\input
files?