I think you must only start a new page sequence
<fo:page-sequence master-reference="toto"> when you start page 6 ect..
when toto is:
<fo:page-sequence-master master-name="toto">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="first"
page-position="first"/>
<fo:conditional-page-master-reference master-reference="rest"
page-position="rest"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
jf
----- Original Message -----
From: "Ottenkamp, HBT (Bart)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 28, 2004 5:11 PM
Subject: changing the page-layout dynamically
> Hai there,
>
> I've got a question concerning the layouts of the pages of my document.
I've got the 'repeatable-page-master-alternatives' configured as follows:
>
> <fo:repeatable-page-master-alternatives>
> <fo:conditional-page-master-reference master-reference="first"
page-position="first"/>
> <fo:conditional-page-master-reference master-reference="rest"
page-position="rest"/>
> </fo:repeatable-page-master-alternatives>
>
> this way, I get the layout coupled to 'first' on the first page of my
document and the layout coupled to 'rest' on the rest of the pages of my
document. This is not completely what I want, because I want to change the
type of layout during building of the document, so that, for instance, page
1 gets layout 'first', pages 2,3,4 and 5 get layout 'rest', page 6 gets
layout 'first' again and pages 7, 8, 9 and 10 get layout 'rest' again...
Basically what I want is to present the same document more than ones in the
same pdf, biut every time I start with the next one, I want to start with
the 'first' page again...
> I have no idea of how to do this, but I am thinking of defining a template
that, when called upon, changes the layout (master-reference)...???
> I hope anyone can help me??
> Greetings
> Bart Ottenkamp
> [EMAIL PROTECTED]
>
>
>
>
> ================================================
> De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
> is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
> onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en
> de afzender direct te informeren door het bericht te retourneren.
> ================================================
> The information contained in this message may be confidential
> and is intended to be exclusively for the addressee. Should you
> receive this message unintentionally, please do not use the contents
> herein and notify the sender immediately by return e-mail.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]