[NTG-context] "page i/n" in footer

Sylvain Hubert champignoom at gmail.com
Sun Nov 8 11:42:54 CET 2020


Many thanks for the help!

On Sun, 8 Nov 2020 at 10:20, Wolfgang Schuster <
wolfgang.schuster.lists at gmail.com> wrote:

> Sylvain Hubert schrieb am 08.11.2020 um 02:58:
> > Dear List,
> >
> > Does anyone know how to set the footer to be "page i/n" where i=current
> > page number, n=total number of page? I've tried
> >
> >      \setuppagenumbering[location=footer, command=\groupedcommand{page
> > }{/\lastcounter[userpage]}]
> >
> > but \lastcounter[userpage] results in empty string.
>
>
> \setuppagenumbering
>    [ left={Page },
>     right={/\lastuserpagenumber}]
>
> \starttext
> \unknown
> \stoptext
>
> or
>
>
> \setuppagenumbering
>    [location=]
>
> \setupfootertexts
>    [Page \userpagenumber/\lastuserpagenumber]
>
> \starttext
> \unknown
> \stoptext
>
>
> Wolfgang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20201108/03127e07/attachment.htm>


More information about the ntg-context mailing list