This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
margin-start bug in varlistentry template
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: margin-start bug in varlistentry template
- From: Elliotte Rusty Harold <elharo at metalab dot unc dot edu>
- Date: Thu, 26 Jul 2001 11:28:21 -0700
The XSL 1.4.1 template for varlistentry in lists.xsl uses the
margin-start property. However, there is no such property in XSL. I
think what's needed instead is either margin-left or space-start.
Currently the template reads:
<xsl:template match="varlistentry" mode="vl.as.blocks">
<xsl:variable name="id"><xsl:call-template
name="object.id"/></xsl:variable>
<fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing">
<xsl:apply-templates select="term"/>
</fo:block>
<fo:block margin-start="0.25in">
<xsl:apply-templates select="listitem"/>
</fo:block>
</xsl:template>
I think it should be:
<xsl:template match="varlistentry" mode="vl.as.blocks">
<xsl:variable name="id"><xsl:call-template
name="object.id"/></xsl:variable>
<fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing">
<xsl:apply-templates select="term"/>
</fo:block>
<fo:block margin-left="0.25in">
<xsl:apply-templates select="listitem"/>
</fo:block>
</xsl:template>
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org