summaryrefslogtreecommitdiff
path: root/fo/lists.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'fo/lists.xsl')
-rw-r--r--fo/lists.xsl54
1 files changed, 12 insertions, 42 deletions
diff --git a/fo/lists.xsl b/fo/lists.xsl
index fee8de1..6f04014 100644
--- a/fo/lists.xsl
+++ b/fo/lists.xsl
@@ -4,7 +4,7 @@
version='1.0'>
<!-- ********************************************************************
- $Id: lists.xsl 9115 2011-10-05 20:12:49Z bobstayton $
+ $Id: lists.xsl 9668 2012-11-28 00:47:59Z bobstayton $
********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
@@ -136,17 +136,9 @@
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
- <xsl:choose>
- <!-- * work around broken passivetex list-item-body rendering -->
- <xsl:when test="$passivetex.extensions = '1'">
- <xsl:apply-templates/>
- </xsl:when>
- <xsl:otherwise>
- <fo:block>
- <xsl:apply-templates/>
- </fo:block>
- </xsl:otherwise>
- </xsl:choose>
+ <fo:block>
+ <xsl:apply-templates/>
+ </fo:block>
</fo:list-item-body>
</xsl:variable>
@@ -385,15 +377,7 @@
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@termlength"/>
- <xsl:choose>
- <!-- workaround for passivetex lack of support for non-constant expressions -->
- <xsl:when test="$passivetex.extensions != 0">
- <xsl:text>em</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>em * 0.60</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:text>em * 0.60</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
@@ -402,15 +386,7 @@
<xsl:with-param name="terms" select="varlistentry/term"/>
<xsl:with-param name="maxlength" select="$variablelist.max.termlength"/>
</xsl:call-template>
- <xsl:choose>
- <!-- workaround for passivetex lack of support for non-constant expressions -->
- <xsl:when test="$passivetex.extensions != 0">
- <xsl:text>em</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>em * 0.60</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:text>em * 0.60</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
@@ -424,17 +400,9 @@
<xsl:variable name="label-separation">1em</xsl:variable>
<xsl:variable name="distance-between-starts">
- <xsl:choose>
- <!-- workaround for passivetex lack of support for non-constant expressions -->
- <xsl:when test="$passivetex.extensions != 0">
- <xsl:value-of select="$termlength"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$termlength"/>
- <xsl:text>+</xsl:text>
- <xsl:value-of select="$label-separation"/>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:value-of select="$termlength"/>
+ <xsl:text>+</xsl:text>
+ <xsl:value-of select="$label-separation"/>
</xsl:variable>
<xsl:if test="title">
@@ -1352,7 +1320,9 @@
<xsl:text>: ???</xsl:text>
</xsl:when>
<xsl:when test="local-name($target)='co'">
- <xsl:apply-templates select="$target" mode="callout-bug"/>
+ <fo:basic-link internal-destination="{$arearef}">
+ <xsl:apply-templates select="$target" mode="callout-bug"/>
+ </fo:basic-link>
</xsl:when>
<xsl:when test="local-name($target)='areaset'">
<xsl:call-template name="callout-bug">