Re: [NTG-context] Structure: multi-volume products

2022-12-18 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 06:57:44 -0700
Alan Braslau via ntg-context  wrote:

> On Fri, 16 Dec 2022 09:08:47 +
>  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.
___
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
___


Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
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-renault-edith/whispering-of-inscriptions-south-indian-epigraphy-and-art-history


Best, Richard


-- 
T +6433121699  M +64210640216
rmaho...@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 
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users 
Cc: Alan Braslau 
Subject: [NTG-context] Structure: multi-volume products
Date: Thu, 15 Dec 2022 20:23:36 -0700
Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
X-Spam-Score: 0.0

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
__
_

% master000.tex – ConTeXt MkIV Module

\startproduct master000

\project iebpmonographs

\environment ieb-c-layout-000

\environment monograph-local-layout

\usemodule[statistical-charts]

% \enabletrackers[typesetters.suspects]

% \showbodyfont

% \showbodyfontenvironment

\useexternaldocument[m001][master001][Whispering of Inscriptions,
Vol.~{\sc ii}]


\startfrontmatter

\component tlpg000

{

\setupheadtext[content=Contents of Vol.~i.]

\setupheadertexts[Contents of
Vol.~i.][pagenumber][pagenumber][Contents of Vol.~i.]

\noheaderandfooterlines

\completecontent

\PY

\PB

}

{

\setupheadtext[tables=Tables of Vol.~i.]

\setupheadertexts[Tables of Vol.~i.][pagenumber][pagenumber][Tables
of Vol.~i.]

\noheaderandfooterlines

\completelistoftables

\PY

\PB

}

{

\setupheadtext[figures=Figures of Vol.~i.]

\setupheadertexts[Figures of Vol.~i.][pagenumber][pagenumber][Figures
of Vol.~i.]

\noheaderandfooterlines

\completelistoffigures

\PY

}

\component ackn % A. Murugaiyan & E. Parlier-Renault

\component pref % A. Murugaiyan & E. Parlier-Renault

\component intr % Y. Subbarayalu

\stopfrontmatter


\startbodymatter

\setcounter[userpage][1]

\component chp02 % Y. Subbarayalu

\component chp01 % V. Gillet

\component chp03 % G. Vijayavenugopal

\component chp04 % E. Francis

\component chp05 % N. Athiyaman

\component chp06 % V. Selvakumar

\component chp07 % S. Rajavelu

\component chp08 % A. Murugaiyan

\component chp09 % S. Brocquet

\stopbodymatter


% \startbackmatter

% \component indx

% \stopbackmatter


\stopproduct
% master001.tex – ConTeXt MkIV Module

\startproduct master001

\project iebpmonographs

\environment ieb-c-layout-001

\environment monograph-local-layout

% \enabletrackers[typesetters.suspects]

% \showbodyfont

% \showbodyfontenvironment

\useexternaldocument[m000][master000][Whispering of Inscriptions,
Vol.~{\sc i}]


\startfrontmatter

\component tlpg001

{

\setupheadtext[content=Contents of Vol.~ii.]

\setupheadertexts[Contents of
Vol.~ii.][pagenumber][pagenumber][Contents of Vol.~ii.]

\noheaderandfooterlines

\completecontent

\PY

\PB

}

{

\setupheadtext[tables=Tables of Vol.~ii.]

\setupheadertexts[Tables of Vol.~ii.][pagenumber][pagenumber][Tables
of Vol.~ii.]

\noheaderandfooterlines

\completelistoftables

\PY

\PB

}

{

\setupheadtext[figures=Figures of Vol.~ii.]

\setupheadertexts[Figures of
Vol.~ii.][pagenumber][pagenumber][Figures of Vol.~ii.]

\noheaderandfooterlines

\completelistoffigures

\PY

}

\stopfrontmatter


\startbodymatter

\setcounter[userpage][1]

\component chp10 % P. Estienne

\component chp11 % V. Renganathan

\component chp12 % C. Schmid

\component chp13 % K. Rajan

\component chp14 % A. Davrinche

\component chp15 % M. Le Sauce-Carnis

\component chp16 % V. Olivier

\component chp17 % K. Ladrech

\component chp18 % E. Parlier-Renault


Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 22:31:59 +1300
Richard Mahoney | Indica et Buddhica 
wrote:

> 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-renault-edith/whispering-of-inscriptions-south-indian-epigraphy-and-art-history
> 
> 
> 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
___
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
___


Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
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 +

> mailto:denis.ma...@unibe.ch>> wrote:

>

> > What was his approach? Did he probably send it off-list?

> >

> It was sent on the list:

>

> To: ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>

> Subject: Re: [NTG-context] Structure: multi-volume products

> Date: Fri, 16 Dec 2022 22:31:59 +1300

>

> 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
___


Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 13:59:20 +
 wrote:

> What was his approach? Did he probably send it off-list?
> 
It was sent on the list:

To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Structure: multi-volume products
Date: Fri, 16 Dec 2022 22:31:59 +1300

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
___


Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread 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 
wrote:

> 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-renault-edith/whispering-of-inscriptions-south-indian-epigraphy-and-art-history
> 
> 
> Best, Richard

___
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
___


Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
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 +
>  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! ;-)
___
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
___


Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 09:08:47 +
 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! ;-)
___
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
___


Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
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
> 
> ___
___
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
___