I'm finding some really strange behavior dealing with page-sequence-masters,
page-sequences, and the margins of the region body in FOP 0.92beta.
If you have a page-sequence master that has an initial page that is unique,
then has a repeated page choice (even and odd pages), then certain things
start to happen. I'm not even sure I can fully explain what all the
wierdness is.
So, the situation looks something like this in FO:
<fo:page-sequence-master master-name="chapter">
<fo:single-page-master-reference
master-reference="chapter-start-pg"/>
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference
blank-or-not-blank="blank"
master-reference="blank-pg"/>
<fo:conditional-page-master-reference odd-or-even="even"
master-reference="chapter-lhpg"/>
<fo:conditional-page-master-reference odd-or-even="odd"
master-reference="chapter-rhpg"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
First, you can't control margin-right on one of the pages after the first
unique one (in this case, none of the pagest except "chapter-start-pg"). You
can control margin-left, but that just causes the region body to shift to
the right, sliding content off the right side of the page.
However, if you change the margin-right on the unique first page
(chapter-start-pg), then it works... excpet that it changes it for all of
the pages in that page sequence. If you change margin-left on the unique
first page, then margin-RIGHT gets applied to the subsequent pages.
Also, the layout itself seems a bit peculiar. The left-hand edge of the
heading (in a region-begin) on the subsequent pages is lined up with the
text, but it isn't aligned with the right side of the text. For some reason,
the region-begin seems to hang over the edge of the region body. Which is
how I found the margin-right wierdness; I was trying to adjust the
margin-right so that they would match up. Obviously, it didn't work.
Is this some known screwyness with FOP? Or is this something recent?
--
View this message in context:
http://www.nabble.com/Bug-with-region-body-margins-and-page-seqeunces-tf2414895.html#a6731370
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]