next up previous contents index
Next: Date and Time Formats Up: Stamp Text, Dates and Previous: Stamp Text, Dates and   Contents   Index


Page Numbers

There are various special codes to include the page number in the text:


%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.



root 2014-11-28