page sequence question

(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:repeatable-page-master-alternatives>
    <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:repeatable-page-master-alternatives>
</fo:page-sequence-master>

<fo:page-sequence-master master-name="pageSequence_Section" force-page-count="end-on-odd">
  <fo:repeatable-page-master-alternatives>
    <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" />
  </fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

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