continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r911599 - /continuum/trunk/continuum-docs/src/site/resources/pdf-config.xml
Date Thu, 18 Feb 2010 21:35:01 GMT
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



Mime
View raw message