From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19417 Path: news.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: Re: Urgent index problem Date: Tue, 29 Mar 2005 08:20:58 +0100 Message-ID: <424901DA.6070400@capdm.com> References: <20050328194852.C549A12863@ronja.ntg.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112080896 11169 80.91.229.2 (29 Mar 2005 07:21:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2005 07:21:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 29 09:21:30 2005 Return-path: 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 1DGB1b-0006JN-A7 for gctc-ntg-context-518@m.gmane.org; Tue, 29 Mar 2005 09:20:31 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 29A7E127E9; Tue, 29 Mar 2005 09:21:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32037-06; Tue, 29 Mar 2005 09:21:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 33F25127D0; Tue, 29 Mar 2005 09:21:15 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9C049127D0 for ; Tue, 29 Mar 2005 09:21:12 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32186-03 for ; Tue, 29 Mar 2005 09:21:10 +0200 (CEST) Original-Received: from liszt-09.ednet.co.uk (liszt-09.ednet.co.uk [212.20.226.21]) by ronja.ntg.nl (Postfix) with ESMTP id 2F206127B9 for ; Tue, 29 Mar 2005 09:21:10 +0200 (CEST) Original-Received: from [192.168.254.41] (unknown [212.20.255.162]) by liszt-09.ednet.co.uk (Postfix) with ESMTP id 02CA5225D93 for ; Tue, 29 Mar 2005 08:21:10 +0100 (BST) User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: <20050328194852.C549A12863@ronja.ntg.nl> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: by 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19417 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19417 I wrote: > -- > \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 > -- I realise that there is a workaround for the sample above, using the literal ASCII string in [] which makes this specific example work. Unfortunately this doesn't make everything work correctly in a larger document. I'm now seeing two other specific behaviours as well: 1. When there is a range and a single entry, the range is sometimes listed first in the index, even if the single entry is many pages before it - i.e. 282-283, 170 2. On other occasions where a range and a single entry exist, I end up having a strange three-way range in the index - like 282-283-349. The last reference should be just a single one on its own. It's really difficult to post a minimal file for these because they only occur when the whole text is processed (several hundred pages). I have just synchronised my tree this morning and no difference is made. Any help, especially today, VERY gratefully received. Duncan