[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUCTeX to compile each \include file to a separate file

From: kaykal
Subject: Re: AUCTeX to compile each \include file to a separate file
Date: Wed, 23 Nov 2022 15:49:14 +0000

On 23 Nov 2022, at 3:03, Colin Baxter wrote:

>>>>>> Arash Esbati <> writes:
>     >> Is there anyway to generate different PDF files for each included
>     >> file in master file with AUCTeX.
>     >>
>     >> More specifically, I have one master file called “master”, in
>     >> which, I have included two chapters: “chapter01” and “chapter02”.
>     >> I want AUCTeX (after appropriate number of runs) to generate one
>     >> PDF for the master file, one PDF for chapter01, one PDF for
>     >> chapter02 and (the bonus) one PDF for bibliography.
>     > I'm not sure how you plan to do that, but one solution comes to my
>     > mind is using \includeonly in the preamble and control the output
>     > with it.
>     > See here for details:
>     >
>     > Best, Arash

Thank you Arash.  Ideally, I am looking for a way to generate individual pdf 
files (4 in the example above) with one command with AUCTeX.

> \includeonly and use refsection to make bibliographies per chapter. See
> this stackexchange question:
> If individual chapter biographies are not necessary then why not use
> something like PDFtk to split the master pdf into chapter pdfs?

That is what I am doing right now, but I wanted to automate it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]