]> granicus.if.org Git - docbook-dsssl/commitdiff
Add support for procedure title when contained in info or blockinfo.
authorBob Stayton <bobs@sagehill.net>
Wed, 28 Aug 2013 23:03:16 +0000 (23:03 +0000)
committerBob Stayton <bobs@sagehill.net>
Wed, 28 Aug 2013 23:03:16 +0000 (23:03 +0000)
xsl/html/lists.xsl

index a9832a14ede657baec0bae79641eb6bf1c2d041e..4189754a90ed39dc308d5844535bb736bdcbd791 100644 (file)
     <xsl:call-template name="anchor">
       <xsl:with-param name="conditional">
         <xsl:choose>
-          <xsl:when test="title">0</xsl:when>
+          <xsl:when test="title|info/title|blockinfo/title">0</xsl:when>
           <xsl:otherwise>1</xsl:otherwise>
         </xsl:choose>
       </xsl:with-param>
     </xsl:call-template>
 
-    <xsl:if test="(title or info/title) and $placement = 'before'">
+    <xsl:if test="(title or info/title or blockinfo/title) and $placement = 'before'">
       <xsl:call-template name="formal.object.heading"/>
     </xsl:if>
 
       </xsl:otherwise>
     </xsl:choose>
 
-    <xsl:if test="(title or info/title) and $placement != 'before'">
+    <xsl:if test="(title or info/title or blockinfo/title) and $placement != 'before'">
       <xsl:call-template name="formal.object.heading"/>
     </xsl:if>
   </div>