RE: page-sequence-master

Hi Alberto,
	I suggest you to use an approach similar to this one:

<fo:page-sequence-master master-name="toc">
   <fo:single-page-master-reference master-reference="first"/>
</fo:page-sequence-master>
<fo:page-sequence-master master-name="content">
   <fo:repeatable-page-master-reference master-reference="main"/>
</fo:page-sequence-master>

and then an fo:page-sequence as this:

<fo:page-sequence  master-reference="toc">
   <fo:flow flow-name="xsl-region-body">
          TOC 
   </fo:flow>
</fo:page-sequence>
<fo:page-sequence  master-reference="content">
   <fo:flow flow-name="xsl-region-body">
          content
   </fo:flow>
</fo:page-sequence>

Hope this helps,
Fabio


> -----Original Message-----
> From: Alberto Bolchini [mailto:albertob@engitel.com]
> Sent: Monday, December 16, 2002 8:51 AM
> To: www-xsl-fo@w3.org
> Subject: page-sequence-master
> 
> 
> 
> Hi,
> 
> I am trying to obtain a document with a first page template and a
> "rest-of-doc" template. On this forst page, a TOC and other infos
> appear, and eventually the TOC might take a second page, 
> having to have
> the "rest-of-doc" template (same doc as the thread
> http://lists.w3.org/Archives/Public/www-xsl-fo/2002Dec/0051.html)
> 
> I specified the following page-sequence-master (actually using FOP
> 0.20.1 so master-name => master-reference), expecting it to let my TOC
> be layouted with the "main" template instead of the "first" 
> whenever it
> overflew the first page, though what happens is I get an 
> "empty" layout
> (neither master-name="first" nor master-name="main").
> 
> What am I missing?
> 
> <fo:page-sequence-master master-name="content">
>   <fo:single-page-master-reference master-name="first"/>
>   <fo:repeatable-page-master-reference master-name="main"/>
> </fo:page-sequence-master>
> 
> 
> Thanks,
> 
> Alberto
> 

Received on Tuesday, 17 December 2002 04:06:39 UTC