[NTG-context] Index bug

Richard Gabriel rgabriel at kerio.com
Thu Jan 12 14:21:51 CET 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20060112/39e23d3b/attachment.html


More information about the ntg-context mailing list