ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Culleton <john@wexfordpress.com>
Subject: Re: Index questions
Date: Fri, 21 Feb 2003 14:02:28 +0000	[thread overview]
Message-ID: <200302211402.28191.john@wexfordpress.com> (raw)
In-Reply-To: <9093373E-42A6-11D7-A164-0003935A7A70@idaccr.org>

On Monday 17 February 2003 18:35, Miller Maley wrote:
> I have some questions about the index (register) facility in ConTeXt.
>
> 1) I like that ConTeXt automatically breaks the index into portions
> by first letter, but how do I change the style of the subhead that
> says 'a', 'b', or whatever?  Among other things, I would like these
> little subheads to be uppercase.
>
> 2) Sometimes a topic is referenced at two nearby places in the text.
> If these places fall on separate pages, I would like the index to
> mention both of them.  If they fall on the same page, however, the
> index entry is duplicated.  I expected texutil to remove duplicate
> index entries when sorting.  Is it supposed to?  (This is not a major
> problem; I can work around it.)
>
> 3) Likewise (this is a suggestion rather than a question) it would be
> nice if ConTeXt automatically transformed a sequence of 3 or more
> consecutive index entries (such as 10, 11, 12) into a page range
> (10-12).  I realize there is a facility (\startindex...\stopindex) to
> get these page ranges manually, so again this is not a major issue.
>
> 4) If I have the command \seeindex{foo}{bar} and also \index{foo} on
> page 17, it would be nice if the index could say
>
> foo 17
>     see also bar
>
> rather than just "see bar".  Is there a way to get this behavior?
>
> -- Miller Maley
All these features are available in either Makeindex or Xindy.
Context hasn't got that far yet. I include the index.tex file from the
Texsis distribution and follow that package's conventions. 

With Makeindex there is a parameter file that sets up the output
formatting. 

See my previous post on this subject. 
-- 
John Culleton
Books are cheaper than mistakes.
See http://wexfordpress.com/tex/pub.pdf
for reviews of excellent publishing books.

  reply	other threads:[~2003-02-21 14:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-17 18:35 Miller Maley
2003-02-21 14:02 ` John Culleton [this message]
2003-03-05 14:37   ` Michal Kvasnicka
2003-03-06 22:33     ` Hans Hagen
2003-03-05 14:50   ` Michal Kvasnicka

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=200302211402.28191.john@wexfordpress.com \
    --to=john@wexfordpress.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).