On 3/6/2021 1:56 PM, Pablo Rodriguez wrote:
On 3/5/21 11:13 PM, Hans Hagen wrote:
On 3/5/2021 10:38 PM, denis.maier@ub.unibe.ch wrote:
Thanks for this as well, Hans. Looks promising. So, this is to select pages or page-ranges for processing? assuming that you have either marked pages or proper refs for chapters you can use the reported values and feed them into whatever
i could add something to the select style but i guess then there is no uniformity in how users do this
Many thanks for the new stuff, Hans.
This could be an approach:
\starttext \completecontent \dorecurse{10} {\startchapter\markpage[start-\recurselevel] \dorecurse{\randomnumber{0}{1000}} {\input knuth\par} \markpage[stop-\recurselevel]\stopchapter} \stoptext
"start-" and "stop-" could define page ranges when the same identifier is used.
The select style could generate from start-identifier and stop-identifier, the result "identifier.pdf". \startchapter[reference=whatever,title=foo] \stopchapter \startchapter[reference=moreover,title=oof] \stopchapter
and --pages=whatever,moreover will give you the info you need to call context --extra=copy or whatever with the right arguments ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------