Re: [xsl] [FO] page-sequence/@initial-page-number creates blank page

Subject: Re: [xsl] [FO] page-sequence/@initial-page-number creates blank page
From: Xmlizer <xmlizer+xsllist@xxxxxxxxx>
Date: Fri, 19 Jun 2009 15:51:32 +0200
Add force-page-count="odd" to your first page sequence

Xmlizer

On Fri, Jun 19, 2009 at 3:10 PM, Florent Georges<lists@xxxxxxxxxxxx> wrote:
>
>  Hi,
>
>  I've just found a weird behaviour with the following document:
>
>    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>       <fo:layout-master-set>
>          <fo:simple-page-master
>                master-name="m" margin="7.5mm"
>                page-height="210mm" page-width="297mm">
>             <fo:region-body/>
>          </fo:simple-page-master>
>       </fo:layout-master-set>
>       <fo:page-sequence master-reference="m">
>          <fo:flow flow-name="xsl-region-body">
>             <fo:block>block</fo:block>
>          </fo:flow>
>       </fo:page-sequence>
>       <fo:page-sequence master-reference="m"
>                         initial-page-number="1">
>          <fo:flow flow-name="xsl-region-body">
>             <fo:block>block</fo:block>
>          </fo:flow>
>       </fo:page-sequence>
>    </fo:root>
>
>  The result is a document in 3 pages, with the word "block" on
> the first and the last one (as expected) but with an extra blank
> page between them (this one is not expected.)
>
>  If I remove @initial-page-number, the result is as expected
> (except that my real problem does rely on this attribute to have
> correct number pages, of course.)
>
>  Is it a problem of my processor or is it the expected behaviour
> (or did I do something wrong?)
>
>  I use Apache FOP 0.95.
>
>  Regards,
>
> --
> Florent Georges
> http://www.fgeorges.org/

Current Thread