]> granicus.if.org Git - docbook-dsssl/commitdiff
use title-preamble template for table titles (instead of "sp -1"
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 3 Mar 2008 03:48:41 +0000 (03:48 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 3 Mar 2008 03:48:41 +0000 (03:48 +0000)
hack), and "sp 1" after all tables (instead of just "sp"

xsl/manpages/table.xsl

index da4dd4f91e4e769e79c0036351c996f8110c148d..56cbb5ccf1602270b0484f9a60361c0213b19765 100644 (file)
       <!-- *   Output table title                                           -->
       <!-- * ============================================================== -->
       <xsl:if test="$title != '' or parent::td">
-        <xsl:text>.PP&#10;</xsl:text>
+        <xsl:call-template name="title-preamble"/>
         <xsl:text>.</xsl:text>
         <xsl:value-of select="$tbl.font.title"/>
         <xsl:text> </xsl:text>
         </xsl:if>
         <xsl:value-of select="normalize-space($title)"/>
         <xsl:text>&#10;</xsl:text>
-        <xsl:text>.sp -1&#10;</xsl:text>
       </xsl:if>
       
       <!-- * mark the start of the table -->
       <!-- * .TE = "Table End" -->
       <xsl:text>.TE&#10;</xsl:text>
       <!-- * put a blank line of space below the table -->
-      <xsl:text>.sp&#10;</xsl:text>
+      <xsl:text>.sp 1&#10;</xsl:text>
     </xsl:for-each>
   </xsl:template>