(franklin_2pageseqs.fo)
The example is similar but in critical points different:

This is what I needed:

<fo:layout-master-set>

                        <fo:simple-page-master master-name="rightpage"
                                page-width="210mm"  page-height="297mm"
                                margin-top="1.5cm"  margin-bottom="0.5cm"
                                margin-left="3.5cm" margin-right="2.5cm"
                                orphans="2" widows="2">

                                <fo:region-before extent="1cm"/>
                                <fo:region-after extent="1.5cm"/>

                                <fo:region-body margin-top="1cm" margin-bottom="1.5cm" 
margin-left="0cm"
margin-right="0cm"/>
                </fo:simple-page-master>

                        <fo:simple-page-master master-name="leftpage"
                                page-width="210mm"  page-height="297mm"
                                margin-top="1.5cm"  margin-bottom="0.5cm"
                                margin-left="2.5cm" margin-right="3.5cm"
                                orphans="2" widows="2">

                                <fo:region-before extent="1cm"/>
                                <fo:region-after extent="1.5cm"/>

                                <fo:region-body margin-top="1cm" margin-bottom="1.5cm" 
margin-left="0cm"
margin-right="0cm"/>
                </fo:simple-page-master>

                <fo:page-sequence-master master-name="odd_pages">
                                <fo:repeatable-page-master-alternatives>
                                                <fo:conditional-page-master-reference 
master-name="rightpage"
odd-or-even="odd"/>
                                </fo:repeatable-page-master-alternatives>
                </fo:page-sequence-master>

                <fo:page-sequence-master master-name="even_pages">
                                <fo:repeatable-page-master-alternatives>
                                                <fo:conditional-page-master-reference 
master-name="leftpage"
odd-or-even="even"/>
                                </fo:repeatable-page-master-alternatives>
                </fo:page-sequence-master>

                </fo:layout-master-set>

<fo:page-sequence master-name="odd_pages">

<fo:static-content flow-name="xsl-region-after">
<fo:block text-align="end">
<fo:page-number/>
</fo:block>
</fo:static-content>

<fo:flow flow-name="xsl-region-body">
        <xsl:apply-templates/>
</fo:flow>
</fo:page-sequence>


<fo:page-sequence master-name="even_pages">

<fo:static-content flow-name="xsl-region-after">
fo:block text-align="start">
<fo:page-number/>
</fo:block>
</fo:static-content>

<fo:flow flow-name="xsl-region-body">
        <xsl:apply-templates/>
</fo:flow>
</fo:page-sequence>

But it doesn't work!

I found two reasons:
a) It seems that the attribute 'odd-or-even' in
fo:conditional-page-master-reference has to be used as a pair.
b) I have to use fo:flow and xsl:apply-templates twice.

Has anyone an idea to find another way?

Jörg





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

Reply via email to