W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2002

RE: page-sequence-master

From: Alberto Bolchini <albertob@engitel.com>
Date: Tue, 17 Dec 2002 11:14:17 +0100
Message-ID: <B5F82C9C6AF01A449981BCDCA232D66939F5A1@shark.etweb.it>
To: "Giannetti, Fabio" <Fabio_Giannetti@hplb.hpl.hp.com>, <www-xsl-fo@w3.org>

I try to recap:

a. document should have a first page layout different from the rest of
the document
b. on the first page, a TOC exists -- plus other things (the footer hack
you suggested works perfectly)
c. TOC might span more than one page => what gets laid-out on the second
page needs to have "rest-of-doc" layout, and not the "first-page"

I presume that given the two physical layouts:
  <fo:simple-page-master master-name="A" ...
  <fo:simple-page-master master-name="B" ... 

and a single sequence master:
  <fo:page-sequence-master master-name="content">
    <fo:single-page-master-reference master-name="A"/>
    <fo:repeatable-page-master-reference master-name="B"/>

content specified as:
  <fo:page-sequence master-name="content" initial-page-number="1" ... 
    <!-- TOC -->
  <fo:page-sequence master-name="B" ... 
    <!-- DOC --> 
everything should work.

I tried out the following sequence masters as well:

(1) <fo:page-sequence-master master-name="content">
      <fo:repeatable-page-master-reference master-name="A"
      <fo:repeatable-page-master-reference master-name="B"/>

(2) <fo:page-sequence-master master-name="content">
        <fo:conditional-page-master-reference page-position="first"
        <fo:conditional-page-master-reference page-position="rest"

but none of them seems to work as I expect.
Received on Tuesday, 17 December 2002 05:16:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:27 UTC