I wish to combine three distinct latex documents into a single document. In particular, each document has its own specific directory for images, as well as a distinct bibtex file. Is there a straightforward way to do this?
The solution I have for now is the following:
\documentclass{report}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=-]{doc1.pdf}
\includepdf[pages=-]{doc2.pdf}
%... continue for all docs
\end{document}
However, the issue here is that the page numbers inherit those of the original document. As such, each new document starts from page 1. Is there a way to in fact number these pages cumulatively?
\inputcommand – subham soni Mar 30 '19 at 15:31\inputor\include. Alternatively, perhaps you could rerun them separately with redefined starting page numbers, and combine them after the fact. The "rerun".auxfiles should be usable for creating a TOC and similar adjuncts. – barbara beeton Dec 17 '22 at 18:12