ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setupregister with realpage?
@ 2022-09-23 21:08 Benjamin Buchmuller via ntg-context
  2022-09-23 21:47 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Buchmuller via ntg-context @ 2022-09-23 21:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Benjamin Buchmuller

Dear list,

\setuplist has the convenient option [pagenumber=realpage]

\setupregister has not (yet).

How can I get the realpagenumber instead of the userpagenumber for the register indices?

I tried

\def\MyPageCommand#1{\realpagenumber}

\setupregister[MyIndex][pagecommand=\MyPageCommand]

but this prints only the current (although real) page number.

Thank you!


Benjamin
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2022-09-24  8:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-23 21:08 setupregister with realpage? Benjamin Buchmuller via ntg-context
2022-09-23 21:47 ` Hans Hagen via ntg-context
2022-09-24  1:30   ` Benjamin Buchmuller via ntg-context
2022-09-24  8:25     ` Hans Hagen via ntg-context

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