ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Index confusion with first entry
@ 2020-08-18 12:18 Henning Hraban Ramm
  0 siblings, 0 replies; only message in thread
From: Henning Hraban Ramm @ 2020-08-18 12:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi, my index of locations shows a strange problem:

Hamburg 6, 12, 14, 24–25, 27, 31, 33, 35, 44, 46, 48, 57, 59, 64, 75, 79, 81, 93–94, 96, 102, 104–105, 108–110, 112, 116–118, 120, 121–125, 6, 126–135, 6, 137– 147, 149, 151–159, 161, 165, 168, 169–171, 174, 176, 178, 182, 207, 209, 211, 215–216, 219–220, 224, 240, 242–244, 291

Page 6 is mentioned two times out of order. The problem doesn’t show at other locations.

The first index entry (p.6) is made by \startregister[locations][test]{Someplace}, second is Hamburg (single entry).
If I replace Hamburg with another town, the problem moves.
If I move the Hamburg entry in front of \startregister, it disappears!

I.e. if the first index entry is set by \startregister, the subsequent entry gets confused.

I tried to come up with a MWE, but couldn’t reproduce the problem in a simple example like

\starttext

\placeregister[index][criterium=all]

\startregister[index][test]{Knuth}
  \input tufte
  \index{Donald}
  \page
  \input knuth
  \index{Donald}
  \page
\stopregister[index][test]

\input darwin
\page

\dorecurse{5}{
\input knuth
\index{Knuth}\index{Donald}
\page
}

\stoptext


Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

only message in thread, other threads:[~2020-08-18 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18 12:18 Index confusion with first entry Henning Hraban Ramm

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