|
@@ -55,7 +55,7 @@
|
|
|
<!-- para:
|
|
|
Skip empty "Home page" in packages.xml.
|
|
|
Allow forced line breaks inside paragraphs emulating literallayout.
|
|
|
- Removed vertical space in vaiablelist. -->
|
|
|
+ Removed vertical space in variablelist. -->
|
|
|
<!-- The original template is in {docbook-xsl}/fo/block.xsl -->
|
|
|
<xsl:template match="para">
|
|
|
<xsl:choose>
|
|
@@ -116,11 +116,27 @@
|
|
|
<xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
|
|
|
</xsl:attribute-set>
|
|
|
|
|
|
- <!-- What spacing do you want between list items? -->
|
|
|
+ <!-- What spacing do you want between list items?
|
|
|
+ No space in nested itemizedlist, like in the Changelog. -->
|
|
|
<xsl:attribute-set name="list.item.spacing">
|
|
|
- <xsl:attribute name="space-before.optimum">0.4em</xsl:attribute>
|
|
|
- <xsl:attribute name="space-before.minimum">0.2em</xsl:attribute>
|
|
|
- <xsl:attribute name="space-before.maximum">0.6em</xsl:attribute>
|
|
|
+ <xsl:attribute name="space-before.optimum">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test=". = //listitem/itemizedlist/listitem">0em</xsl:when>
|
|
|
+ <xsl:otherwise>0.4em</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:attribute>
|
|
|
+ <xsl:attribute name="space-before.minimum">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test=". = //listitem/itemizedlist/listitem">0em</xsl:when>
|
|
|
+ <xsl:otherwise>0.2em</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:attribute>
|
|
|
+ <xsl:attribute name="space-before.maximum">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test=". = //listitem/itemizedlist/listitem">0.2em</xsl:when>
|
|
|
+ <xsl:otherwise>0.6em</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:attribute>
|
|
|
</xsl:attribute-set>
|
|
|
|
|
|
<!-- Properties that apply to each list-block generated by itemizedlist. -->
|
|
@@ -248,6 +264,7 @@
|
|
|
</xsl:choose>
|
|
|
</xsl:template>
|
|
|
|
|
|
+ <!-- Self-made calculation template. -->
|
|
|
<xsl:template name="calculation">
|
|
|
<xsl:param name="scope"/>
|
|
|
<xsl:param name="total">0</xsl:param>
|