6. Lists
Clicking the " List" toolbar button displays a menu.
- list
- Add a
list
element after caret position[1]. - list[bulleted]
- Add a
list
element having attributerend="bulleted"
after caret position[1]. - list[numbered]
- Add a
list
element having attributerend="numbered"
after caret position[1]. - list[lettered]
- Add a
list
element having attributerend="lettered"
after caret position[1]. - list[instructions]
- Add a
list
element having attributetype="instructions"
after caret position[1]. - list[gloss]
- Add a
list
element having attributetype="gloss"
after caret position[1].
In TEI, a
p
element may have alist
child element. However, except for alist
element having attributerend="runon"
orrend="inline"
, this element arrangement does not make much sense. That's why the above menu entries will take great care to never add a list inside a paragraph.
Convert a paragraph to a list
Another easy way to create a list is to use the ("Increase nesting level") toolbar button. This button converts selected p
element to an item
, automatically creating the parent list
element if needed too. More information about this facility below.
[1] More precisely, the new list
is added after node selection (if any) or after caret, at a document location where it is valid to do so.