| 1 | <refentry id="variablelist.element"> |
| 2 | <?dbhtml filename="variablelist.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>variablelist</secondary></indexterm> |
| 11 | <refentrytitle>variablelist</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>variablelist</refname> |
| 16 | <refpurpose>&variablelist.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &variablelist.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>VariableList</sgmltag> is a list consisting of <sgmltag>Term</sgmltag>s and |
| 24 | their definitions or descriptions. |
| 25 | </para> |
| 26 | |
| 27 | <refsect2><title>Processing expectations</title> |
| 28 | <para> |
| 29 | &format.block; |
| 30 | </para> |
| 31 | <para> |
| 32 | There are many ways to deal with the problems presented in |
| 33 | formatting a variable list with long <sgmltag>Term</sgmltag>s. DocBook |
| 34 | does not mandate any particular presentation. The |
| 35 | <sgmltag class='attribute'>TermLength</sgmltag> attribute may influence |
| 36 | the presentation of <sgmltag>Term</sgmltag>s. |
| 37 | </para> |
| 38 | </refsect2> |
| 39 | |
| 40 | <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title> |
| 41 | <para>Introductory material may appear before the first list item. |
| 42 | </para> |
| 43 | </refsect2> |
| 44 | |
| 45 | |
| 46 | &variablelist.parents.gen; |
| 47 | &variablelist.children.gen; |
| 48 | </refsect1> |
| 49 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 50 | <variablelist> |
| 51 | <varlistentry><term>termlength</term> |
| 52 | <listitem> |
| 53 | <para> |
| 54 | <sgmltag class="attribute">TermLength</sgmltag> indicates a length beyond |
| 55 | which the presentation engine may consider the <sgmltag>Term</sgmltag>(s) too |
| 56 | long and select an alternate presentation of the <sgmltag>Term</sgmltag>(s) |
| 57 | and/or, the associated <sgmltag>ListItem</sgmltag>. |
| 58 | </para> |
| 59 | </listitem> |
| 60 | </varlistentry> |
| 61 | </variablelist> |
| 62 | </refsect1> |
| 63 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 64 | &variablelist.seealso.gen; |
| 65 | </refsect1> |
| 66 | <refsect1><title>Examples</title> |
| 67 | |
| 68 | <informalexample role="example-source"> |
| 69 | <programlisting>&variablelist.example.1.txt;</programlisting> |
| 70 | </informalexample> |
| 71 | |
| 72 | <anchor id="ex.os.variablelist.1" role="HACK-ex.out.start"/> |
| 73 | &variablelist.example.1.gen; |
| 74 | <anchor id="ex.oe.variablelist.1" role="HACK-ex.out.end"/> |
| 75 | |
| 76 | &variablelist.example.seealso.gen; |
| 77 | </refsect1> |
| 78 | </refentry> |
| 79 |