From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25112 Path: news.gmane.org!not-for-mail From: Richard Gabriel Newsgroups: gmane.comp.tex.context Subject: Index bug Date: Thu, 12 Jan 2006 14:21:51 +0100 Message-ID: <20060112132151.885262d5@mx1.kerio.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0844661874==" X-Trace: sea.gmane.org 1137072146 21570 80.91.229.2 (12 Jan 2006 13:22:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jan 2006 13:22:26 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 12 14:22:23 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ex2Ov-0002cv-2H for gctc-ntg-context-518@m.gmane.org; Thu, 12 Jan 2006 14:22:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 75BF7127D2; Thu, 12 Jan 2006 14:21:59 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15660-07; Thu, 12 Jan 2006 14:21:56 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D9DC127BB; Thu, 12 Jan 2006 14:21:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3063A127BB for ; Thu, 12 Jan 2006 14:21:55 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15815-03 for ; Thu, 12 Jan 2006 14:21:54 +0100 (CET) Original-Received: from mx1.kerio.com (mx1.kerio.com [195.39.55.2]) by ronja.ntg.nl (Postfix) with SMTP id 3BA30127B8 for ; Thu, 12 Jan 2006 14:21:53 +0100 (CET) Original-Received: from 192.168.44.100 ([192.168.44.100]) by mx1.kerio.com for ntg-context@ntg.nl; Thu, 12 Jan 2006 14:21:51 +0100 Original-To: ntg-context@ntg.nl X-Mailer: Kerio MailServer 6.1.2 WebMail X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25112 Archived-At: This is a multi-part message in MIME format. --===============0844661874== Content-Type: multipart/alternative; boundary="----------peace-on-earth-2df82793e84594f6499fc3c0ca05198f" This is a multi-part message in MIME format. ------------peace-on-earth-2df82793e84594f6499fc3c0ca05198f Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello ConTeXters,=20 I've noticed the following strange behavior of the index:=20 If an indexterm occurs twice (or more times) on the same page in differe= nt 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=3F Or is it really a bug=3F Thanks, Richard ------------peace-on-earth-2df82793e84594f6499fc3c0ca05198f Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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...\in= dex{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=3F Or is it really a bug=3F

Thanks,
Ric= hard


------------peace-on-earth-2df82793e84594f6499fc3c0ca05198f-- --===============0844661874== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0844661874==--