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:

%... continue for all docs

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?

  • Have you tried the \input command Commented Mar 30, 2019 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? Commented Aug 27, 2019 at 21:17
  • Do these documents use different document classes or conflicting packages? If not, it should be possible to combine them into a single document using \input or \include. Alternatively, perhaps you could rerun them separately with redefined starting page numbers, and combine them after the fact. The "rerun" .aux files should be usable for creating a TOC and similar adjuncts. Commented Dec 17, 2022 at 18:12

1 Answer 1


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.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .