Many thanks for the help!

On Sun, 8 Nov 2020 at 10:20, Wolfgang Schuster <wolfgang.schuster.lists@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