ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Urgent index problem
@ 2005-03-28 16:20 Duncan Hothersall
  0 siblings, 0 replies; 2+ messages in thread
From: Duncan Hothersall @ 2005-03-28 16:20 UTC (permalink / raw)


I am one night from a deadline and I have just noticed that my index is 
silently ignoring some entries... Help!!

The following demonstrates the problem (tested on live.contextgarden.net):

--
\starttext
\startregister[index]{this term+in+particular} This term is discussed 
from the start of this page.\page[yes]
Some more text about the term, and another page.\page[yes]
And the end of the info about that term. \stopregister[index]{this 
term+in+particular}\page[yes]
A page unrelated to that term.\page[yes]
\index{this term+in+particular} And then another page on exactly the 
same term.\page[yes]
\placeindex\page[yes]
Disaster! The entry on page 5 has been eaten!
\stoptext
--

So we have the same terms referenced as a span over pages 1 to 3, and as 
a single entry on page 5. But only the span appears, not the second 
entry! The .tuo file contains:

\registerentry{index}{t}
\registerentrya{index}{this term}
\registerentryb{index}{in}
\registerentryc{index}{particular}
\registerfrom{index}{,}{1}{2::0:0:0:0:0:0:0::1}{1}
\registerpage{index}{,}{3}{2::0:0:0:0:0:0:0::5}{5}
\registerto{index}{,}{2}{2::0:0:0:0:0:0:0::3}{3}

so it looks like the sorting of these by page numbers has broken, and 
ConTeXt thinks that page 5 is between pages 1 and 3.

I hope someone can help...

Duncan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-29  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050328194852.C549A12863@ronja.ntg.nl>
2005-03-29  7:20 ` Urgent index problem Duncan Hothersall
2005-03-28 16:20 Duncan Hothersall

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