ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik <rik@panix.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Register customization for backmatter page numbers
Date: Fri, 31 Jul 2015 22:20:46 -0400	[thread overview]
Message-ID: <55BC2CFE.9020200@panix.com> (raw)

List,

I have a book with frontmatter, bodymatter, and backmatter. The 
frontmatter is pagenumbered with lc roman, and the bodymatter and 
backmatter are numbered, all by block.

The backmatter contain a glossary, pagenotes, bibliography, and an 
index. In addition to the frontmatter and the bodymatter, both the 
glossary and the pagenotes contain items that are indexed.

I need to distinguish pagenumbers that appear in the index so that the 
reader can identify where in the book the page is located. For the 
frontmatter, that is not a problem. For items that appear in the 
bodymatter or backmatter, however, page numbers are not unique.

One method that has been suggested is to prefix the pagenumber displayed 
in the index with a mark to indicate that the page is in the backmatter, 
or to italicize it, or to use an alternate font. I have looked at the 
defineconversionset and defineprocessor documentation and find no way to 
mark index entries appropriately.

Can anyone suggest a way to do this, or some other method? Perhaps a 
pagecommand that compares the register item real page number to the 
highest real page number of the body? I would prefer a solution that 
does not require changing the register commands (\index) in the text.

Continuous numbering across the frontmatter, bodymatter, and backmatter 
is not wanted, although as a last resort I might be able to argue for 
continuous numbering in the bodymatter and backmatter.

-- 
Rik Kabel


___________________________________________________________________________________
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-08-01  2:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-01  2:20 Rik [this message]
2015-08-01 17:54 ` Pablo Rodriguez
2015-08-01 18:42   ` Solved, was " Rik Kabel
2015-08-02  1:28     ` Rik Kabel

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=55BC2CFE.9020200@panix.com \
    --to=rik@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).