Command/totalnumberofpages

From Wiki
< Command
Revision as of 11:44, 17 October 2012 by Esteis (talk | contribs) (Created page with "{{Reference |name={{subst:SUBPAGENAME}} |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\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

internal error: copy error NXIBut/cropped.pdf

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: