]> granicus.if.org Git - docbook-dsssl/commitdiff
Made Funcsynopsisinfo bold, and made it a proper .PP block, and
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 13 Jul 2005 03:48:44 +0000 (03:48 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 13 Jul 2005 03:48:44 +0000 (03:48 +0000)
removed the extra space (.sp) that was being added after it.

xsl/manpages/synop.xsl

index 0709d23cf575462e6db25111ae842a4cedabb8da..c48fa3e5bcca1028f94c1bb603557815094cff1b 100644 (file)
 
 <!-- ==================================================================== -->
 
-<xsl:template match="funcsynopsisinfo">
-  <xsl:text>&#10;</xsl:text>
-  <xsl:apply-templates/>
-  <xsl:text>&#10;</xsl:text>
-  <xsl:text>.sp&#10;</xsl:text>
-</xsl:template>
-
 <!-- * Within funcsynopis output, disable hyphenation, and use -->
 <!-- * left-aligned filling for the duration of the synopsis, so that -->
 <!-- * line breaks only occur between separate paramdefs. -->
 <!-- * that document functions, and there's no good reason for us to -->
 <!-- * be following it. -->
 
+<xsl:template match="funcsynopsisinfo">
+  <xsl:text>.PP&#10;</xsl:text>
+  <xsl:apply-templates mode="bold" select="."/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
 <xsl:template match="funcprototype">
   <xsl:variable name="funcprototype.string.value">
     <xsl:value-of select="funcdef"/>