You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2014/01/05 14:15:47 UTC

svn commit: r1555496 - /cayenne/main/branches/STABLE-3.1/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl

Author: aadamchik
Date: Sun Jan  5 13:15:47 2014
New Revision: 1555496

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

(cherry picked from commit 6ac097b5a1551e0265e914f37603e61533d581b7)

Modified:
    cayenne/main/branches/STABLE-3.1/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl

Modified: cayenne/main/branches/STABLE-3.1/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.1/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl?rev=1555496&r1=1555495&r2=1555496&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-3.1/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl (original)
+++ cayenne/main/branches/STABLE-3.1/docs/docbook/docbook-stylesheets/src/main/resources/stylesheets/pdf.xsl Sun Jan  5 13:15:47 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>