Togan,
There are one case, where the stylesheet does not work, and that is when
your first chapter does not have an even number of pages. I think this is
a general problem with the initial-page-number property.
How would yoy e.g. specify that a page-sequence should start on page 11,
and that the page-sequence must contain an even number of pages. That does
not seems possible, when you can't use the force-page-count property.
Regards
Jens
On Tue, 13 Aug 2002, Togan Muftuoglu wrote:
> Jens,
>
> * Jens Stavnstrup; <> on 13 Aug, 2002 wrote:
> >Togan,
> >
> >Below is a stylesheet, that solves your problem. I don't know, why I
> >havn't though of this before, since it is a much cleaner solution, and you
> >do not have to copy and override Norms templates.
>
> You are right it did solve :-) It does work with Fop 0.20.4 I owe you
> six pack feel free to grab it whenever you are in Istanbul
>
> --
>
> Togan Muftuoglu
>
> <------------------------- simple-fo.xsl--------------------------->
>
> <?xml version="1.0"?>
>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0"
> xmlns:fo="http://www.w3.org/1999/XSL/Format"
> xmlns:saxon="http://icl.com/saxon">
>
> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
>
> <xsl:output method="xml" indent="no"
> saxon:next-in-chain="fo-post-for-fop.xsl"/>
>
> <xsl:param name="paper.type" select="'A4'"/>
> <xsl:param name="double.sided"
> select="'1'"/>
>
> <!-- Shall we use extensions -->
> <!-- PDF bookmarks and index terms -->
> <!-- table extensions -->
> <xsl:param name="use.extensions" select="'1'"/>
> <xsl:param name="fop.extensions" select="1"/>
> <xsl:param name="saxon.extensions" select="1"/>
> <xsl:param name="tablecolumns.extension" select="'1'"/>
>
> </xsl:stylesheet>
>
>
>
>