This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
XSL 1.60.1 Revisionhistory fix for FOP
- From: Togan Muftuoglu <toganm at users dot sourceforge dot net>
- To: Docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 31 Jan 2003 14:29:50 +0200
- Subject: DOCBOOK-APPS: XSL 1.60.1 Revisionhistory fix for FOP
Hi
With the 1.60.1 release of the Docbook XSL Stylesheets FOP works better
with the proportional-column-width() However revhistory is using tables
and fo/block.xsl needs to be changed as well. I have added the necessary
template to the project page
http://sourceforge.net/tracker/index.php?func=detail&aid=678100&group_id=21935&atid=373749
and the template should look like as follows
<xsl:template match="revhistory">
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-number="1" column-width="proportional-column-width(1)"/>
<fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
<fo:table-column column-number="3" column-width="proportional-column-width(1)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell number-columns-spanned="3">
<fo:block>
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'RevHistory'"/>
</xsl:call-template>
</fo:block>
</fo:table-cell>
</fo:table-row>
<xsl:apply-templates/>
</fo:table-body>
</fo:table>
</xsl:template>
--
Togan Muftuoglu