]> granicus.if.org Git - docbook-dsssl/commitdiff
revert misguided dependence on emphasis.propagates.style in
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 24 Feb 2005 05:31:59 +0000 (05:31 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 24 Feb 2005 05:31:59 +0000 (05:31 +0000)
manpages output; manpages are now just hard-coded (not
configurable) to turn emphasis into groff italic and emphasis
role=bold|strong into groff bold; this is equivalent to what is
done for HTML output; should it be configurable?

xsl/manpages/docbook.xsl

index d0f4367b87a7958e23c758b344f6f87164cfee00..3afcf1616e2c3eb4ed67545b7f3a24aae1973be2 100644 (file)
 
 <xsl:template match="emphasis">
   <xsl:choose>
-    <xsl:when test="@role = 'bold' and $emphasis.propagates.style != 0">
+    <xsl:when test="@role = 'bold' or @role = 'strong'">
       <xsl:text>\fB</xsl:text><xsl:apply-templates/><xsl:text>\fR</xsl:text>
     </xsl:when>
     <xsl:otherwise>