Lists (ePistolarium)

From XML
Jump to: navigation, search

Lists are encoded with the list, item, and label elements.

  • list contains any sequence of items organized as a list;
  • item contains one component of a list;
  • label contains any label or heading used to identify part of a text, typically but not exclusively in a list or glossary.

There should be no bullet, number or other label before an item, unless explicitly indicated by means of a label.


Example: https://correspondence.huygens.knaw.nl/documents/a4e640b1-bd41-4c34-b7ac-a1441c9e97c1 (list)

<p>Voici certains livres que je voudrais examiner
<list>
<item>Rebenstock Sermons mensuels de Luther</item>
<item>Mathaesius, Vie de Martin Luther</item>
<item>Jérôme Bolsec, Vita Calvini, Bezae etc.</item>
<item>Simon Starovolscius, Elogia centum illustrium Polonorum.</item>
<item>Caspar Chicocius Entretiens.</item>
<item>Bibliotheca Romana de Prospero Mandosio Rome 1682 4°</item>
<item>Vitae clarissimorum jurisconsultorum éditées avec des notes par Frideric Jacob Leickherr, Juris Utriusque Doctor Leipzig 1686 8°</item>
</list></p>
<p>Je n'ai guère espoir avec ce livre d'éviter la rencontre de tout obstacle...</p>

Example: https://correspondence.huygens.knaw.nl/documents/2b46b15c-e62f-4cf5-9ed6-e1645d2af0ad (groups a series of mathematical formulas)

<p>... Haec adde 7/6<hi rend="italic">y</hi>, fit</p>
<p><list>
<item>7/6<hi rend="italic">y</hi> + 7/48 <hi rend="italic">z</hi> ∞ 86.</item>
<item>56<hi rend="italic">y</hi> + 7<hi rend="italic">z</hi> ∞ 4128.</item>
<item>7<hi rend="italic">z</hi> ∞ 4128 - 56<hi rend="italic">y.</hi></item>
<item><hi rend="italic">z</hi> ∞ 589 5/7 - 8 <hi rend="italic">y.</hi></item>
</list></p>
<p>Si ergo haberem numerum <hi rend="italic">y</hi> dierum integrarum, ...</p>

TODO: Implement TEI approach (and Huygens standard): <label> and <item> are siblings, don't use <label in <item>.