[svnbook] r6004 committed - branches/1.8/zh/stylesheets/ custom-fo-stylesheet.xsl

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Sun Oct 13 07:55:27 CDT 2019


Revision: 6004
          http://sourceforge.net/p/svnbook/source/6004
Author:   wuzhouhui
Date:     2019-10-13 12:55:27 +0000 (Sun, 13 Oct 2019)
Log Message:
-----------
1.8/zh: pdf: decrease space before and after of verbatim tag

Modified Paths:
--------------
    branches/1.8/zh/stylesheets/custom-fo-stylesheet.xsl

Modified: branches/1.8/zh/stylesheets/custom-fo-stylesheet.xsl
===================================================================
--- branches/1.8/zh/stylesheets/custom-fo-stylesheet.xsl	2019-10-13 05:42:36 UTC (rev 6003)
+++ branches/1.8/zh/stylesheets/custom-fo-stylesheet.xsl	2019-10-13 12:55:27 UTC (rev 6004)
@@ -45,4 +45,22 @@
       </l:context>
     </l:l10n>
   </l:i18n>
+
+  <xsl:attribute-set name="verbatim.properties">
+    <xsl:attribute name="space-before.minimum">-1em</xsl:attribute>
+    <xsl:attribute name="space-before.optimum">-1em</xsl:attribute>
+    <xsl:attribute name="space-before.maximum">-1em</xsl:attribute>
+    <xsl:attribute name="space-after.minimum">-1.5em</xsl:attribute>
+    <xsl:attribute name="space-after.optimum">-1.5em</xsl:attribute>
+    <xsl:attribute name="space-after.maximum">-1.5em</xsl:attribute>
+  </xsl:attribute-set>
+
+  <xsl:attribute-set name="informal.object.properties">
+    <xsl:attribute name="space-before.minimum">-1em</xsl:attribute>
+    <xsl:attribute name="space-before.optimum">-1em</xsl:attribute>
+    <xsl:attribute name="space-before.maximum">-1em</xsl:attribute>
+    <xsl:attribute name="space-after.minimum">-1.5em</xsl:attribute>
+    <xsl:attribute name="space-after.optimum">-1.5em</xsl:attribute>
+    <xsl:attribute name="space-after.maximum">-1.5em</xsl:attribute>
+  </xsl:attribute-set>
 </xsl:stylesheet>




More information about the svnbook-dev mailing list