From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85336 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: (critical edition) counter range in page Date: Tue, 19 Nov 2013 19:09:48 +0100 Message-ID: <528BA96C.3090501@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384884593 30812 80.91.229.3 (19 Nov 2013 18:09:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2013 18:09:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 19 19:10:00 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VipkL-0002RZ-OM for gctc-ntg-context-518@m.gmane.org; Tue, 19 Nov 2013 19:09:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E1A4010208; Tue, 19 Nov 2013 19:09: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 6NBYKJWVmznT; Tue, 19 Nov 2013 19:09:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 198D9101EF; Tue, 19 Nov 2013 19:09:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 05B16101F7 for ; Tue, 19 Nov 2013 19:09:53 +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 Y4rEhdoSkmDh for ; Tue, 19 Nov 2013 19:09:51 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 5086E101EA for ; Tue, 19 Nov 2013 19:09:51 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAJI9oA2012091 for ; Tue, 19 Nov 2013 19:09:50 +0100 Original-Received: from localhost.localdomain ([83.43.220.80]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0M24ap-1VO8MX14aB-00u1B0 for ; Tue, 19 Nov 2013 19:09:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 X-Provags-ID: V03:K0:pyazl4NGdPMaUDqjECEf/zTpMsnF1/M/AJzfhRUCCBnrne9a0kf u6wgjq09s/4XltGwO0YPaZjJqWwOxkgdjTWpRBhiZzbBd76lro1zMajFu/Be/LjNGbZMf9a l3ob5O7rAhiToTw8CMdKrZjgtXw61eBu5E9UrZ8p+y1hay8jNE3LViK01K8ZejWGst5hoD1 cED6pk2fklyoXhfucsCMA== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.22; 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: 0QKPu9OA7 - f3dcb86c95e0 - 20131119 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85336 Archived-At: Hi Thomas, after thinking about the issue I wrote in my last message, I guess that implementing a general method with any counter could be better. I mean, implement three commands that could be applied to any counter: \getrangeinpage: first--last counter in page. \getfirstinpage: first counter in page. \getlastinpage: last counter in page. With first in page, as I wrote in my previous message, I don=92t mean the first that happens in page, if the page doesn=92t begin with it, but the last opened in previous page.. To be able to get the first in page and last in page is important in cases where works are divided in books and chapters. Information in headers should contain both. I think that the general method is a better approach (although I know that margin data aren=92t counters [maybe this should be implemented in a different way]). I hope it helps, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________