From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49666 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: startregister produces strange page range ("1-2-3") Date: Mon, 20 Apr 2009 21:12:23 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240276473 10571 80.91.229.12 (21 Apr 2009 01:14:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2009 01:14:33 +0000 (UTC) Cc: Patrick Gundlach To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 21 03:15:52 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1Lw4aT-0000jJ-Tg for gctc-ntg-context-518@m.gmane.org; Tue, 21 Apr 2009 03:15:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D7261FB30; Tue, 21 Apr 2009 03:14:14 +0200 (CEST) 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 19784-01; Tue, 21 Apr 2009 03:12:58 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E2921FAD7; Tue, 21 Apr 2009 03:12:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 343F11FAD7 for ; Tue, 21 Apr 2009 03:12:54 +0200 (CEST) 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 29228-07 for ; Tue, 21 Apr 2009 03:12:35 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id AE0FF1FA41 for ; Tue, 21 Apr 2009 03:12:34 +0200 (CEST) Original-Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3L1CV2D022948 for ; Tue, 21 Apr 2009 03:12:34 +0200 Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id n3L1CSGK018152; Mon, 20 Apr 2009 21:12:28 -0400 (EDT) Original-Received: from approx.mit.edu (pool-96-233-28-64.bstnma.east.verizon.net [96.233.28.64]) (authenticated bits=0) (User authenticated as sanjoy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id n3L1CQXa003197 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 20 Apr 2009 21:12:27 -0400 (EDT) Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.69) (envelope-from ) id 1Lw4X9-0006Fs-Hx; Mon, 20 Apr 2009 21:12:23 -0400 X-Mailer: MH-E 8.1; nmh 1.2; GNU Emacs 22.3.1 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Scanned-By: MIMEDefang 2.42 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=18.7.7.80; country=US; region=MA; city=Cambridge; postalcode=02139; latitude=42.3646; longitude=-71.1028; metrocode=506; areacode=617; http://maps.google.com/maps?q=42.3646,-71.1028&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 211592396 - 450774fe3709 - 20090421 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49666 Archived-At: With the following minimal file, the index entry for Knuth has the strange page range "1-2-3" rather than "1-2, 2-3". Adding \input knuth a few times in between the two start..stopregister stanzas gives a correct page range (so maybe that change hides the problem). I'm using ConTeXt 2008.10.31 (Mk II) from the Debian unstable packages. The live context (2009.03.06) produces a blank index with the pdftex engine, so I'm CC'ing Patrick in case that problem is separate. \starttext \startregister[index][Knuth]{Knuth} \dorecurse{5}{\input knuth } \stopregister[index][Knuth] \startregister[index][Knuth2]{Knuth} \dorecurse{5}{\input knuth } \stopregister[index][Knuth2] \completeindex \stoptext -Sanjoy ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________