ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: is it possible to have first and last line numbers from page?
Date: Tue, 06 Mar 2012 18:33:07 +0100	[thread overview]
Message-ID: <4F564A53.5070503@web.de> (raw)
In-Reply-To: <CAG5iGsA3dDqm5BNnU+5uWGfPt-2PHx5g_Q1yf_SRF9Y13DO49w@mail.gmail.com>

On 05/03/12 15:12, luigi scarso wrote:
> 2012/3/4 Pablo Rodríguez
>     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[<unique id>]. 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=5]. 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 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
___________________________________________________________________________________


  parent reply	other threads:[~2012-03-06 17:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-04 10:20 Pablo Rodríguez
2012-03-04 11:04 ` Wolfgang Schuster
2012-03-04 12:15   ` Pablo Rodríguez
2012-03-04 13:44     ` Wolfgang Schuster
2012-03-04 17:36       ` Pablo Rodríguez
2012-03-05 14:12     ` luigi scarso
2012-03-06 17:01       ` Pablo Rodríguez
2012-03-06 17:33       ` Pablo Rodríguez [this message]
2012-03-06 18:48         ` luigi scarso
2012-03-06 19:16           ` Pablo Rodríguez
2012-03-06 19:27             ` luigi scarso
2012-03-06 19:42               ` Pablo Rodríguez
2012-03-18 17:12               ` Pablo Rodríguez
2012-03-18 21:33                 ` luigi scarso
2012-03-05 10:39 ` Hans Hagen
2012-03-06 17:04   ` Pablo Rodríguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F564A53.5070503@web.de \
    --to=oinos@web.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).