]> granicus.if.org Git - docbook-dsssl/commitdiff
Make sure part and set titleabbrev are used in mode="titleabbrev.markup"
authorBob Stayton <bobs@sagehill.net>
Thu, 24 Jan 2013 00:16:57 +0000 (00:16 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 24 Jan 2013 00:16:57 +0000 (00:16 +0000)
xsl/common/titles.xsl

index c5fe366b5d69084810534f40a3bbe0c395726e6a..ecaff36b1353f640c8823c0b417443463e8839a1 100644 (file)
@@ -283,7 +283,7 @@ title of the element. This does not include the label.
 </xsl:template>
 
 <xsl:template match="bridgehead" mode="title.markup">
-  <xsl:apply-templates mode="title.markup"/>
+  <xsl:apply-templates/> 
 </xsl:template>
 
 <xsl:template match="refsynopsisdiv" mode="title.markup">
@@ -561,7 +561,7 @@ title of the element. This does not include the label.
   </xsl:choose>
 </xsl:template>
 
-<xsl:template match="book|preface|chapter|appendix" mode="titleabbrev.markup">
+<xsl:template match="book|part|set|preface|chapter|appendix" mode="titleabbrev.markup">
   <xsl:param name="allow-anchors" select="0"/>
   <xsl:param name="verbose" select="1"/>
 
@@ -569,6 +569,8 @@ title of the element. This does not include the label.
                                            |bookinfo/titleabbrev
                                            |info/titleabbrev
                                            |prefaceinfo/titleabbrev
+                                           |setinfo/titleabbrev
+                                           |partinfo/titleabbrev
                                            |chapterinfo/titleabbrev
                                            |appendixinfo/titleabbrev
                                            |titleabbrev)[1]"/>