]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed bug #1542773 section title in info not working, for db5 too.
authorBob Stayton <bobs@sagehill.net>
Thu, 24 Aug 2006 15:36:31 +0000 (15:36 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 24 Aug 2006 15:36:31 +0000 (15:36 +0000)
xsl/fo/sections.xsl
xsl/html/sections.xsl

index 3fa7ac1b25589972f1c60a7311d1d1ad88f088fe..27426b3ebeab8054fd9b4b72c831a25652786104 100644 (file)
                      |sect2/info/title
                      |sect3/info/title
                      |sect4/info/title
-                     |sect5/info/title"
+                     |sect5/info/title
+                     |section/sectioninfo/title
+                     |sect1/sect1info/title
+                     |sect2/sect2info/title
+                     |sect3/sect3info/title
+                     |sect4/sect4info/title
+                     |sect5/sect5info/title"
               mode="titlepage.mode"
               priority="2">
 
index 97892d939d5f4c5198921992dbe75b1aaf6aea1e..04a9c50655c39bf8d6cf61bf45e693f05419f14c 100644 (file)
@@ -89,7 +89,9 @@
   </xsl:call-template>
 </xsl:template>
 
-<xsl:template match="section/title|section/info/title" 
+<xsl:template match="section/title
+                    |section/info/title
+                    |sectioninfo/title" 
               mode="titlepage.mode" priority="2">
   <xsl:call-template name="section.title"/>
 </xsl:template>
   </div>
 </xsl:template>
 
-<xsl:template match="sect1/title|sect1/info/title" 
+<xsl:template match="sect1/title
+                    |sect1/info/title
+                    |sect1info/title" 
               mode="titlepage.mode" priority="2">
   <xsl:call-template name="section.title"/>
 </xsl:template>
   </div>
 </xsl:template>
 
-<xsl:template match="sect2/title|sect2/info/title" 
+<xsl:template match="sect2/title
+                    |sect2/info/title
+                    |sect2info/title" 
               mode="titlepage.mode" priority="2">
   <xsl:call-template name="section.title"/>
 </xsl:template>
   </div>
 </xsl:template>
 
-<xsl:template match="sect3/title|sect3/info/title" 
+<xsl:template match="sect3/title
+                    |sect3/info/title
+                    |sect3info/title" 
               mode="titlepage.mode" priority="2">
   <xsl:call-template name="section.title"/>
 </xsl:template>
   </div>
 </xsl:template>
 
-<xsl:template match="sect4/title|sect4/info/title" 
+<xsl:template match="sect4/title
+                    |sect4/info/title
+                    |sect4info/title" 
               mode="titlepage.mode" priority="2">
   <xsl:call-template name="section.title"/>
 </xsl:template>
   </div>
 </xsl:template>
 
-<xsl:template match="sect5/title|sect5/info/title" 
+<xsl:template match="sect5/title
+                    |sect5/info/title
+                    |sect5info/title" 
               mode="titlepage.mode" priority="2">
   <xsl:call-template name="section.title"/>
 </xsl:template>