5. Controlling the numbering of ordered lists Previous topic Parent topic Child topic Next topic

This chapter explains how you can to control the numbering of ordered lists by the means of one or more directives specified in the @outputclass attribute of the <ol> element.

By default, the numbering of nested ordered lists automatically alternates between the "1." and "a." formats. If you want more control on the numbering of ordered lists, then you'll have to specify one or more of the following directives in the @outputclass attribute of the <ol> element.
lower-alpha
upper-alpha
lower-roman
upper-roman
decimal
Specifies the style of numbering.
start(positive_integer)
Numbering begins at specified positive_integer.
continue
Numbering begins where the preceding ordered list left off.
Example: <ol outputclass="upper-roman start(10)"> specifies an ordered list which starts with an "X.".
Note that it is still possible to specify any class name you want in the @outputclass attribute of the <ol> element. Example: <ol outputclass="continue fancy-list">.