Command/totalnumberofpages

From ConTeXt wiki

\totalnumberofpages

Syntax

\totalnumberofpages

Description

Print the the total number of PDF pages 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: