From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74857 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context Subject: is it possible to have first and last line numbers from page? Date: Sun, 04 Mar 2012 11:20:48 +0100 Message-ID: <4F534200.3040003@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1330856477 4875 80.91.229.3 (4 Mar 2012 10:21:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2012 10:21:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 04 11:21:16 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S48Z1-0001xJ-UY for gctc-ntg-context-518@m.gmane.org; Sun, 04 Mar 2012 11:21:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 555BCCB29B; Sun, 4 Mar 2012 11:21:14 +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 n2FesSKNkAv3; Sun, 4 Mar 2012 11:21:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0F0A2CB292; Sun, 4 Mar 2012 11:21:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE725CB292 for ; Sun, 4 Mar 2012 11:21:09 +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 PBZja0xIFCzp for ; Sun, 4 Mar 2012 11:20:57 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 36ECACB291 for ; Sun, 4 Mar 2012 11:20:57 +0100 (CET) Original-Received: from fmmailgate05.web.de (fmmailgate05.web.de [217.72.192.243]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q24AKuff031974 for ; Sun, 4 Mar 2012 11:20:56 +0100 Original-Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate05.web.de (Postfix) with ESMTP id E1B1D6AD3BE0 for ; Sun, 4 Mar 2012 11:20:55 +0100 (CET) Original-Received: from [192.168.1.33] ([83.52.101.108]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LiCbT-1Sh69c2c8x-00nPVe; Sun, 04 Mar 2012 11:20:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 X-Provags-ID: V02:K0:4iw7A3GRtWPmDBuwA9EyXLlyYElVHDWLLPVVOJlhINY p+nKHNyigvTlvGyQTinhSp+tz6BZOStCCRC9ZWqEyxiaiE9iNk PLG70z2y82BpYxKNai7nP8eTVo5+SNOPLh8fak91CoO0tyg77K j6ARByjXrkDVeOXRl/PR4nv7hdaWLnBUaaXx7BY1DoUxbFW66h zJEDtHE67Js7RUZvSXCEg== X-Bayes-Prob: 0.0081 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.72.192.243; 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: 07GFmkUHT - 0a85c5bcb1da - 20120304 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:74857 Archived-At: I have asked this question before (more than twice), after I found no answer in the ConTeXt reference manual, the wiki or the mailing list. I wanted to be able to have in the headers the first and last line number from page. This feature is extremely useful when typesetting some kinds of poetry. The most basic sample would be: \starttext \startlinenumbering \dorecurse{10}{\input zapf\par\input knuth} \stoplinenumbering \stoptext Is that possible to achieve with ConTeXt? Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________