Basic Structure of the Encoding of Lists
Lists are tagged with the <list>
element. Each list item is tagged with <item>[...]</item>
. If the list has a title, it is tagged as such by the <head>
element.
<list> <head>[title of the list]</head><!-- where available --> <item>[content of a list item]</item> <item>[content of a list item]</item> </list>
Numbering of list points is done within <list>[...]</list>
(i. e. at text level) and not tagged separately.
<list> <item>1. [contents of the first list item]</item> <item>2. [contents of the second list item]</item> ... <item>[n]. [contents of the nth list item]</item> </list>
Encoding of Lists
If a list consists of entries with corresponding values, which are separated from each other by a spacer (e. g. an empty space or a dotted line), the distance is displayed by <space dim="horizontal"/>
.
Dealing with Spacers in Lists
A typical use case for such lists are Tables of Contents.
Bracketings within lists
are tagged with the attribute value pair @rendition="#rightBraced|#leftBraced|#topBraced|#bottomBraced"
(see chap. Bracketings).