[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] break-before="odd-page" at start of flow


Subject: RE: [xsl] break-before="odd-page" at start of flow
From: Fredrik Bengtsson <Fredrik.Bengtsson@xxxxxxxxxxxx>
Date: Thu, 21 Apr 2011 14:43:26 +0000

It most certainly does, thanks. Maybe I should notify the FOP devs.

-----Original Message-----
From: G. Ken Holman [mailto:gkholman@xxxxxxxxxxxxxxxxxxxx]
Sent: den 21 april 2011 16:34
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] break-before="odd-page" at start of flow

At 2011-04-21 14:21 +0000, Fredrik Bengtsson wrote:
>The first object in each appendix flow is a block with
>break-before="odd-page" since each appendix should start on the
>right side of a booklet. The page sequence master specifies distinct
>blank pages and the docs clearly state:
>
>   odd-page:
>   Imposes a break-before condition with a context consisting of odd
> page-areas (a blank page may be generated if necessary)

Remember that a "break condition" is not a command to break.  If the
flow is at a point that satisfies the break condition, nothing
happens.  Something only happens to ensure that the break condition
is being met.

Meanwhile, I ran your FO file through Antenna House and where you say
on page 3:

   The extra page inserted before this one (page 2) is supposed to
   use the "blank" page master, but instead it uses the
   "main.even.master" one, which leads to it having a page number
   at the bottom

... there is a completely blank page on page 2.

This leads me to think the problem is with your formatter and not your FO.

I hope this helps.

. . . . . . . . . Ken

--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


Current Thread
Keywords
xml