General ⇒ Compile Document into several PDF Files
Compile Document into several PDF Files
I have a document in which each "section" is an interview transcript. I want to send each interview transcript to the interviewee. I know I can cut the PDF with other tools, or create new documents, but it's not the issue.
Is it possible (and how to do that?) to compile a latex document in several PDF files (a PDF document for each section)?
I mostly use PDFLaTeX to compile my source to PDF, but I don't know if it can do that.
Best regards and many thanks,
O.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Compile Document into several PDF Files
- Split the input by putting every section into a separate file and include them with
\include
. Select the section you want to compile with\includeonly
. - Use the pagesel package (from the oberdiek bundle) to compile only selected pages.
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Compile Document into several PDF Files
looks easy!
Finaly, I used the \input command and separated my original text in several parts.