From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74922 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context Subject: Re: is it possible to have first and last line numbers from page? Date: Tue, 06 Mar 2012 18:33:07 +0100 Message-ID: <4F564A53.5070503@web.de> References: <4F534200.3040003@web.de> <7EE03A1D-A4BA-4AB1-BD98-7075F300C85D@googlemail.com> <4F535CCC.2030902@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1331055223 8637 80.91.229.3 (6 Mar 2012 17:33:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2012 17:33:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 06 18:33:43 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 1S4yGS-0004hR-SW for gctc-ntg-context-518@m.gmane.org; Tue, 06 Mar 2012 18:33:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 42F89CB2A5; Tue, 6 Mar 2012 18:33:32 +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 BDDYIMRWouMS; Tue, 6 Mar 2012 18:33:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16691CB272; Tue, 6 Mar 2012 18:33:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 78005CB272 for ; Tue, 6 Mar 2012 18:33:24 +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 SrYt8gSjcsZR for ; Tue, 6 Mar 2012 18:33:21 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id D663ECB259 for ; Tue, 6 Mar 2012 18:33:21 +0100 (CET) Original-Received: from fmmailgate07.web.de (fmmailgate07.web.de [217.72.192.248]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q26HboHJ030312 for ; Tue, 6 Mar 2012 18:37:50 +0100 Original-Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate07.web.de (Postfix) with ESMTP id E12EED8BE7C for ; Tue, 6 Mar 2012 18:33:13 +0100 (CET) Original-Received: from [192.168.1.33] ([88.7.24.47]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MAdb9-1SFihm1mtX-00C0TS; Tue, 06 Mar 2012 18:33:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 In-Reply-To: X-Provags-ID: V02:K0:S1H6dV2Dm2JCSBQ5C4BCXfZ/PL9qgVT/4QU2bY9Jdul Ik+QenSUEC2b0gGaeCMjdiZDjZMUNjPCemqYeZ5dKOZDYVnlj7 mQ2kes7fuzzBdAzCCIo2p+tRg3teXxBUdK+JrC3DorbaJlnaC1 /IAt8+5TAoMQdeCrnFgSIvdtoVaLBx2FJifj85D6elwYkX2xWE Byau/Lo77WGmD8FFZclBQ== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.72.192.248; 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: 0IGGhBO6e - 721f09fb2fdd - 20120306 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:74922 Archived-At: On 05/03/12 15:12, luigi scarso wrote: > 2012/3/4 Pablo Rodr=EDguez > If you allow me one more question: is showing the numbers on the same > page they refer to beyond the limits of TeX/LuaTeX? > = > Absolutely no. As Hans said, a quick/dirty trick is possible: just > mark the object with \pagereference[]. The data is stored > into the *tuc file, which can be read from the second pass. Luigi, I'm afraid it doesn't work as expected in the real file Lines are numbered there with [step=3D5]. So I get in headers only actually numbered lines, although it header should contain the real line numbers (even with the line number isn't shown on that line). How would it the the code in that case? (Sorry for asking this, but I'm afraid I cannot code in lua [or in any other language].) 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 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 ___________________________________________________________________________= ________