0

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?

2
  • Have you tried the \input command Mar 30 '19 at 15:31
  • Is the problem with the page numbering only? Or plus wanting to have figures and tables to have unique numbers as well? Aug 27 '19 at 21:17
0

The com­bine class lets you bun­dle in­di­vid­ual doc­u­ments into a sin­gle doc­u­ment, it may be what you are looking for.

1
  • 1
    For a valid answer can you please add compilable tex code showing the solution?
    – Mensch
    Mar 31 '19 at 21:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.