cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1555494 - /cayenne/main/trunk/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl
Date Sun, 05 Jan 2014 13:14:16 GMT
Author: aadamchik
Date: Sun Jan  5 13:14:16 2014
New Revision: 1555494

URL: http://svn.apache.org/r1555494
Log:
decreasing the size of 'code' tags and increasing that of 'programlisting'

Modified:
    cayenne/main/trunk/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl

Modified: cayenne/main/trunk/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl?rev=1555494&r1=1555493&r2=1555494&view=diff
==============================================================================
--- cayenne/main/trunk/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl
(original)
+++ cayenne/main/trunk/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl
Sun Jan  5 13:14:16 2014
@@ -360,10 +360,18 @@
                      Programlistings
    ################################################### -->
 
+    <!-- Verbatim text formatting (<code>) -->
+    <xsl:attribute-set name="monospace.properties">
+        <xsl:attribute name="font-size">
+            <xsl:value-of select="$body.font.small"/>
+            <xsl:text>pt</xsl:text>
+        </xsl:attribute>
+    </xsl:attribute-set>
+
     <!-- Verbatim text formatting (programlistings) -->
     <xsl:attribute-set name="monospace.verbatim.properties">
         <xsl:attribute name="font-size">
-            <xsl:value-of select="$body.font.small * 0.9"/>
+            <xsl:value-of select="$body.font.small"/>
             <xsl:text>pt</xsl:text>
         </xsl:attribute>
     </xsl:attribute-set>



Mime
View raw message