]> granicus.if.org Git - docbook-dsssl/commitdiff
Patch #1027078: Support role=strong on emphasis
authorNorman Walsh <ndw@nwalsh.com>
Sat, 23 Oct 2004 11:57:00 +0000 (11:57 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sat, 23 Oct 2004 11:57:00 +0000 (11:57 +0000)
xsl/fo/inline.xsl

index e279fbe1c2f8a1f41c64ec6189915ab41fa5e5f0..30564a92f9baa37dc5337237dc03a7967b896b6f 100644 (file)
 <xsl:template match="emphasis">
   <xsl:variable name="depth">
     <xsl:call-template name="dot.count">
-      <xsl:with-param name="string"><xsl:number level="multiple"/></xsl:with-param>
+      <xsl:with-param name="string">
+       <xsl:number level="multiple"/>
+      </xsl:with-param>
     </xsl:call-template>
   </xsl:variable>
 
   <xsl:choose>
-    <xsl:when test="@role='bold'">
+    <xsl:when test="@role='bold' or @role='strong'">
       <xsl:call-template name="inline.boldseq"/>
     </xsl:when>
     <xsl:when test="@role='underline'">