Thanks, Ken. This helped me get started and I think I have it all figured out.
I removed all of my blank page definitions and references. I also had to change
to force-page-count="end-on-even".
I appreciate everyone's help with this!
Cindy Hunt
-----Original Message-----
From: G. Ken Holman [mailto:gkholman(_at_)CraneSoftwrights(_dot_)com]
Sent: Thursday, April 05, 2007 1:52 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] 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(_at_)CraneSoftwrights(_dot_)com
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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--