W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2003

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

From: Christoph Rupp <crupp@umc-web.de>
Date: Wed, 03 Sep 2003 14:09:47 +0200
Message-ID: <3F55DA0B.5000604@umc-web.de>
To: www-xsl-fo@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT