]> granicus.if.org Git - docbook-dsssl/commitdiff
Add support for info/title in refsections.
authorBob Stayton <bobs@sagehill.net>
Sun, 25 Feb 2007 18:38:34 +0000 (18:38 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 25 Feb 2007 18:38:34 +0000 (18:38 +0000)
xsl/fo/refentry.xsl

index 0225fa1a5e5019af70956a6527ab0874e25e2065..6b582d49dc2cbe5de4969d110cc398dbf2e1f504 100644 (file)
                      |refsection/title
                      |refsect1/title
                      |refsect2/title
-                     |refsect3/title"
+                     |refsect3/title
+                     |refsynopsisdiv/info/title
+                     |refsection/info/title
+                     |refsect1/info/title
+                     |refsect2/info/title
+                     |refsect3/info/title"
               mode="titlepage.mode"
               priority="2">
   <xsl:call-template name="format.refentry.subheading"/>
 <!--       <xsl:with-param name="gentext.key" select="'RefName'"/> -->
 <!--     </xsl:call-template> -->
 <!-- -->
-  <xsl:param name="section" select="parent::*"/>
+  <xsl:param name="section" 
+             select="(ancestor::refsynopsysdiv 
+                     |ancestor::refsection
+                     |ancestor::refsect1
+                     |ancestor::refsect2
+                     |ancestor::refsect3)[last()]"/>
   <xsl:param name="offset" select="0"/>
   <xsl:param name="gentext.key"/>