From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: realpage in register
Date: Tue, 28 Sep 2010 13:09:20 +0200 [thread overview]
Message-ID: <AANLkTikpm7OSLV2e4YdamrunhVD0GkjFdQm5hgDziw8b@mail.gmail.com> (raw)
In-Reply-To: <2989F354-0EB2-4F9E-A4AF-1A1D58AD33FC@st.estfiles.de>
On Tue, Sep 28, 2010 at 12:37 PM, Steffen Wolfrum
<context@st.estfiles.de> wrote:
> Hi,
>
> I want to set up a register that shows the number of userpage and the number of realpage (used in pdf numbering).
>
> I was thinking of something like ...
>
> \def\BothPageNumbers#1 {#1 (\realpageno[#1])}
>
> \setupregister[index][pagecommand=\BothPageNumbers]
>
>
> ... only, I don't know how to address the corresponding realpage number ;o(
>
>
> Any idea?
strc-pag.mkiv:\def\realfolio{\the\realpageno}
strc-pag.mkiv:\def\userfolio{\the\userpageno}
strc-pag.mkiv:\def\subfolio {\the\subpageno }
just an idea, btw
--
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2010-09-28 11:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 10:37 Steffen Wolfrum
2010-09-28 11:09 ` luigi scarso [this message]
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=AANLkTikpm7OSLV2e4YdamrunhVD0GkjFdQm5hgDziw8b@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--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).