]> granicus.if.org Git - docbook-dsssl/commitdiff
titleabbrev.markup mode was not getting a book's titleabbrev in bookinfo.
authorBob Stayton <bobs@sagehill.net>
Tue, 20 Jul 2004 22:13:01 +0000 (22:13 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 20 Jul 2004 22:13:01 +0000 (22:13 +0000)
xsl/common/titles.xsl

index cabea01e8591dfa86eb50ef499da2cc1f132b576..92453352a3244910e62dda6083f7e5596c23f0b7 100644 (file)
@@ -464,11 +464,12 @@ title of the element. This does not include the label.
   </xsl:choose>
 </xsl:template>
 
-<xsl:template match="preface|chapter|appendix" mode="titleabbrev.markup">
+<xsl:template match="book|preface|chapter|appendix" mode="titleabbrev.markup">
   <xsl:param name="allow-anchors" select="0"/>
   <xsl:param name="verbose" select="1"/>
 
   <xsl:variable name="titleabbrev" select="(docinfo/titleabbrev
+                                           |bookinfo/titleabbrev
                                            |info/titleabbrev
                                            |prefaceinfo/titleabbrev
                                            |chapterinfo/titleabbrev