Command/lastpagenumber

From ConTeXt wiki

\lastpagenumber

Syntax

\lastpagenumber

Description

Print the last userpage number in the document.

Example

% mode=mkii
\setuppapersize[A9, landscape]

Last page number:
\lastpagenumber

Total number of pages:
\totalnumberofpages
\blank[big]

\setuppagenumbering[state=stop]
\input ward
    \page

\setuppagenumbering[state=start]
\input ward
    \page

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: