Re: add a text block at 3rd page of a sequence

David,

i am really sorry - i have written more than 2000 lines in my .fo script 
in the last 3 days (and nights) but i just don't understand Ken's and 
your reply (apart from that script i am still a fo-newbie, btw).

   <fo:page-sequence-master master-name="seq01">
     <fo:repeatable-page-master-reference master-reference="chap01"
           maximum-repeats="2" />
     <fo:single-page-master-reference master-reference="chap01_PAGE3" />
     <fo:repeatable-page-master-reference master-reference="chap01" />
   </fo:page-sequence-master>

OK - i want to add a block-container in chap01_PAGE3. But how? I can add 
it to the page-sequence, but not to chap01_PAGE3 itself! But if i add it 
to the page-sequence, then it would appear on *every* page in seq01.

<fo:page-sequence master-reference="seq03"> 

   <fo:static-content flow-name="xsl-region-body">
     ... the block-container...
   </fo:static-content>
   ...
</fo:page-sequence>

I don't know of any other place where i could add it!

The only way i can see is to create three sequences:

   <fo:page-sequence-master master-name="seq01">
     <fo:repeatable-page-master-reference master-reference="chap01"
           maximum-repeats="2" />
   </fo:page-sequence-master>
   <fo:page-sequence-master master-name="seq02">
     <fo:single-page-master-reference master-reference="chap01_PAGE3" />
   </fo:page-sequence-master>
   <fo:page-sequence-master master-name="seq03">
     <fo:repeatable-page-master-reference master-reference="chap01" />
   </fo:page-sequence-master>

Now i can change page-sequence seq02 and add the block-container:

<fo:page-sequence master-reference="seq02" initial-page-number="3"> 

   <fo:static-content flow-name="xsl-region-body">
     ... the block-container...
   </fo:static-content>
   ...
</fo:page-sequence>

But that would kill the whole layout, because the text in fo:flow would 
be interrupted...

I hope/guess that this has such a simple solution that i can't see it.

Absolutely helpless,
Chris

Received on Wednesday, 3 September 2003 08:11:14 UTC