Re: [NTG-context] MP scratch counter

2022-07-13 Thread Hans Hagen via ntg-context
On 7/13/2022 10:58 PM, Henning Hraban Ramm via ntg-context wrote: 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

Re: [NTG-context] MP scratch counter

2022-07-13 Thread Henning Hraban Ramm via ntg-context
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

Re: [NTG-context] MP scratch counter

2022-07-13 Thread Hans Hagen via ntg-context
On 7/13/2022 8:14 PM, Henning Hraban Ramm via ntg-context wrote: Hi y’all, this is a scratch counter from the simpleslides module. It doesn’t work any more (always shows max-1), and I guess it used to. What’s wrong? Hraban """ \startuseMPgraphic{MP:ornament} StartPage ; save a,b ; numeric

[NTG-context] MP scratch counter

2022-07-13 Thread Henning Hraban Ramm via ntg-context
Hi y’all, this is a scratch counter from the simpleslides module. It doesn’t work any more (always shows max-1), and I guess it used to. What’s wrong? Hraban """ \startuseMPgraphic{MP:ornament} StartPage ; save a,b ; numeric a,b ; a = 7mm ; b = PaperWidth/2 - NOfPages * 2.5pt ; save p,q;