[NTG-context] realpage in register

2010-09-28 Thread Steffen Wolfrum
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
___


Re: [NTG-context] realpage in register

2010-09-28 Thread luigi scarso
On Tue, Sep 28, 2010 at 12:37 PM, Steffen Wolfrum
cont...@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
___