<refentry xmlns="http://docbook.org/ns/docbook"
	  xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
	  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	  xmlns:xlink="http://www.w3.org/1999/xlink"
	  xmlns:db="http://docbook.org/ns/docbook"
	  version="5.0"
	  xml:id="autolabel.elements">
<refmeta>
<refentrytitle>autolabel.elements</refentrytitle>
</refmeta>
<refnamediv>
<refname>autolabel.elements</refname>
<refpurpose>List of elements that should be automatically labeled</refpurpose>
</refnamediv>

<refsynopsisdiv>
<src:fragment xml:id="autolabel.elements.frag">
<!-- n.b. this is a result-tree fragment so that $autolabel.elements/* works -->
<xsl:param name="autolabel.elements">
  <db:appendix format="A"/>
  <db:chapter/>
  <db:figure/>
  <db:example/>
  <db:table/>
  <db:equation/>
  <db:part format="I"/>
  <db:reference format="I"/>
  <db:preface/>
  <db:qandadiv/>
  <db:section/>
  <db:refsection/>
</xsl:param>
</src:fragment>
</refsynopsisdiv>

<refsect1><title>Description</title>

<para>If an element appears in this list, then it will be numbered.
The format attribute on each element can be used to specify the kind
of numbering:
</para>

<variablelist>
  <varlistentry>
    <term>1 or arabic</term>
    <listitem>
      <para>Arabic numeration (1, 2, 3 ...).</para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term>A or upperalpha</term>
    <listitem>
      <para>Uppercase letter numeration (A, B, C ...).</para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term>a or loweralpha</term>
    <listitem>
      <para>Lowercase letter numeration (a, b, c ...).</para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term>I or upperroman</term>
    <listitem>
      <para>Uppercase roman numeration (I, II, III ...).</para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term>i or lowerroman</term>
    <listitem>
      <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
    </listitem>
  </varlistentry>
</variablelist>

<para>The default number format for elements that don't specify a
<tag class="attribute">format</tag> (or specify an invalid format)
is arabic.
</para>

</refsect1>
</refentry>
