> -----Original Message-----
> From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
>
> > Is that a FOP problem or do I have an error in my FO (see attachment).
>
> Can't say for sure. Anyone to comment in on this?
>

Did further research, and the construct you use does leave quite a lot of
(maybe too much) room for interpretation...

>From the XSL-FO Rec:
<quote>
6.4.11 fo:conditional-page-master-reference
...
There are three traits, page-position, odd-or-even and blank-or-not-blank
that specify the sub-conditions on the use of the referenced page-master.
All three sub-conditions must be true for the condition on the
fo:conditional-page-master-reference to be true.
...
The sub-condition corresponding to the page-position trait is true if the
page generated using the fo:conditional-page-master-reference has the
specified position in the sequence of pages generated by the referencing
page-sequence; namely, "first", "last", "rest" (not first nor last) or "any"
(all of the previous).
</quote>

So, if you define two c-p-m-r's, one with page-position="rest" the other
with none specified, you are making certain that one way or the other, in an
N-paged page-sequence there will always be the distinction:
(page 1/page N --page-position="any") vs. (pages 2 to
N-1 --page-position="rest").

First question that arises: do you really need to do this?

Still not sure whether it would be an error in FOP to assign the
static-content only to the pages in the second c-p-r-m, but I haven't yet
found any evidence for that.


Hope this helps!

Cheers,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to