[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL-FO page layout question

Subject: RE: XSL-FO page layout question
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 05 Apr 2007 13:51:58 -0400
RE:  XSL-FO page layout question
Hi Cindy,

At 2007-04-05 10:40 -0400, Cindy Hunt wrote:
Thanks for the suggestion. This seems to kick it in the pants and make the first page of the next chapter know that it is a first page. One thing it now does weird is that if the page before it is blank, it now prints the even numbered page using the odd-page layout (the running head is flush right instead of left like a right hand page). So I will have 3 recto-looking pages in a row instead of the one in the middle looking like a verso.

Anyone seen this behavior before?

This is happening because of your conditional page masters. Looking at your earlier post I see the following:


>                                 <fo:page-sequence-master
> master-name="my-sequence">
>
> <fo:repeatable-page-master-alternatives>
>
><fo:conditional-page-master-reference page-position="first"
>
>master-reference="first-page" odd-or-even="odd"/>
>
><fo:conditional-page-master-reference odd-or-even="odd"
>blank-or-not-blank="not-blank"
>
>master-reference="odd-page"/>
>
><fo:conditional-page-master-reference odd-or-even="even"
>blank-or-not-blank="not-blank"
>                                               master-reference="even-page"/>
>                         <fo:conditional-page-master-reference
> blank-or-not-blank="blank"
>
>master-reference="blank-page"/>
>
></fo:repeatable-page-master-alternatives>
>                                 </fo:page-sequence-master>

I note that you do not have a conditional page master reference for a page that is not the first page and is blank. You expressly indicate in your choice that the two conditional pages must be "not-blank" to be used. Therefore, you don't have any available page master to use for your blank page.

I'm surprised you didn't get an error message along the lines of "cannot find an available page master for this page" ... you should have. Since you didn't, I guess the formatter you are using is arbitrarily picking a page geometry to use that is giving you the appearance you are seeing.

If you include in your set of choices a combination of conditions that provides for blank pages, then you should get what you want. Is there a reason you have blank-or-not-blank="not-blank" or can that now be removed so that you do have an available page master for a blank page?

I hope this helps.

. . . . . . . . . . . . Ken


-- World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.