]> granicus.if.org Git - docbook-dsssl/commitdiff
Support bold output for "emphasis remap='B'". (because Eric
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 13 Mar 2006 14:45:42 +0000 (14:45 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 13 Mar 2006 14:45:42 +0000 (14:45 +0000)
Raymond's doclifter(1) tool converts groff source marked up with
".B" request or "\fB" escapes to DocBook "emphasis remap='B'".)

xsl/manpages/inline.xsl

index c053cb7701ef600a38b8f23c9741b96bf5870b96..d32fb8c91c0a4f32e369d8fd2df1d21db10f898d 100644 (file)
@@ -48,7 +48,9 @@
 
 <xsl:template match="emphasis">
   <xsl:choose>
-    <xsl:when test="@role = 'bold' or @role = 'strong'">
+    <xsl:when test="@role = 'bold' or
+                    @role = 'strong' or
+                    @remap = 'B'">
       <xsl:apply-templates mode="bold" select="."/>
     </xsl:when>
     <xsl:otherwise>