Noeud:Ordered List, Noeud « Next »:, Noeud « Previous »:Itemized List, Noeud « Up »:Lists



Ordered List


OrderedList = ( ( Title, TitleAbbrev? )?,
                ListItem+
              )

ListItem = ( (%component.mix;)+ )

Elements : OrderedList, Title, TitleAbbrev, ListItem.

Attributes : Numeration, InheritNum, Continuation, Spacing.

The OrderedList element is used to define an ordered list. Each member of this list begins with a number, a letter, or any other sign part of a sequence.

The OrderedList element can begin with a title (Title) and an abbreviatd title (TitleAbbrev), and contains one or several list items (ListItem).

The Numeration attribute of the OrderedList element is needed to specify the sequence to use when numbering the list items. This attribute can get one of the following values:

Arabic
The arabic numerals (1, 2, 3, ...) are used.
Upperalpha
The upper letters (A, B, C, ...) are used.
Loweralpha
The lower letters (a, b, c, ...) are used.
Upperroman
The upper roman numerals (I, II, III, IV, ...) are used.
Lowerroman
The lower roman numerals (I, II, III, IV, ...) are used.

The InheritNum attribute of the OrderedList element specify if a nested list must inherit the numeration from its parent lists. This attribute can get the following values:

Inherit
The nested list inherits the numeration of the lists in which it is nested.
Ignore
The nested list does not inherit any numeration.

The Continuation attribute of the OrderedList element indicates if the numeration of the list starts at the beginning of the sequence (Restarts) or if it continues the numeration of the precedent list (Continues).

The Spacing attribute of the OrderedList element indicates if the list must be vertically compacted. This attribute can get the values Normal or Compact.

<orderedlist numeration="upperroman">
  <listitem>
    <para>Une première liste imbriquée, avec héritage de la
      numérotation&nbsp;:
      <orderedlist numeration="loweralpha" inheritnum="inherit">
        <listitem>
          <simpara>Premier point</simpara>
        </listitem>
        <listitem>
          <simpara>Second point</simpara>
        </listitem>
      </orderedlist>
    </para>
  </listitem>
  <listitem>
    <para>Une seconde liste imbriquée, avec continuation de la
    numérotation&nbsp;:
      <orderedlist numeration="loweralpha" continuation="continues">
        <listitem>
          <simpara>Avant-dernier point</simpara>
        </listitem>
        <listitem>
          <simpara>Dernier point</simpara>
        </listitem>
      </orderedlist>
    </para>
  </listitem>
</orderedlist>