ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to create multiple PDFs from one TeX file?
       [not found] <484672734.1654434.1643467636028.ref@mail.yahoo.com>
@ 2022-01-29 14:47 ` Joel via ntg-context
  2022-01-29 17:48   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2022-01-29 14:47 UTC (permalink / raw)
  To: ntg-context; +Cc: Joel


[-- Attachment #1.1: Type: text/plain, Size: 643 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1173 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to create multiple PDFs from one TeX file?
  2022-01-29 14:47 ` How to create multiple PDFs from one TeX file? Joel via ntg-context
@ 2022-01-29 17:48   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-29 17:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-29 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <484672734.1654434.1643467636028.ref@mail.yahoo.com>
2022-01-29 14:47 ` How to create multiple PDFs from one TeX file? Joel via ntg-context
2022-01-29 17:48   ` Hans Hagen via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).