Changes

Jump to navigation Jump to search
Created page with "{{Reference |name={{subst:SUBPAGENAME}} |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd..."
{{Reference
|name=totalnumberofpages
|attributes=
}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\totalnumberofpages<!--
--></td>
</tr>
</table>

== Description ==
Print the the total number of PDF pages in the document.

== Example ==

<context mode=mkii source=yes>
% 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
</context>

== See also ==
* {{cmd|lastpagenumber}}
* {{src|strc-pag.mkii}}, {{src|strc-pag.mkiv}}

== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|totalnumberofpages}}

[[Category:Command/Numbers|totalnumberofpages]]

Navigation menu