Hello,
this stylesheet version play nice with FOP 0.20.4 and 0.20.5rc.
Thanks for changes:
1) usage of proportional-column-width() instead of percents
in page headers and footers
2) including patch for TOC lines
But one problem remains: page numbers for TOC are read only from
<fo:block> and not from <fo:page-sequence> (FOP bug). So that's
why parts, dedications, prefaces, chapters and appendixes don't
have a page number in TOC. But there's a simple solution:
For example for parts, the template should be changed from:
<xsl:template match="part">
...
<fo:flow flow-name="xsl-region-body">
<xsl:call-template name="part.titlepage"/>
<xsl:copy-of select="$additional.content"/>
</fo:flow>
...
</xsl:template>
to:
<xsl:template match="part">
...
<fo:flow flow-name="xsl-region-body">
<fo:block id="{$id}">
<xsl:call-template name="part.titlepage"/>
</fo:block>
<xsl:copy-of select="$additional.content"/>
</fo:flow>
...
</xsl:template>
Would it be possible to include these customizations to
official stylesheet distribution? I know it's a HACK, but
FOP redesign won't be ready soon and FOP is, in my opinion,
the best open source formatter for PDF and PS.
Martin Perina <[EMAIL PROTECTED]>