]> granicus.if.org Git - docbook-dsssl/commitdiff
Switching to em dash for character before attribution in epigraph; resolves Bug ...
authorKeith Fahlgren <abdelazer@users.sourceforge.net>
Sun, 24 May 2009 02:14:56 +0000 (02:14 +0000)
committerKeith Fahlgren <abdelazer@users.sourceforge.net>
Sun, 24 May 2009 02:14:56 +0000 (02:14 +0000)
xsl/fo/block.xsl
xsl/html/block.xsl

index 53e56c304dea71c1a102fdf5474a4af4345ec9fd..3c7a3b21117309622270f931ca5a5edf3deb8f5e 100644 (file)
   </fo:block>
 </xsl:template>
 
+<!-- Use an em dash per Chicago Manual of Style and https://sourceforge.net/tracker/index.php?func=detail&aid=2793878&group_id=21935&atid=373747 -->
 <xsl:template match="epigraph">
   <fo:block>
     <xsl:call-template name="anchor"/>
     <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
     <xsl:if test="attribution">
       <fo:inline>
-        <xsl:text>--</xsl:text>
+        <xsl:text>&#x2014;</xsl:text>
         <xsl:apply-templates select="attribution"/>
       </fo:inline>
     </xsl:if>
index 431098a2b8dd8f5a1a19b2600a1e804301c43cc1..802bfaa0a1ea74fe3f1ba16e34539cb2baf3ba05 100644 (file)
   </div>
 </xsl:template>
 
+<!-- Use an em dash per Chicago Manual of Style and https://sourceforge.net/tracker/index.php?func=detail&aid=2793878&group_id=21935&atid=373747 -->
 <xsl:template match="epigraph">
   <div>
     <xsl:call-template name="common.html.attributes"/>
       <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
       <xsl:if test="attribution">
         <div class="attribution">
-          <span>--<xsl:apply-templates select="attribution"/></span>
+          <span>&#x2014;<xsl:apply-templates select="attribution"/></span>
         </div>
       </xsl:if>
   </div>