[NTG-context] Structure: multi-volume products
Alan Braslau
alan.braslau at icloud.com
Sun Dec 18 21:04:32 CET 2022
On Fri, 16 Dec 2022 06:57:44 -0700
Alan Braslau via ntg-context <ntg-context at ntg.nl> wrote:
> On Fri, 16 Dec 2022 09:08:47 +0000
> <denis.maier at unibe.ch> wrote:
>
> > Last time I had to do something like this I've kept both books in
> > one master file (actually one master file for part 1, one for part
> > 2, one for both together). With that I could easiliy have a table of
> > contents for both volumes.
>
> Thank you. This was my initial approach, although I know that ConTeXt
> can do better!
>
> I will look into the suggestion sent by Richard Mahoney, as it looks
> like a good solution to the problem.
In fact, Richard does NOT render the TOC of Volume 2 in Volume 1, nor
the TOC of Volume 1 in Volume 2, only the TOC of each volume,
respectively.
I have tried using
\useexternalfile [VolI] [Book_VolumeI] [{Volume I}]
(in Book_VolumeII.tex) to read in the Book_VolumeI.tuc
With this, I can indeed use
\from [VolI]
to add the file::Book_VolumeI.pdf hyperlink with the text "Volume I".
However, \in{Chapter} [VolI::ch:mychapterreference] gives no number
(but ?? does not get substituted and VolII::ch:mychapterreference does
NOT return a missing reference message in the Book_VolumeII.log file).
Alan
P.S.
Once that works, maybe I can figure out how to render the TOC.
I would expect/hope that
\placecontents [criterium=VolI::all]
would be the way to go.
More information about the ntg-context
mailing list