label.from.part.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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="label.from.part">
  7. <refmeta>
  8. <refentrytitle>label.from.part</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>label.from.part</refname>
  13. <refpurpose>Renumber components in each part?</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="label.from.part.frag">
  17. <xsl:param name="label.from.part" select="0"/>
  18. </src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>If <parameter>label.from.part</parameter> is non-zero, then
  22. numbering of components — <tag>preface</tag>,
  23. <tag>chapter</tag>, <tag>appendix</tag>, and
  24. <tag>reference</tag> (when <tag>reference</tag> occurs at the
  25. component level) — is re-started within each
  26. <tag>part</tag>.</para>
  27. <para>If <parameter>label.from.part</parameter> is zero (the
  28. default), numbering of components is <emphasis>not</emphasis>
  29. re-started within each <tag>part</tag>; instead, components are
  30. numbered sequentially throughout each <tag>book</tag>,
  31. regardless of whether or not they occur within <tag>part</tag>
  32. instances.</para>
  33. </refsection>
  34. </refentry>