ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* realpage in register
@ 2010-09-28 10:37 Steffen Wolfrum
  2010-09-28 11:09 ` luigi scarso
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2010-09-28 10:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: realpage in register
  2010-09-28 10:37 realpage in register Steffen Wolfrum
@ 2010-09-28 11:09 ` luigi scarso
  0 siblings, 0 replies; 2+ messages in thread
From: luigi scarso @ 2010-09-28 11:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-28 11:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-28 10:37 realpage in register Steffen Wolfrum
2010-09-28 11:09 ` luigi scarso

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).