Generalseparate a document into several sub documents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Ardalan179
Posts: 2
Joined: Sun Jan 17, 2021 11:19 pm

separate a document into several sub documents

Post by Ardalan179 »

Hi, How can I separate a document into several sub documents to allocate each to a different person.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

separate a document into several sub documents

Post by Ijon Tichy »

Depends on your document. One suggestion could be to devide it chapter by chapter into separate files. Include this file to a main file with \include. Make as much runs as need for the complete document. Than add a \includeonly command with the filenames of only the chapters person A should get, make one LaTeX run, rename the PDF. Than change the \includeonly command to the filenames of the chapters for person B, make one LaTeX run, rename the PDF …

You could also use a PDF tool to split the PDF of the complete document into several parts.

There are lots of other approaches to either split a document or to organize code for a document that should be used both as one large and several small documents. There are even special solution for some kinds of documents, e.g., for exercises and solution. So if you need more information, please give us more information.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Ardalan179
Posts: 2
Joined: Sun Jan 17, 2021 11:19 pm

separate a document into several sub documents

Post by Ardalan179 »

Thank you very much, I appreciate your kind response
Post Reply