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

2022-01-29 Thread Hans Hagen via ntg-context

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
___


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

2022-01-29 Thread Joel via ntg-context
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
___
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
___