Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 17:13:30 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject:   svn commit: r42352 - projects/db5/share/xsl
Message-ID:  <201307211713.r6LHDUV7099731@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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">



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307211713.r6LHDUV7099731>