I use pdflatex to generate my documents. I want to create a preview of my document and generate only the first 10 pages, but I still want the full table of contents. How do I do that?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
Thanks to Heiko Oberdiek. Remember, though, that references and table of contents will be incomplete. An alternative way is to compile the whole document and load its first ten pages in another one via |
|||||||||||||||||
|
|
Split the concerned pages with PDFtk to a new document. With PDFtk Builder there is a GUI for Wind0ws. |
|||||||||||||
|
\includeonlywhich is invoked in the preamble to activate only one inclusion but the whole indexing and cross referencing still work? – xport Jun 5 '11 at 15:10\includeonlybut the first 10 pages end in the middle of chapter two, which is where I want to stop. – Peteris Krumins Jun 5 '11 at 15:20