From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: Write to tuc file
Date: Sat, 6 Mar 2021 13:56:31 +0100 [thread overview]
Message-ID: <d3264d3c-72be-3e2a-de4f-671474b090aa@gmx.es> (raw)
In-Reply-To: <78543324-b6dd-47b2-c7cb-04acc4dd02ae@xs4all.nl>
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".
I think this is a simple approach.
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-03-06 12:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-27 16:58 denis.maier
2021-02-27 17:22 ` Hans Hagen
2021-02-27 17:28 ` denis.maier
2021-02-27 18:26 ` Hans Hagen
2021-02-27 21:25 ` denis.maier
2021-02-28 8:07 ` denis.maier
2021-03-05 10:29 ` Hans Hagen
2021-03-05 21:38 ` denis.maier
2021-03-05 22:13 ` Hans Hagen
2021-03-06 12:56 ` Pablo Rodriguez [this message]
2021-03-06 13:35 ` Hans Hagen
2021-03-07 10:04 ` Pablo Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3264d3c-72be-3e2a-de4f-671474b090aa@gmx.es \
--to=oinos@gmx.es \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).