Re: [NTG-context] setupregister with realpage?

2022-09-24 Thread Hans Hagen via ntg-context
On 9/24/2022 3:30 AM, Benjamin Buchmuller wrote: Thank you, Hans! This works, I get all the correct page references! I didn't know about cont-new.mkxl to temporarily store "hacks". I assume the file is updated with each release? Is there a way to store local hacks, e.g., in texmf-local? I

Re: [NTG-context] setupregister with realpage?

2022-09-23 Thread Benjamin Buchmuller via ntg-context
Thank you, Hans! This works, I get all the correct page references! I didn't know about cont-new.mkxl to temporarily store "hacks". I assume the file is updated with each release? Is there a way to store local hacks, e.g., in texmf-local? I could not find "cont-loc" (maybe it's not a file).

Re: [NTG-context] setupregister with realpage?

2022-09-23 Thread Hans Hagen via ntg-context
On 9/23/2022 11:08 PM, Benjamin Buchmuller via ntg-context wrote: 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

[NTG-context] setupregister with realpage?

2022-09-23 Thread Benjamin Buchmuller via ntg-context
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