svn commit: r42352 - projects/db5/share/xsl

Gabor Kovesdan gabor at FreeBSD.org
Sun Jul 21 17:13:30 UTC 2013


Author: gabor
Date: Sun Jul 21 17:13:29 2013
New Revision: 42352
URL: http://svnweb.freebsd.org/changeset/doc/42352

Log:
  - Stick captions where they belong

Modified:
  projects/db5/share/xsl/freebsd-fo.xsl

Modified: projects/db5/share/xsl/freebsd-fo.xsl
==============================================================================
--- projects/db5/share/xsl/freebsd-fo.xsl	Sun Jul 21 16:18:47 2013	(r42351)
+++ projects/db5/share/xsl/freebsd-fo.xsl	Sun Jul 21 17:13:29 2013	(r42352)
@@ -279,14 +279,22 @@
       <xsl:choose>
 	<xsl:when test="$placement = 'before'">
 	  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
-	  <xsl:attribute name="space-before">12pt</xsl:attribute>
-	  <xsl:attribute name="space-after">3pt</xsl:attribute>
+          <xsl:attribute name="space-before.minimum">12pt</xsl:attribute>
+          <xsl:attribute name="space-before.optimum">12pt</xsl:attribute>
+          <xsl:attribute name="space-before.maximum">12pt</xsl:attribute>
+          <xsl:attribute name="space-after.minimum">0</xsl:attribute>
+          <xsl:attribute name="space-after.optimum">0</xsl:attribute>
+          <xsl:attribute name="space-after.maximum">0</xsl:attribute>
 	</xsl:when>
 
 	<xsl:otherwise>
 	  <xsl:attribute name="keep-with-previous.within-column">always</xsl:attribute>
-	  <xsl:attribute name="space-before">3pt</xsl:attribute>
-	  <xsl:attribute name="space-after">12pt</xsl:attribute>
+	  <xsl:attribute name="space-before.minimum">0</xsl:attribute>
+	  <xsl:attribute name="space-before.optimum">0</xsl:attribute>
+	  <xsl:attribute name="space-before.maximum">0</xsl:attribute>
+	  <xsl:attribute name="space-after.minimum">12pt</xsl:attribute>
+	  <xsl:attribute name="space-after.optimum">12pt</xsl:attribute>
+	  <xsl:attribute name="space-after.maximum">12pt</xsl:attribute>
 	</xsl:otherwise>
       </xsl:choose>
       <xsl:apply-templates select="$object" mode="object.title.markup">


More information about the svn-doc-projects mailing list