RE: RE: Last even page

Alexandre,
Sorry, I replied to you in HTML format and marked important with green, but there is no highlight in the message stored in mailing list. So I repeat my answer using your code.

<fo:page-sequence-master master-name="ITEM"
    <fo:repeatable-page-master-alternatives>
         <fo:conditional-page-master-reference
            master-reference="LetterFirst" page-position="first"/>
         <fo:conditional-page-master-reference
            master-reference="LastBlank"
            page-position="last" odd-or-even="even"/>
         <fo:conditional-page-master-reference
            master-reference="Letter"
            page-position="any"/>
         <!-- "any" not "rest" - that's important -->
    </fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

And more in page-sequence
<fo:page-sequence master-reference="ITEM" force-page-count="even">
<!-- this setting will force formatter to produce additional page to make quantity even -->

Respectfully,
Volodymyr Rodymyuk

>________________________________________
>From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On Behalf Of Vladimir Rodimyuk
>Sent: Thursday, August 30, 2007 6:28 PM
>To: axdmoraes; www-xsl-fo@w3.org
>Subject: RE: Last even page
>
>Hi!
>I think you should use attribute force-page-count="even" in fo:page-sequence.
>The code below works, pay attention to marked text.
>> -----Original Message-----
>> From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On
>> Behalf Of axdmoraes
>> Sent: Thursday, August 30, 2007 5:25 PM
>> To: www-xsl-fo@w3.org
>> Subject: Last even page
>>
>>
>>
>> Hi,
>>
>> I'm using this code:
>>
>> <fo:page-sequence-master master-name="ITEM"
>>     <fo:repeatable-page-master-alternatives>
>>          <fo:conditional-page-master-reference
>> master-reference="LetterFirst" page-position="first"/>
>>          <fo:conditional-page-master-reference master-
>> reference="LastBlank"
>> page-position="last" odd-or-even="even"/>
>>          <fo:conditional-page-master-reference master-reference="Letter"
>> page-position="rest"/>
>>     </fo:repeatable-page-master-alternatives>
>> </fo:page-sequence-master>
>>
>> And I want that the last, if even, become blank.
>> It's not working. Can someone help me?
>>
>> Thanks
>>
>> Alexandre
>> --
>> View this message in context: http://www.nabble.com/Last-even-page-
>> tf4354569.html#a12408269
>> Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
>>

Received on Thursday, 30 August 2007 16:11:01 UTC