W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2010

page sequence question

From: Mario Madunic <Mario_Madunic@newflyer.com>
Date: Thu, 11 Mar 2010 14:10:15 -0600
Message-ID: <2DB2C93EEF05E04BBF1FBB36430B796D1F7CD7FF@nfil004.newflyer.com>
To: <www-xsl-fo@w3.org>
(Using FOP.95)

I'm having trouble setting up the following page sequence between two sections.
Section TOC
  Starts odd
  Ends odd
  If TOC is only on one page no even page (start content on this page)

Section Content
  Starts even
  Ends odd

I've tried different things such as @break-before, @break-after, and @force-page-count. Whenever the TOC only has enough content for a single page, it creates an even page, which I do not want. Only to create an even page if there is enough content to flow onto a second page. This would also be the case if there are 3 or 5 pages also.

Here are the page-sequence-masters I'm using

<fo:page-sequence-master master-name="pageSequence_TOC" force-page-count="end-on-odd">
    <fo:conditional-page-master-reference odd-or-even="odd" master-reference="oddPage_TOC" />
    <fo:conditional-page-master-reference odd-or-even="even" master-reference="evenPage_TOC" />

<fo:page-sequence-master master-name="pageSequence_Section" force-page-count="end-on-odd">
    <fo:conditional-page-master-reference odd-or-even="odd" master-reference="oddPage_Section" />
    <fo:conditional-page-master-reference odd-or-even="even" master-reference="evenPage_Section" />

Any help appreciated.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and  any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.
Received on Thursday, 11 March 2010 20:10:50 UTC

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