TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a master document by including the child documents with \include{} command. I can compile the master document to get the big document with all child documents included. I wonder how to get one big master document as well as individual child documents with the correct pagination through only one compile.

share|improve this question
I'm not sure what you are asking exactly. Is this about saving one run of pdflatex? Or about \includeonly to include only parts but get the page numbers right? – Christian May 2 '12 at 22:22
Have a look at Keep chapter number of chapters inserted with \include which also takes care about page numbers. You need to recompile the document and set the chapter you want with \includeonly. There is no automated process yet, but just last week when I submitted my thesis I thought about writing a package for this. – Martin Scharrer May 4 '12 at 20:28
up vote 1 down vote accepted

If you want just one compile (not multiple compiles with \includeonly for one child at a time) consider extracting from the full pdf. One of these might work for you: http://www.bloovis.com/wordpress/?p=241, http://www.angusj.com/pdftkb/#pdftkbuilder, http://multivalent.sourceforge.net/Tools/pdf/Split.html

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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