ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Questions on registers, and on processors used with registers
@ 2015-10-05  3:24 Rik Kabel
  0 siblings, 0 replies; only message in thread
From: Rik Kabel @ 2015-10-05  3:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-05  3:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-05  3:24 Questions on registers, and on processors used with registers Rik Kabel

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).