]> granicus.if.org Git - docbook-dsssl/commitdiff
Support title in info for figure, example, and equation. This only occurs in DocBook...
authorNorman Walsh <ndw@nwalsh.com>
Wed, 19 Jan 2005 14:48:12 +0000 (14:48 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 19 Jan 2005 14:48:12 +0000 (14:48 +0000)
xsl/common/titles.xsl

index 94a702a950913d5c1e5fb3d5298c099d81d958b0..cdec9fbc3ee2286aa3b0996592c190a86f35670d 100644 (file)
@@ -352,7 +352,7 @@ title of the element. This does not include the label.
 
 <xsl:template match="figure|example|equation" mode="title.markup">
   <xsl:param name="allow-anchors" select="0"/>
-  <xsl:apply-templates select="title" mode="title.markup">
+  <xsl:apply-templates select="title|info/title" mode="title.markup">
     <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
   </xsl:apply-templates>
 </xsl:template>