Hi,

did you try a solution mixing page-sequence-master odd/even with a
fo:marker that comes at the end of the fo:flow?
that should do the trick, but I didn't tried it.
--
Pascal

bonekrusher a écrit :
> Hi,
>
> How can I set up my repeatable-page-master-alternatives to detect a page
> sequence that has only one page and the next page is blank?
>
> My desired output is to have a recto-verso document, so the pages
> end-on-even. If the last page is odd, an even blank page is printed. The odd
> page will display in the region after "Page 1 / 2 Blank" to indicate the
> next page is intentionally left blank. Everything works with the following
> code, unless the page sequence is only a single odd page.
>
> <fo:page-sequence-master master-name="document">
>       <fo:repeatable-page-master-alternatives>
>               <fo:conditional-page-master-reference odd-or-even="even"
> master-reference="page-even" blank-or-not-blank="not-blank"/>
>               <fo:conditional-page-master-reference 
> blank-or-not-blank="not-blank"
> odd-or-even="odd" page-position="last" master-reference="last-page-odd"/>
>               <fo:conditional-page-master-reference odd-or-even="odd"
> master-reference="page-odd" blank-or-not-blank="not-blank"/>
>               <fo:conditional-page-master-reference blank-or-not-blank="blank"
> master-reference="alternate-blank"/>
>       </fo:repeatable-page-master-alternatives>
> </fo:page-sequence-master>
>
> When I add another condition:
>
> <fo:conditional-page-master-reference odd-or-even="odd" page-position="only"
> blank-or-not-blank="not-blank" master-reference="only-page"/>
>
> Like this:
>
> <fo:page-sequence-master master-name="recto-verso-document">
>       <fo:repeatable-page-master-alternatives>
>               <fo:conditional-page-master-reference odd-or-even="odd"
> page-position="only" blank-or-not-blank="not-blank"
> master-reference="only-page"/>
>               <fo:conditional-page-master-reference odd-or-even="even"
> master-reference="page-even" blank-or-not-blank="not-blank"/>
>               <fo:conditional-page-master-reference 
> blank-or-not-blank="not-blank"
> odd-or-even="odd" page-position="last" master-reference="last-page-odd"/>
>               <fo:conditional-page-master-reference odd-or-even="odd"
> master-reference="page-odd" blank-or-not-blank="not-blank"/>
>               <fo:conditional-page-master-reference blank-or-not-blank="blank"
> master-reference="alternate-blank"/>
>       </fo:repeatable-page-master-alternatives>
> </fo:page-sequence-master>
>
> every first page gets the condition applied (page-position="only"). How do I
> set the condition for a page sequence for one-page-only-odd?
>
> Thanks
>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to