initial-page-number -> adds new page (unwanted)

Hi there, I use Apache Fop to generate .PDF

I use this source:
        <fo:simple-page-master master-name="abstractPage"
page-height="297mm"
        page-width="210mm">
          <fo:region-body margin-left="25mm" margin-bottom="20mm"
          margin-right="15mm" margin-top="15mm" background-color="#FFFFFF"/>
        </fo:simple-page-master>
        <fo:simple-page-master master-name="chapterPage" page-height="297mm"
        page-width="210mm">
          <fo:region-body margin-left="25mm" margin-bottom="20mm"
          margin-right="15mm" margin-top="15mm" background-color="#FFFFFF"/>
          <fo:region-after region-name="regionAfterChapterPage"
extent="15mm"/>
        </fo:simple-page-master>

        <fo:page-sequence-master master-name="pageSequenceAbstractPage">
          <fo:repeatable-page-master-reference
master-reference="abstractPage"/>
        </fo:page-sequence-master>
        <fo:page-sequence-master master-name="pageSequenceChapterPage">
          <fo:repeatable-page-master-reference
master-reference="chapterPage"/>
        </fo:page-sequence-master>

      <xsl:for-each select="/documentation/abstract">
        <fo:page-sequence master-reference="pageSequenceAbstractPage">
          <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
            <fo:block/>
          </fo:flow>
        </fo:page-sequence>
      </xsl:for-each>
      <fo:page-sequence master-reference="pageSequenceChapterPage"
initial-page-number="1">
        <fo:static-content flow-name="regionAfterChapterPage">
          <fo:block margin-right="15mm" text-align="end" font-size="3mm"
font-family="Helvetica" font-style="italic">
            <fo:page-number />
          </fo:block>
        </fo:static-content>
        <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
          <fo:block/>
        </fo:flow>
      </fo:page-sequence>

OK, this works.. It generates an abstract page.. followed by the
chapter-pages..

Now, the problem is: on using this initial-page-number="1", Fop generates an
additional page between this abstract and chapter page.. And I don't know
why Fop does this!!!

If i delete initial-page-number="1" there is no unwanted page generated..
But I need this initial-page-number

Someone a solution? :-) Greetings..
-- 
View this message in context: http://www.nabble.com/initial-page-number--%3E-adds-new-page-%28unwanted%29-tp16325545p16325545.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.

Received on Thursday, 27 March 2008 16:36:23 UTC