Skip to content

Commit 6dcbabc

Browse files
FelixFrogjulian-smith-artifex-com
authored andcommitted
Fixed documentantion about lettered page labels
The PDF specification explicitly says that after "a" to "b", the numbering follows "aa", "bb", ..., "zz" and not "ab", "ab", "az", "ba",... 59d6599 should be reverted
1 parent d5bc43a commit 6dcbabc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/document.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ For details on **embedded files** refer to Appendix 3.
519519

520520
- ``startpage``: (int) the first page number (0-based) to apply the label rule. This key **must be present**. The rule is applied to all subsequent pages until either end of document or superseded by the rule with the next larger page number.
521521
- ``prefix``: (str) an arbitrary string to start the label with, e.g. "A-". Default is "".
522-
- ``style``: (str) the numbering style. Available are "D" (decimal), "r"/"R" (Roman numbers, lower / upper case), and "a"/"A" (lower / upper case alphabetical numbering: "a" through "z", then "aa" through "az", etc.). Default is "". If "", no numbering will take place and the pages in that range will receive the same label consisting of the ``prefix`` value. If prefix is also omitted, then the label will be "".
522+
- ``style``: (str) the numbering style. Available are "D" (decimal), "r"/"R" (Roman numbers, lower / upper case), and "a"/"A" (lower / upper case alphabetical numbering: "a" through "z", then "aa" through "zz", etc.). Default is "". If "", no numbering will take place and the pages in that range will receive the same label consisting of the ``prefix`` value. If prefix is also omitted, then the label will be "".
523523
- ``firstpagenum``: (int) start numbering with this value. Default is 1, smaller values are ignored.
524524

525525
For example::

0 commit comments

Comments
 (0)