Hi Arved-

It is with FOP-0.19 not the latest CVS.  I am stuck
behind a firewall, so CVS is not really an option.

If you have multiple fo:page-sequences in a document
with either no intial-page-number attribute set, or
initial-page-number set to auto.  The first page of
each page sequence starts at 1.  But, the spec says
that the initial number should be one greater than the
last number of the preceding page-sequence.

I am using docbook-xsl 1.41 on a docbook book with
multiple chapters.  This stylesheet creates a
different page-sequence for each chapter.

See the template for chapter below.  It has an xsl:if
to reset the page numbering to 1 at the first chapter.
 I tried FOP both with and without that xsl:if to make
sure the stylesheet wasn't setting the initial page to

<xsl:template match="chapter">
  <xsl:variable name="id">
    <xsl:call-template name="object.id"/>
  <xsl:variable name="master-name">
    <xsl:call-template name="select.pagemaster"/>

  <fo:page-sequence id="{$id}"
    <xsl:attribute name="language">
      <xsl:call-template name="l10n.language"/>
    <xsl:if test="not(preceding::chapter)">
      <xsl:attribute name="initial-page-number">
    <xsl:if test="$double.sided != 0">

    <xsl:apply-templates select="."
      <xsl:with-param name="master-name"
    <xsl:apply-templates select="."
      <xsl:with-param name="master-name"

    <fo:flow flow-name="xsl-region-body">
      <xsl:call-template name="component.separator"/>
      <xsl:call-template name="chapter.titlepage"/>
      <xsl:if test="$generate.component.toc">
        <xsl:call-template name="component.toc"/>


--- Arved Sandstrom <[EMAIL PROTECTED]> wrote:
> At 10:17 AM 8/8/01 -0700, Don Wellington wrote:
> >3) Pagination accross multiple page sequences
> doesn't
> >work according to the xsl:fo spec.  Something else
> I
> >want to look into fixing in FOP.
> Hi, Don
> Can you clarify? Are we talking about the latest
> CVS? Can you give me an 
> example of where you think things are wrong?
> Thanks,
> Arved
> Fairly Senior Software Type
> e-plicity (http://www.e-plicity.com)
> Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia
> To unsubscribe, e-mail:
> For additional commands, email:

Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to