Inserting page number in custom footer

I’m making a style file in which I use macro set-footer to make a custom footer. I need to show the page number so I put macro <\page-the-page> inside set-footer. But the result of <\page-the-page> is always 0, whatever the page I’m on.
Did I miss something ?

The examples I can find use the macro page-number, please give that a try.

1 Like

It works with macro \page-number , thank you !

This post is very helpful