From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19410 Path: news.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: Urgent index problem Date: Mon, 28 Mar 2005 17:20:54 +0100 Message-ID: <42482EE6.301@capdm.com> 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 1112026860 10660 80.91.229.2 (28 Mar 2005 16:21:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2005 16:21:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 28 18:20:57 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 1DFwyZ-0005f8-5m for gctc-ntg-context-518@m.gmane.org; Mon, 28 Mar 2005 18:20:27 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6973B1283B; Mon, 28 Mar 2005 18:21:11 +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 24913-02-3; Mon, 28 Mar 2005 18:21:08 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 546AB127F8; Mon, 28 Mar 2005 18:21:08 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C5A39127F8 for ; Mon, 28 Mar 2005 18:21:06 +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 24913-02-2 for ; Mon, 28 Mar 2005 18:21:06 +0200 (CEST) Original-Received: from liszt-11.ednet.co.uk (liszt-11.ednet.co.uk [212.20.226.53]) by ronja.ntg.nl (Postfix) with ESMTP id 12CC51278E for ; Mon, 28 Mar 2005 18:21:06 +0200 (CEST) Original-Received: from [192.168.254.41] (unknown [212.20.255.162]) by liszt-11.ednet.co.uk (Postfix) with ESMTP id DB567255B18 for ; Mon, 28 Mar 2005 17:21:05 +0100 (BST) User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: ConTeXt List 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:19410 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19410 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