io7m
io7m-jstructural 3.1.0
5.18
part-contents
5.18.1
Description
1
The part-contents element specifies that a table of contents should be generated for the given part.
5.18.2
Processing
1
The table of contents appears at the start of the parent part and contains references to all the children of that element.
5.18.3
CSS
1
The CSS for part-contents elements is slightly more complex. In addition to any classes specified by the type attribute, the main list structure is assigned the class st200_part_contents. Each element of the list is assigned the class st200_part_contents_item in addition to one of st200_part_contents_item1, st200_part_contents_item2 or st200_part_contents_item3 depending on the depth of the item in the list. The root part element of the list is assigned the class st200_part_contents_part and all section and subsection elements appearing in the list are assigned the classes st200_part_contents_section and st200_part_contents_subsection, respectively.