← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 286: Changes to the fop-cust.xsl English version to accomadate level 4 and 5 headers which were too big.

 

------------------------------------------------------------
revno: 286
committer: Jason P. Pickering <jason.p.pickering@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Wed 2011-03-30 15:16:16 +0200
message:
  Changes to the fop-cust.xsl English version to accomadate level 4 and 5 headers which were too big.
modified:
  src/docbkx/en/resources/xsl/fop-cust.xsl


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/resources/xsl/fop-cust.xsl'
--- src/docbkx/en/resources/xsl/fop-cust.xsl	2011-01-13 16:35:18 +0000
+++ src/docbkx/en/resources/xsl/fop-cust.xsl	2011-03-30 13:16:16 +0000
@@ -463,7 +463,7 @@
         <xsl:attribute name="space-before.minimum">2em</xsl:attribute>
         <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
         <xsl:attribute name="font-size">
-            <xsl:value-of select="$body.font.master * 1.2"/>
+            <xsl:value-of select="$body.font.master * 1.4"/>
             <xsl:text>pt</xsl:text>
         </xsl:attribute>
         <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
@@ -475,6 +475,30 @@
         <xsl:attribute name="space-before.minimum">1.5em</xsl:attribute>
         <xsl:attribute name="space-before.maximum">1.5em</xsl:attribute>
         <xsl:attribute name="font-size">
+            <xsl:value-of select="$body.font.master * 1.3"/>
+            <xsl:text>pt</xsl:text>
+        </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="section.title.level3.properties">
+        <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
+        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+        <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
+        <xsl:attribute name="font-size">
+            <xsl:value-of select="$body.font.master * 1.2"/>
+            <xsl:text>pt</xsl:text>
+        </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="section.title.level4.properties">
+        <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
+        <xsl:attribute name="space-before.minimum">0.6em</xsl:attribute>
+        <xsl:attribute name="space-before.maximum">0.6em</xsl:attribute>
+        <xsl:attribute name="font-size">
             <xsl:value-of select="$body.font.master * 1.1"/>
             <xsl:text>pt</xsl:text>
         </xsl:attribute>
@@ -482,7 +506,7 @@
         <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="section.title.level3.properties">
+	<xsl:attribute-set name="section.title.level5.properties">
         <xsl:attribute name="space-before.optimum">0.4em</xsl:attribute>
         <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>
         <xsl:attribute name="space-before.maximum">0.4em</xsl:attribute>
@@ -494,7 +518,6 @@
         <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="section.title.level6.properties">
         <xsl:attribute name="space-before.optimum">0.4em</xsl:attribute>