From 0cf6f3e86ec663c19baf64fd72556da185ba10d6 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 14 Jul 2007 19:58:59 +0000 Subject: [PATCH] Changed handling of reference auto-labeling such that reference (when it appears at the component level) is now affected by the label.from.part param, just as preface, chapter, and appendix. --- xsl/common/labels.xsl | 21 ++++++++++++++++++++- xsl/params/label.from.part.xml | 20 +++++++++++++------- 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/xsl/common/labels.xsl b/xsl/common/labels.xsl index 98050d012..38b123a35 100644 --- a/xsl/common/labels.xsl +++ b/xsl/common/labels.xsl @@ -193,12 +193,31 @@ element label. + + + + + + + + + - + + + + + + + + diff --git a/xsl/params/label.from.part.xml b/xsl/params/label.from.part.xml index 5ff9db7a6..3c6d0253e 100644 --- a/xsl/params/label.from.part.xml +++ b/xsl/params/label.from.part.xml @@ -10,7 +10,7 @@ label.from.part -Renumber chapters in each part? +Renumber components in each part? @@ -19,12 +19,18 @@ Description -If label.from.part is non-zero, components -(chapters, appendixes, etc.) -will be numbered from 1 in each part. Otherwise, -they will be numbered monotonically throughout each -book. - +If label.from.part is non-zero, then + numbering of components — preface, + chapter, appendix, and + reference (when reference occurs at the + component level) — is re-started within each + part. +If label.from.part is zero (the + default), numbering of components is not + re-started within each part; instead, components are + numbered sequentially throughout each book, + regardless of whether or not they occur within part + instances. -- 2.40.0