You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by de...@apache.org on 2010/02/18 22:35:01 UTC

svn commit: r911599 - /continuum/trunk/continuum-docs/src/site/resources/pdf-config.xml

Author: dennisl
Date: Thu Feb 18 21:35:00 2010
New Revision: 911599

URL: http://svn.apache.org/viewvc?rev=911599&view=rev
Log:
[CONTINUUM-2283] Re-do images so they appear correctly in the continuum-docs pdf

Use a hack to resize the current images only in the generated PDF. This hack is described in http://jira.codehaus.org/browse/MPDF-29

Added:
    continuum/trunk/continuum-docs/src/site/resources/pdf-config.xml   (with props)

Added: continuum/trunk/continuum-docs/src/site/resources/pdf-config.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-docs/src/site/resources/pdf-config.xml?rev=911599&view=auto
==============================================================================
--- continuum/trunk/continuum-docs/src/site/resources/pdf-config.xml (added)
+++ continuum/trunk/continuum-docs/src/site/resources/pdf-config.xml Thu Feb 18 21:35:00 2010
@@ -0,0 +1,10 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
+
+    <xsl:attribute-set name="figure.graphics">
+        <xsl:attribute name="height">100%</xsl:attribute>
+        <xsl:attribute name="width">100%</xsl:attribute>
+        <xsl:attribute name="content-height">scale-down-to-fit</xsl:attribute>
+        <xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
+    </xsl:attribute-set>
+
+</xsl:stylesheet>

Propchange: continuum/trunk/continuum-docs/src/site/resources/pdf-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-docs/src/site/resources/pdf-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author Id