chapter.autolabel.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <refentry xmlns="http://docbook.org/ns/docbook"
  2. xmlns:xlink="http://www.w3.org/1999/xlink"
  3. xmlns:xi="http://www.w3.org/2001/XInclude"
  4. xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
  5. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. version="5.0" xml:id="chapter.autolabel">
  7. <refmeta>
  8. <refentrytitle>chapter.autolabel</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
  10. <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
  11. <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
  12. <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
  13. <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
  14. <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
  15. <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
  16. </refmeta>
  17. <refnamediv>
  18. <refname>chapter.autolabel</refname>
  19. <refpurpose>Specifies the labeling format for Chapter titles</refpurpose>
  20. </refnamediv>
  21. <refsynopsisdiv>
  22. <src:fragment xml:id="chapter.autolabel.frag">
  23. <xsl:param name="chapter.autolabel" select="1"/></src:fragment>
  24. </refsynopsisdiv>
  25. <refsection><info><title>Description</title></info>
  26. <para>If non-zero, then chapters will be numbered using the parameter
  27. value as the number format if the value matches one of the following:
  28. </para>
  29. <variablelist>
  30. <varlistentry>
  31. <term>1 or arabic</term>
  32. <listitem>
  33. <para>Arabic numeration (1, 2, 3 ...).</para>
  34. </listitem>
  35. </varlistentry>
  36. <varlistentry>
  37. <term>A or upperalpha</term>
  38. <listitem>
  39. <para>Uppercase letter numeration (A, B, C ...).</para>
  40. </listitem>
  41. </varlistentry>
  42. <varlistentry>
  43. <term>a or loweralpha</term>
  44. <listitem>
  45. <para>Lowercase letter numeration (a, b, c ...).</para>
  46. </listitem>
  47. </varlistentry>
  48. <varlistentry>
  49. <term>I or upperroman</term>
  50. <listitem>
  51. <para>Uppercase roman numeration (I, II, III ...).</para>
  52. </listitem>
  53. </varlistentry>
  54. <varlistentry>
  55. <term>i or lowerroman</term>
  56. <listitem>
  57. <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
  58. </listitem>
  59. </varlistentry>
  60. </variablelist>
  61. <para>Any nonzero value other than the above will generate
  62. the default number format (arabic).
  63. </para>
  64. </refsection>
  65. </refentry>