Please enable JavaScript to view this site.

 

Navigation: Tokens > Page Tokens

Page Number Tokens

Scroll Prev Up Next More

Use Page Number Tokens display 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.

 

[p#]

The current page number.

[p#-]

The previous page number.

[p#+]

The next page number.

 

All these tokens use the current page number, adjusted for the page deletions described at the top of this topic. The forms [p#], [p#+], and [p#-] also apply the page number offset specified in the current DiaryGridLine’s Grid Options. The forms [p#+X] and [p#-X] apply the explicitly specified offset instead of that setting.

 

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 19-Oct-2026