You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by he...@apache.org on 2006/07/09 15:47:53 UTC

svn commit: r420295 - /jakarta/velocity/docbook/trunk/src/styles/pdf/custom.xsl

Author: henning
Date: Sun Jul  9 06:47:53 2006
New Revision: 420295

URL: http://svn.apache.org/viewvc?rev=420295&view=rev
Log:
Remove large margins around lists and examples


Modified:
    jakarta/velocity/docbook/trunk/src/styles/pdf/custom.xsl

Modified: jakarta/velocity/docbook/trunk/src/styles/pdf/custom.xsl
URL: http://svn.apache.org/viewvc/jakarta/velocity/docbook/trunk/src/styles/pdf/custom.xsl?rev=420295&r1=420294&r2=420295&view=diff
==============================================================================
--- jakarta/velocity/docbook/trunk/src/styles/pdf/custom.xsl (original)
+++ jakarta/velocity/docbook/trunk/src/styles/pdf/custom.xsl Sun Jul  9 06:47:53 2006
@@ -225,6 +225,25 @@
         <xsl:attribute name="background-color">#F0F0F0</xsl:attribute>
     </xsl:attribute-set>
 
+    <xsl:attribute-set name="list.block.spacing">
+      <xsl:attribute name="space-before.optimum">0.1em</xsl:attribute>
+      <xsl:attribute name="space-before.minimum">0.1em</xsl:attribute>
+      <xsl:attribute name="space-before.maximum">0.1em</xsl:attribute>
+      <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+      <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+      <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+    </xsl:attribute-set>
+
+    <xsl:attribute-set name="example.properties">
+      <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
+      <xsl:attribute name="space-before.optimum">0.5em</xsl:attribute>
+      <xsl:attribute name="space-before.maximum">0.5em</xsl:attribute>
+      <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+      <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+      <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+      <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
+    </xsl:attribute-set>
+
 <!--###################################################
         Title information for Figures, Examples etc.
     ################################################### -->



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org