Author: manuel
Date: 2007-04-06 14:36:19 -0600 (Fri, 06 Apr 2007)
New Revision: 8021
Modified:
branches/new-xsl/pdf/lfs-mixed.xsl
Log:
Fixed Dependencies appendix look.
Modified: branches/new-xsl/pdf/lfs-mixed.xsl
===================================================================
--- branches/new-xsl/pdf/lfs-mixed.xsl 2007-04-06 18:30:53 UTC (rev 8020)
+++ branches/new-xsl/pdf/lfs-mixed.xsl 2007-04-06 20:36:19 UTC (rev 8021)
@@ -172,13 +172,32 @@
</xsl:template>
<!-- segmentedlist:
- Making it an actual FO list to can indent items. -->
+ Making it an actual FO list to can indent items.
+ Adjust vertical space. -->
<!-- The original template is in {docbook-xsl}/fo/list.xsl -->
<xsl:template match="segmentedlist">
<fo:list-block provisional-distance-between-starts="12em"
provisional-label-separation="1em"
- xsl:use-attribute-sets="list.block.spacing"
keep-together.within-column="always">
+ <xsl:choose>
+ <xsl:when test="ancestor::[EMAIL PROTECTED]'appendixc']">
+ <xsl:attribute name="space-before.optimum">0.2em</xsl:attribute>
+ <xsl:attribute name="space-before.minimum">0em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">0.4em</xsl:attribute>
+ <xsl:attribute name="space-after.optimum">0.2em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">0.4em</xsl:attribute>
+ <xsl:attribute
name="keep-with-previous.within-column">always</xsl:attribute>
+ </xsl:when>
+ <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
+ <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
+ <xsl:otherwise>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:apply-templates select="seglistitem/seg"/>
</fo:list-block>
</xsl:template>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page