From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65877 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: (again) wrong page with \finishregisterentry Date: Tue, 8 Feb 2011 11:29:37 +0100 Message-ID: <0E030DC6-BF9F-4CC2-B25E-C166FE847BF5@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297161004 29358 80.91.229.12 (8 Feb 2011 10:30:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Feb 2011 10:30:04 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 08 11:30:00 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pmkpb-0001NR-NN for gctc-ntg-context-518@m.gmane.org; Tue, 08 Feb 2011 11:29:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A982ECA9D5; Tue, 8 Feb 2011 11:29:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xgVLGs6Wj-mU; Tue, 8 Feb 2011 11:29:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB8E3CA9C1; Tue, 8 Feb 2011 11:29:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B061CA9C1 for ; Tue, 8 Feb 2011 11:29:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SeS2i5S-OgKc for ; Tue, 8 Feb 2011 11:29:40 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 13612CA983 for ; Tue, 8 Feb 2011 11:29:40 +0100 (CET) Original-Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.25]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p18A4b9Y019666 for ; Tue, 8 Feb 2011 11:04:38 +0100 Original-Received: from [89.247.37.27] (helo=[192.168.1.4]) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1PmkpG-00079y-6Z; Tue, 08 Feb 2011 11:29:38 +0100 X-Mailer: Apple Mail (2.1082) X-Df-Sender: 698580 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.67.31.25; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aE5m4Bnx - 1768c648cc45 - 20110208 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:65877 Archived-At: Hi, when \finishregisterentry is set within a paragraph then the "lastrealpage" gets the value from the page where this respective parapgraph starts. (In the example below it is 4 instead of 5.) That is quite sad when you have long paragraphs. How can I set a register range telling me lastrealpage is exactly the page where the ending mark is set? Attached you may find a minimal example. Best, Steffen ------- \starttext \switchtobodyfont[50pt] \input tufte \par \setregisterentry[index][label={Index_Label}]% Test\dorecurse{5}{This is are words, not paragraphs. }\finishregisterentry[index][label={Index_Label},entries={Index entry}] Test \stoptext ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________