| %Page | Page number in arabic notation (1, 2, 3...) |
| %roman | Page number in lower-case roman notation (i, ii, iii...) |
| %Roman | Page number in upper-case roman notation (I, II, III...) |
| %EndPage | Last page of document in arabic notation |
| %Label | The page label of the page |
| %EndLabel | The page label of the last page |
| %filename | The full file name of the input document |
For example, the format "Page %Page of %EndPage" might become "Page 5 of 17".
NB: In some circumstances (e.g in batch files) on Microsoft Windows, % is a special character, and must be escaped (written as %%). Consult your local documentation for details.