Debian Codegraph @

ru/refpages/elements/simplelist/refentry.xml

raw symbols SCIP
1 <refentry id="simplelist.element">
2 <?dbhtml filename="simplelist.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>simplelist</secondary></indexterm>
11 <refentrytitle>simplelist</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>simplelist</refname>
16 <refpurpose>&simplelist.purpose;</refpurpose>
17 </refnamediv>
18
19 &simplelist.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 A <sgmltag>SimpleList</sgmltag> is a list of words or phrases. It offers a
24 convenient alternative to the other list elements for inline content.
25 </para>
26
27 <refsect2 id="dbreproc.simplelist"><title>Processing expectations</title>
28 <para>
29 Ironically, the processing expectations of a
30 <sgmltag>SimpleList</sgmltag> are quite complex.
31 </para>
32
33 <para>
34 The presentation of a <sgmltag>SimpleList</sgmltag> is controlled by the
35 <sgmltag class='attribute'>Type</sgmltag> attribute, which has three possible
36 values:
37
38 <variablelist>
39 <varlistentry><term><literal>Inline</literal></term>
40 <listitem>
41 <para>
42 Indicates that the <sgmltag>Member</sgmltag>s of the list should be
43 rendered as a comma separated, inline list.
44 </para>
45 </listitem>
46 </varlistentry>
47
48 <varlistentry><term><literal>Horiz</literal></term>
49 <listitem>
50 <para>
51 Indicates that the <sgmltag>Member</sgmltag>s of the list should be
52 rendered in a tabular fashion with members running across the
53 rows.
54 </para>
55 </listitem>
56 </varlistentry>
57
58 <varlistentry><term><literal>Vert</literal></term>
59 <listitem>
60 <para>
61 Indicates that the <sgmltag>Member</sgmltag>s of the list should be
62 rendered in a tabular fashion with members running down the
63 columns. This is the default.
64 </para>
65 </listitem>
66 </varlistentry>
67 </variablelist>
68 </para>
69
70 <para>
71 In both of the tabular cases, the number of columns in the table is
72 controlled by the <sgmltag class='attribute'>Columns</sgmltag> attribute.
73 </para>
74 </refsect2>
75
76
77
78
79
80 &simplelist.parents.gen;
81 &simplelist.children.gen;
82 </refsect1>
83 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
84 <variablelist>
85 <varlistentry><term>columns</term>
86 <listitem>
87 <para>
88 <sgmltag class="attribute">Columns</sgmltag> specifies the number of columns to
89 be used in the presentation of a <sgmltag>SimpleList</sgmltag> with a
90 <sgmltag class="attribute">Type</sgmltag> of <literal>Vert</literal> or <literal>Horiz</literal>.
91 If <sgmltag class="attribute">Columns</sgmltag> is unspecified, <literal>1</literal>
92 is assumed.
93 </para>
94 </listitem>
95 </varlistentry>
96 <varlistentry><term>type</term>
97 <listitem>
98 <para>
99 <sgmltag class='attribute'>Type</sgmltag> specifies how the <sgmltag>Member</sgmltag>s
100 of the <sgmltag>SimpleList</sgmltag> are to be formatted. (This attribute
101 would better fit DocBook semantics if it were named
102 <quote><sgmltag class='attribute'>Class</sgmltag></quote>).
103 </para>
104 </listitem>
105 </varlistentry>
106 </variablelist>
107 </refsect1>
108 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
109 &simplelist.seealso.gen;
110 </refsect1>
111 <refsect1><title>Examples</title>
112
113 <informalexample role="example-source">
114 <programlisting>&simplelist.example.1.txt;</programlisting>
115 </informalexample>
116
117 <anchor id="ex.os.simplelist.1" role="HACK-ex.out.start"/>
118 &simplelist.example.1.gen;
119 <anchor id="ex.oe.simplelist.1" role="HACK-ex.out.end"/>
120
121 <informalexample role="example-source">
122 <programlisting>&simplelist.example.2.txt;</programlisting>
123 </informalexample>
124
125 <anchor id="ex.os.simplelist.2" role="HACK-ex.out.start"/>
126 &simplelist.example.2.gen;
127 <anchor id="ex.oe.simplelist.2" role="HACK-ex.out.end"/>
128
129 <informalexample role="example-source">
130 <programlisting>&simplelist.example.3.txt;</programlisting>
131 </informalexample>
132
133 <anchor id="ex.os.simplelist.3" role="HACK-ex.out.start"/>
134 &simplelist.example.3.gen;
135 <anchor id="ex.oe.simplelist.3" role="HACK-ex.out.end"/>
136
137 &simplelist.example.seealso.gen;
138 </refsect1>
139 </refentry>
140