Johan Johansson wrote:
<snip/>
I want the following conditions:
first page (odd,first) = "framsida-first"
second page (even,rest ??) = "baksida"
rest odd pages (odd,rest) = "framsida-helkropp"
rest even pages (even,rest) = "baksida-helkropp"
But the second page and rest of the even pages are the same conditions, i want
to find out if there is anyway to have a condition for the second page.
Did you test Adrian's solution? I believe it provides what you need. In
case you missed it here it is again:
<fo:page-sequence-master master-name="faktura">
<!-- used for page 1 in sequence -->
<fo:single-page-master-reference
master-reference="framsida-first"/>
<!-- used for page 2 in sequence -->
<fo:single-page-master-reference
master-reference="baksida"/>
<!-- repeatedly evaluated and conditionally selected -->
<!-- for all other pages in the sequence -->
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference
page-position="rest"
odd-or-even="odd"
master-reference="framsida-helkropp"/>
<fo:conditional-page-master-reference
page-position="rest"
odd-or-even="even"
blank-or-not-blank="not-blank"
master-reference="baksida-hellkropp"/>
<fo:conditional-page-master-reference
page-position="rest"
odd-or-even="even"
blank-or-not-blank="blank"
master-reference="baksida-blank"/>
<fo:conditional-page-master-reference
page-position="last"
odd-or-even="even"
blank-or-not-blank="not-blank"
master-reference="baksida-last"/>
<fo:conditional-page-master-reference
page-position="last"
odd-or-even="odd"
master-reference="framsida"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]