Hi Mario, The force-page-count property applies only to fo:page-sequence. You can get whant you want by using the property initial-page-number on your fo:page-sequence objects. Note you may need a blank page in your alternative sets id FOP has to insert some extra blank pages, I.E. between TOP and Content sections.
Pascal Mario Madunic a écrit : > (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 > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
