]> granicus.if.org Git - docbook-dsssl/commitdiff
use the make.subheading template to generated SH subheading for
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 26 Feb 2008 10:00:51 +0000 (10:00 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 26 Feb 2008 10:00:51 +0000 (10:00 +0000)
endnotes section.

xsl/manpages/endnotes.xsl

index c3e54d4ea16f2d5206cff879ed08c989d4982d72..1b81be54e47fe20717f4fdf9a1cdbf8eef7c6126 100644 (file)
 
 <xsl:template name="format.endnotes.list">
   <xsl:param name="endnotes"/>
-  <xsl:call-template name="mark.subheading"/>
 
   <!-- * ======= make the endnotes-list section heading ============= -->
-  <xsl:text>.SH "</xsl:text>
-  <xsl:call-template name="string.upper">
-    <xsl:with-param name="string">
+  <xsl:call-template name="make.subheading">
+    <xsl:with-param name="title">
       <xsl:choose>
         <!-- * if user has specified a heading, use that -->
         <xsl:when test="$man.endnotes.list.heading != ''">
       </xsl:choose>
     </xsl:with-param>
   </xsl:call-template>
-  <xsl:text>"&#10;</xsl:text>
 
   <!-- * ================ process each earmark ====================== -->
   <xsl:for-each select="$endnotes/earmark">