]> git.stg.codes - stg.git/blob - doc/xslt/params/label.from.part.xml
Ticket. if (!data.tariffConf.changePolicy.empty()) construction added in
[stg.git] / doc / xslt / params / label.from.part.xml
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
16 <refsynopsisdiv>
17 <src:fragment xml:id="label.from.part.frag">
18 <xsl:param name="label.from.part" select="0"/>
19 </src:fragment>
20 </refsynopsisdiv>
21
22 <refsection><info><title>Description</title></info>
23
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>
35   instances.</para>
36
37 </refsection>
38 </refentry>