Use Page Number Tokens display page numbers.
➢Important: this token and its variants are calculated taking into account any page deletion which may occur as the result of zap tokens, conditional tokens, or macro tokens, but not taking into account any page deletion which may occur as the result of template saras and/or global saras.
For the above reason, if you need to display page numbers on DiaryGridLines pages as well as on Quark Pages, InDesign 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. |
[p#-X] |
X pages before the current page number.
➢Note that [p#-1] gives the same result as [p#-] when the the configured page number offset is zero.
The specified offset replaces the page number offset set in the current DiaryGridLine’s Grid Options; adjustments for earlier page deletions still apply. |
[p#+X] |
X pages after the current page number.
➢Note that [p#+1] gives the same result as [p#+] when the the configured page number offset is zero.
The specified offset replaces the page number offset set in the current DiaryGridLine’s Grid Options; adjustments for earlier page deletions still apply. |
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.
You can use global saras to display the value of this token and other global tokens in Quark Pages, InDesign Pages and/or Place Holders.
See also: global tokens and template pages tokens.
Topic 105057, last updated on 19-Oct-2026