[NTG-context] MP scratch counter

Henning Hraban Ramm texml at fiee.net
Wed Jul 13 22:58:21 CEST 2022


Am 13.07.22 um 22:33 schrieb Hans Hagen via ntg-context:
> in mlib-int.lmt change this:
> 
> registerdirect("PageNumber",           function() return 
> getcount("userpageno")                    end)
> 
> (beware it's there twice - i'll fix that)
> 
> btw, normally you would use RealPageNumber for such a counter

Thank you, I just replaced all occurrences of PageNumber with 
RealPageNumber, and it works.
This seems to have changed within the last few years, though.

Hraban



More information about the ntg-context mailing list