ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Index bug
@ 2006-01-12 13:21 Richard Gabriel
  0 siblings, 0 replies; only message in thread
From: Richard Gabriel @ 2006-01-12 13:21 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 650 bytes --]

Hello ConTeXters, 

I've noticed the following strange behavior of the index: 
If an indexterm occurs twice (or more times) on the same page in different section levels, it will be also linked twice from the index.

Try the following minimal example:
---
\setupoutput[pdftex]

\starttext
\chapter{First Chapter}
Some text...\index{word}

\section {First Section}
Some text...\index{word}
Some text...\index{another word}
Some text...\index{another word}

\page[yes]
\completeindex

\stoptext
---

In the Index, you will get:

a
another word 1

w
word 1,1

Does anybody guess? Or is it really a bug?

Thanks,
Richard

[-- Attachment #1.2: Type: text/html, Size: 978 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

only message in thread, other threads:[~2006-01-12 13:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-12 13:21 Index bug Richard Gabriel

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