Please enable JavaScript to view this site.


Navigation: Tokens > Page Tokens

[p#]  [p#+]  [p#-]  Page Number Tokens

Scroll Prev Up Next More

Use Page Number Tokens display the page numbers.


Important: this token and its variants are calculated before any page deletion which may occur as the result of zap tokens, conditional tokens, macro tokens or Saras.


For the above reason, if you need to display page numbers on DiaryGridLines pages as well as on Quark Pages and/or Place Holders pages, then we recommend that you only use page number tokens as part of global saras.



The current page number.


The previous page number.


The next page number.


All the above are calculated, based on the actual page number of the output file to which the page number offset of the current DiaryGridline is added.


The output format of this token is plain numbers from 1 to x. If you wish to have adorned page numbers such as i-ii-iii, you should use macros.


See also: template pages tokens.


Topic 105057, last updated on 24-Jun-2021