From: Sanjoy Mahajan <sanjoy@MIT.EDU>
To: ntg-context@ntg.nl
Cc: Patrick Gundlach <patrick@gundla.ch>
Subject: startregister produces strange page range ("1-2-3")
Date: Mon, 20 Apr 2009 21:12:23 -0400 [thread overview]
Message-ID: <E1Lw4X9-0006Fs-Hx@approx.mit.edu> (raw)
With the following minimal file, the index entry for Knuth has the
strange page range "1-2-3" rather than "1-2, 2-3". Adding \input knuth
a few times in between the two start..stopregister stanzas gives a
correct page range (so maybe that change hides the problem).
I'm using ConTeXt 2008.10.31 (Mk II) from the Debian unstable packages.
The live context (2009.03.06) produces a blank index with the pdftex
engine, so I'm CC'ing Patrick in case that problem is separate.
\starttext
\startregister[index][Knuth]{Knuth}
\dorecurse{5}{\input knuth }
\stopregister[index][Knuth]
\startregister[index][Knuth2]{Knuth}
\dorecurse{5}{\input knuth }
\stopregister[index][Knuth2]
\completeindex
\stoptext
-Sanjoy
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2009-04-21 1:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-21 1:12 Sanjoy Mahajan [this message]
2009-04-21 19:18 ` Patrick Gundlach
2009-04-28 20:09 ` Patrick Gundlach
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=E1Lw4X9-0006Fs-Hx@approx.mit.edu \
--to=sanjoy@mit.edu \
--cc=ntg-context@ntg.nl \
--cc=patrick@gundla.ch \
/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).