Hello, I have a book project that is being cut into two volumes (because it is too long and will be sold as a boxed set). Each volume is presently a separate *product* in the project structure. I presently set the counters in the second volume using: \setupheadnumber [part] [2] \setupheadnumber [chapter] [5] (I have multiple [5] parts in the project, and the first volume ends with part 2 and chapter 5.) 1) Is this the right way to be handling this? 2) Any suggestions on how I can put a Table of Contents for the first volume in the second volume? Thanks! Alan
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. I've made some experiments with writing stuff to the logs or tuc file (\writestatus{SPLITPOINT}{\the\realpageno}) at the end of part 1, which I then wanted to process with a script (e.g., read the page number, use pdftk to split the complete PDF at this point to get PDFs for the individual volumes). However, at the end I've just had to send the PDF containing both volumes to the publisher as they performed the splitting up themselves. Best, Denis
-----Ursprüngliche Nachricht----- Von: ntg-context
Im Auftrag von Alan Braslau via ntg-context Gesendet: Freitag, 16. Dezember 2022 04:24 An: mailing list for ConTeXt users Cc: Alan Braslau Betreff: [NTG-context] Structure: multi-volume products Hello,
I have a book project that is being cut into two volumes (because it is too long and will be sold as a boxed set).
Each volume is presently a separate *product* in the project structure. I presently set the counters in the second volume using:
\setupheadnumber [part] [2]
\setupheadnumber [chapter] [5]
(I have multiple [5] parts in the project, and the first volume ends with part 2 and chapter 5.)
1) Is this the right way to be handling this?
2) Any suggestions on how I can put a Table of Contents for the first volume in the second volume?
Thanks!
Alan ________________________________________________________________ ___________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg- context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ________________________________________________________________ ___________________
On Fri, 16 Dec 2022 09:08:47 +0000
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. Alan -- Alan Braslau 816 West Mountain Avenue Fort Collins, CO 80521 USA mobile: (970) 237-0957 Conserve energy! ;-)
What was his approach? Did he probably send it off-list?
-----Ursprüngliche Nachricht----- Von: Alan Braslau
Gesendet: Freitag, 16. Dezember 2022 14:58 An: Maier, Denis Christian (UB) Cc: ntg-context@ntg.nl Betreff: Re: [NTG-context] Structure: multi-volume products On Fri, 16 Dec 2022 09:08:47 +0000
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.
Alan
-- Alan Braslau 816 West Mountain Avenue Fort Collins, CO 80521 USA mobile: (970) 237-0957
Conserve energy! ;-)
Oh, that's bad. Because apparently it never came through : https://www.mail-archive.com/ntg-context@ntg.nl/msg103661.html (Maybe the two mentioned files are to large?)
-----Ursprüngliche Nachricht-----
Von: Alan Braslau
Gesendet: Freitag, 16. Dezember 2022 15:02
An: Maier, Denis Christian (UB)
Cc: ntg-context@ntg.nl
Betreff: Re: [NTG-context] Structure: multi-volume products
On Fri, 16 Dec 2022 13:59:20 +0000
mailto:denis.maier@unibe.ch> wrote:
What was his approach? Did he probably send it off-list?
It was sent on the list:
To: ntg-context@ntg.nlmailto:ntg-context@ntg.nl
Subject: Re: [NTG-context] Structure: multi-volume products
Date: Fri, 16 Dec 2022 22:31:59 +1300
Alan
On Fri, 16 Dec 2022 06:57:44 -0700
Alan Braslau via ntg-context
On Fri, 16 Dec 2022 09:08:47 +0000
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.
Alan,
I'm attaching the two master files used for the following (also ran
cross refs between
each vol.):
Murugaiyan, Appasamy & Parlier-Renault, Édith (2021) (Eds) Whispering
of Inscriptions:
South Indian Epigraphy and Art History: Papers from an International
Symposium in
memory of Professor Noboru Karashima (Paris, 12–13 October 2017).
Oxford: Indica et
Buddhica. (2 vols)
https://indica-et-buddhica.com/publications/murugaiyan-appasamy-parlier-rena...
Best, Richard
--
T +6433121699 M +64210640216
rmahoney@indica-et-buddhica.org
https://indica-et-buddhica.com/
Indica et Buddhica
Littledene Bay Road Oxford NZ
NZBN: 9429041761809
-----Original Message-----
From: Alan Braslau via ntg-context
Thank you,
This looks like a good solution!
I will try it later, as soon as I can.
Alan
On Fri, 16 Dec 2022 22:31:59 +1300
Richard Mahoney | Indica et Buddhica
Alan,
I'm attaching the two master files used for the following (also ran cross refs between each vol.):
Murugaiyan, Appasamy & Parlier-Renault, Édith (2021) (Eds) Whispering of Inscriptions: South Indian Epigraphy and Art History: Papers from an International Symposium in memory of Professor Noboru Karashima (Paris, 12–13 October 2017). Oxford: Indica et Buddhica. (2 vols)
https://indica-et-buddhica.com/publications/murugaiyan-appasamy-parlier-rena...
Best, Richard
On Fri, 16 Dec 2022 22:31:59 +1300
Richard Mahoney | Indica et Buddhica
Alan,
I'm attaching the two master files used for the following (also ran cross refs between each vol.):
Murugaiyan, Appasamy & Parlier-Renault, Édith (2021) (Eds) Whispering of Inscriptions: South Indian Epigraphy and Art History: Papers from an International Symposium in memory of Professor Noboru Karashima (Paris, 12–13 October 2017). Oxford: Indica et Buddhica. (2 vols)
https://indica-et-buddhica.com/publications/murugaiyan-appasamy-parlier-rena...
Best, Richard
Shared to the list, without the attached files. Based on the command: \useexternaldocument https://wiki.contextgarden.net/Command/useexternaldocument I'll make a solution Wiki page on the garden once I learn how this works. Alan
participants (3)
-
Alan Braslau
-
denis.maier@unibe.ch
-
Richard Mahoney | Indica et Buddhica