From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65652 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: wrong page with \finishregisterentry Date: Sun, 30 Jan 2011 18:56:51 +0100 Message-ID: <2799541E-6E18-4469-B493-051FE52934C6@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 1296410225 27450 80.91.229.12 (30 Jan 2011 17:57:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 30 Jan 2011 17:57:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 30 18:57:01 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 1PjbWG-0001A6-Ii for gctc-ntg-context-518@m.gmane.org; Sun, 30 Jan 2011 18:57:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F09BCCA95B; Sun, 30 Jan 2011 18:56:59 +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 178Q9-gVL18R; Sun, 30 Jan 2011 18:56:57 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 44D0ACA947; Sun, 30 Jan 2011 18:56:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62D91CA947 for ; Sun, 30 Jan 2011 18:56:56 +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 BHacR1Ggek+O for ; Sun, 30 Jan 2011 18:56:54 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 5A45ACA676 for ; Sun, 30 Jan 2011 18:56:54 +0100 (CET) Original-Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.7]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0UHurv3012417 for ; Sun, 30 Jan 2011 18:56:53 +0100 Original-Received: from [89.247.41.140] (helo=[192.168.1.4]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1PjbW8-0001Mi-Ry for ntg-context@ntg.nl; Sun, 30 Jan 2011 18:56:52 +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.29.7; 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: 0dE1RURRR - 025722d8f753 - 20110130 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:65652 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 ___________________________________________________________________________________