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