Node type: Block element (can contain only other elements)
Whitespace: Not protected
A list of terms definitions.
Attribute: listFormat (definition list)
Attribute: highlight
One or more:
= Optional element or attribute
<list listFormat="definition">
<termLabel paraID="2">Word</termLabel>
<definitionLabel paraID="3">Definition</definitionLabel>
<listItem>
<term paraID="4"><small>HEB</small></term>
<definition>
<para paraID="5">Hebrew</para>
</definition>
</listItem>
<listItem>
<term paraID="6"><small>GR</small></term>
<definition>
<para paraID="7">Greek</para>
</definition>
</listItem>
<listItem>
<term paraID="8"><small>JST</small></term>
<definition>
<para paraID="9">Joseph Smith Translation</para>
</definition>
</listItem>
</list>
Word | Definition |
HEB | Hebrew |
GR | Greek |
JST | Joseph Smith Translation |
Wraps list items. List items can contain other lists.
Use paragraph styles like the following for the preamble to the list. (Note that if the preamble is part of another paragraph, it cannot be marked as part of the list.)
Use paragraph styles like the following to mark list titles.
Use character styles like the following to mark list labels. Put these in a paragraph with the labelRow paragraph style, separated by tabs if desired (tabs are stripped in the conversion process).
Use paragraph styles like the following to mark the paragraphs in the list:
If a listItem has more than one paragraph, mark subsequent paragraphs with styles like LISTdef-1_para. (This is not presently part of the standard style template so would need to be created.)
The number in these stylenames indicates the level of embedding. A definition list embedded in a numbered list would be styled LISTdef-2, because even though it is the first definition list, it is two levels deep.
Place the term in the first paragraph of each list item and mark it with the following character style:
It is often convenient to place a tab after the label, but this is not strictly necessary, as the conversion process strips tabs.
For lists embedded in other structures, use paragraph styles like the following:
SIDE-LISTdef-1_para | (in figure [sideBar]) |
Note: The paragraph styles of all lines within a group of lists should begin with “LIST”, and the styles for the individual list should have the same prefix. For example, in a definition list with an embedded bulleted list, all lines should have styles that begin with “LIST”. All lines in the the definition list should have styles that begin with “LISTdef-1_” and all lines in the bulleted list should have styles that begin with “LISTbullet-2_”.
If this isn’t practical, use the xmlPara paragraph style to enter beginning and ending <list> tags around the list, around any lists that contain the list, and around any lists contained by those lists.
This principle applies to lists embedded in other structures as well. For a list in a sidebar, use “SIDE-LISTdef-1_”, or use tags in xmlPara throughout the sidebar.