[svnbook] r4417 committed - * tools/fo-stylesheet.xsl...
svnbook at googlecode.com
svnbook at googlecode.com
Fri Feb 8 11:22:39 CST 2013
Revision: 4417
Author: cmpilato at gmail.com
Date: Fri Feb 8 09:22:25 2013
Log: * tools/fo-stylesheet.xsl
In the FO output flavors, make verbatim sections use a slightly
smaller monospace font size. (Mono fonts just look bigger than
variable width ones of the same height.)
http://code.google.com/p/svnbook/source/detail?r=4417
Modified:
/trunk/tools/fo-stylesheet.xsl
=======================================
--- /trunk/tools/fo-stylesheet.xsl Mon Apr 6 19:34:04 2009
+++ /trunk/tools/fo-stylesheet.xsl Fri Feb 8 09:22:25 2013
@@ -31,6 +31,12 @@
<xsl:param name="sans.font.family">sans-serif,SimHei</xsl:param>
<xsl:param name="dingbat.font.family">serif,SimSun</xsl:param>
<xsl:param
name="monospace.font.family">monospace,FangSong,SimSun</xsl:param>
+ <xsl:attribute-set name="monospace.verbatim.properties"
+ use-attribute-sets="verbatim.properties
monospace.properties">
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.master *
0.9"></xsl:value-of><xsl:text>pt</xsl:text>
+ </xsl:attribute>
+ </xsl:attribute-set>
<!-- Admonitions and callouts settings -->
<xsl:param name="admon.textlabel" select="0" />
More information about the svnbook-dev
mailing list