| 1 | <refentry id="orderedlist.element"> |
| 2 | <?dbhtml filename="orderedlist.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>orderedlist</secondary></indexterm> |
| 11 | <refentrytitle>orderedlist</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>orderedlist</refname> |
| 16 | <refpurpose>&orderedlist.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &orderedlist.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | In an <sgmltag>OrderedList</sgmltag>, each member of the list is marked with |
| 24 | a numeral, letter, or other sequential symbol (such as roman numerals). |
| 25 | </para> |
| 26 | |
| 27 | <refsect2><title>Processing expectations</title> |
| 28 | <para> |
| 29 | &format.block; |
| 30 | </para> |
| 31 | <para> |
| 32 | If no value is specified for <sgmltag class='attribute'>Numeration</sgmltag>, |
| 33 | Arabic numerals (1, 2, 3, …) are to be used. |
| 34 | </para> |
| 35 | <para> |
| 36 | In nested lists, DocBook does not specify the sequence of numerations. |
| 37 | </para> |
| 38 | <para> |
| 39 | Note that the attributes of <sgmltag>OrderedList</sgmltag> have a significant |
| 40 | influence on the processing expectations. |
| 41 | </para> |
| 42 | </refsect2> |
| 43 | |
| 44 | <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title> |
| 45 | <para>Introductory material may appear before the first list item. |
| 46 | </para> |
| 47 | </refsect2> |
| 48 | |
| 49 | |
| 50 | &orderedlist.parents.gen; |
| 51 | &orderedlist.children.gen; |
| 52 | </refsect1> |
| 53 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 54 | <variablelist> |
| 55 | <varlistentry><term>continuation</term> |
| 56 | <listitem> |
| 57 | <para>If <sgmltag class="attribute">continuation</sgmltag> is specified, it indicates |
| 58 | how list numbering should begin relative to the immediately preceding |
| 59 | list. <literal>Restarts</literal>, the default, indicates that numbering should |
| 60 | begin again at 1. <literal>Continues</literal> indicates that numbering should |
| 61 | begin where the preceding list left off. |
| 62 | </para> |
| 63 | </listitem> |
| 64 | </varlistentry> |
| 65 | <varlistentry><term>inheritnum</term> |
| 66 | <listitem> |
| 67 | <para> |
| 68 | In a nested list, <sgmltag class='attribute'>InheritNum</sgmltag> indicates whether |
| 69 | or not the enumeration of interior lists should include the numbers of |
| 70 | containing list items. If <sgmltag class='attribute'>InheritNum</sgmltag> is |
| 71 | <literal>Inherit</literal> then the third item of a list inside the second item |
| 72 | of a list inside the fourth item of a list might be enumerated |
| 73 | as <quote>4.2.3</quote>. If it is <literal>Ignore</literal>, the default, then it would |
| 74 | be simply <quote>3</quote>. (The <sgmltag class='attribute'>Numeration</sgmltag> attribute |
| 75 | controls the actual format of the item numbers, of course.) |
| 76 | </para> |
| 77 | </listitem> |
| 78 | </varlistentry> |
| 79 | <varlistentry><term>numeration</term> |
| 80 | <listitem> |
| 81 | <para> |
| 82 | <sgmltag class="attribute">Numeration</sgmltag> specifies the style of numbering |
| 83 | to be used for items in the current <sgmltag>OrderedList</sgmltag>. |
| 84 | </para> |
| 85 | </listitem> |
| 86 | </varlistentry> |
| 87 | <varlistentry><term>spacing</term> |
| 88 | <listitem> |
| 89 | <para> |
| 90 | <sgmltag class="attribute">Spacing</sgmltag> indicates whether or not the |
| 91 | vertical space in the list should be minimized. |
| 92 | </para> |
| 93 | </listitem> |
| 94 | </varlistentry> |
| 95 | </variablelist> |
| 96 | </refsect1> |
| 97 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 98 | &orderedlist.seealso.gen; |
| 99 | </refsect1> |
| 100 | <refsect1><title>Examples</title> |
| 101 | |
| 102 | <informalexample role="example-source"> |
| 103 | <programlisting>&orderedlist.example.1.txt;</programlisting> |
| 104 | </informalexample> |
| 105 | |
| 106 | <anchor id="ex.os.orderedlist.1" role="HACK-ex.out.start"/> |
| 107 | &orderedlist.example.1.gen; |
| 108 | <anchor id="ex.oe.orderedlist.1" role="HACK-ex.out.end"/> |
| 109 | |
| 110 | &orderedlist.example.seealso.gen; |
| 111 | </refsect1> |
| 112 | </refentry> |
| 113 |