From: Rik Kabel <context@rik.users.panix.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Questions on registers, and on processors used with registers
Date: Sun, 4 Oct 2015 23:24:40 -0400 [thread overview]
Message-ID: <5611ED78.8050304@rik.users.panix.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1458 bytes --]
A few questions on registers, and on processors used with registers:
Can processors be used on entries in \setregisterentry? My tests so far
have not been successful.
Can processors be used on one level of a two-level register
{\index{Name+Processor->quotation precis}? Again, no success with attempts.
Can something other than page numbers be the indexed item?
I have a book with many quotations, each identified by a number
(generated by \definelabel). For an index of quotations, it would be
more useful to point to that quotation number than the page number.
Perhaps the last requirement would be served by building a list with the
quote number and quotation precis, suppressing the page numbers with
pagenumber=\gobbleoneargument. But placelist does not seem to behave as
one would hope. The example in the wiki for setuplist (shown below) does
not print the numbers (1., 2.) in the first braced argument to writetolist.
\definelist[Reprints][criterium=all]
\starttext
\section{Sec 1}
\writetolist[Reprints]{1.}{List entry A}
\subsection{Subsec 1}
\writebetweenlist[Reprints]{\hrule}
\writetolist[Reprints]{2.}{List entry B}
\completelist[Reprints]
\stoptext
I would prefer a register solution to take advantage of similar
formatting (column support and such) provided there, since this will
appear with the book’s standard indices.
--
Rik
[-- Attachment #1.2: Type: text/html, Size: 1958 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2015-10-05 3:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5611ED78.8050304@rik.users.panix.com \
--to=context@rik.users.panix.com \
--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).