variablelist
variablelist — A list in which each entry is composed of a set of one or more terms and an associated description.
Synopsis
- Sequence of:
- One of:
- Zero or more of:
annotation
bridgehead
remark
revhistory
- Indexing inlines
- Admonition elements
- Formal elements
- Graphic elements
- Informal elements
informalequation
informalexample
informalfigure
informaltable
(db.cals.informaltable)informaltable
(db.html.informaltable)
- List elements
- Paragraph elements
- Publishing elements
- Synopsis elements
- Technical elements
- Verbatim elements
- One or more of:
- One of:
Attributes
Common attributes and common linking attributes.
Additional attributes:
- spacing (enumeration)
- “compact”
- “normal”
- termlength
Description
A variablelist
is a list consisting of
term
s and their definitions or descriptions.
Processing expectations
Formatted as a displayed block.
There are many ways to present a variable list. DocBook does not
mandate any particular presentation. The termlength
attribute may influence the
presentation of term
s. The termlength
attribute is often specified as
a number of characters, but other forms are possible. This is an interchange issue.
Attributes
Common attributes and common linking attributes.
- spacing
Specifies (a hint about) the spacing of the content
Enumerated values: “compact” The spacing should be "compact".
“normal” The spacing should be "normal".
- termlength
Indicates a length beyond which the presentation system may consider a term too long and select an alternate presentation for that term, item, or list
See Also
calloutlist
, itemizedlist
, listitem
, orderedlist
, segmentedlist
, simplelist
Examples
1 <article xmlns='http://docbook.org/ns/docbook'> 2 <title>Example variablelist</title> 4 <variablelist><title>Font Filename Extensions</title> <varlistentry> 6 <term><filename>TTF</filename></term> <listitem> 8 <para>TrueType fonts.</para> </listitem> 10 </varlistentry> <varlistentry> 12 <term><filename>PFA</filename></term> <term><filename>PFB</filename></term> 14 <listitem> <para> 16 PostScript fonts. <filename>PFA</filename> files are common on <acronym>UNIX</acronym> systems, <filename>PFB</filename> 18 files are more common on Windows systems. </para> 20 </listitem> </varlistentry> 22 </variablelist> 24 </article>
TTF
TrueType fonts.
PFA
,PFB
PostScript fonts.
PFA
files are common on UNIX systems,PFB
files are more common on Windows systems.