You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by fe...@apache.org on 2008/01/25 22:39:22 UTC

svn commit: r615355 - /forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl

Author: ferdinand
Date: Fri Jan 25 13:39:21 2008
New Revision: 615355

URL: http://svn.apache.org/viewvc?rev=615355&view=rev
Log:
changed handling of <p quote> to reflect typographic standards in print. Quoted text is no longer set in monospace, the surrounding box is not indented (instead text in the box is padded) and text is set in italics to signal quotation.

Modified:
    forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl

Modified: forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl
URL: http://svn.apache.org/viewvc/forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl?rev=615355&r1=615354&r2=615355&view=diff
==============================================================================
--- forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl (original)
+++ forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl Fri Jan 25 13:39:21 2008
@@ -1374,11 +1374,13 @@
     <xsl:template
         match="p[@class='quote']">
         <fo:block
-            start-indent="1em"
+            padding="3pt"
+            margin="0"
             space-before="4pt"
             space-after="4pt"
             background-color="#f0f0f0"
-            font-family="monospace">
+            font-family="serif"
+            font-style="italic">
             <xsl:call-template
                 name="insertPageBreaks" />
             <xsl:apply-templates />