You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2011/06/07 16:00:18 UTC

svn commit: r1133015 - /maven/site/trunk/src/site/resources/pdf-config.xml

Author: ltheussl
Date: Tue Jun  7 14:00:17 2011
New Revision: 1133015

URL: http://svn.apache.org/viewvc?rev=1133015&view=rev
Log:
tweak some properties for pdf

Added:
    maven/site/trunk/src/site/resources/pdf-config.xml

Added: maven/site/trunk/src/site/resources/pdf-config.xml
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/resources/pdf-config.xml?rev=1133015&view=auto
==============================================================================
--- maven/site/trunk/src/site/resources/pdf-config.xml (added)
+++ maven/site/trunk/src/site/resources/pdf-config.xml Tue Jun  7 14:00:17 2011
@@ -0,0 +1,24 @@
+<xsl:stylesheet
+  version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+<xsl:attribute-set name="figure.graphics">
+    <xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
+    <xsl:attribute name="content-height">scale-down-to-fit</xsl:attribute>
+    <xsl:attribute name="width">100%</xsl:attribute>
+    <xsl:attribute name="height">100%</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="base.pre.style">
+    <xsl:attribute name="font-family">monospace</xsl:attribute>
+    <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
+    <xsl:attribute name="keep-together">auto</xsl:attribute>
+    <xsl:attribute name="white-space-collapse">false</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="body.pre" use-attribute-sets="base.pre.style">
+    <xsl:attribute name="font-size">9pt</xsl:attribute>
+</xsl:attribute-set>
+
+</xsl:stylesheet>