[NTG-context] How to create multiple PDFs from one TeX file?

Hans Hagen j.hagen at xs4all.nl
Sat Jan 29 18:48:29 CET 2022


On 1/29/2022 3:47 PM, Joel via ntg-context wrote:
> I have several books in a set that have many things I'd like to have 
> linked together, such as page references, shared indexes, shared 
> glossaries, etc.
> 
> One solution I see is putting all the files together, then using a tool 
> like pdfjam to seperate the pages later, but I'm wondering if ConTeXt 
> can already produce multiple files, or a split in the PDF, already?
> 
> I tried this code below, as I hoped it would create two PDFs, but it 
> only rendered everything between the first set of `\starttext` and 
> `\stoptext`.
> 
> --Joel
> 
> Minimum example:
> 
> \starttext
> 
> This is document 1.
> 
> \input knuth
> 
> \stoptext
> 
> \starttext
> 
> This is document 2.
> 
> \input knuth
> 
> \stoptext
context --extras select

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list