- From: Vladimir Rodimyuk <VladimirR@ukrinvent.com>
- Date: Thu, 30 Aug 2007 18:28:08 +0300
- To: axdmoraes <alexmoraes@gmail.com>, "www-xsl-fo@w3.org" <www-xsl-fo@w3.org>
- Message-ID: <C50378BB9C267D4796753862ED9AE1A33FD8FEDAFC@UI-OPTERON.ukrinvent.com>
Hi! I think you should use attribute force-page-count="even" in fo:page-sequence. The code below works, pay attention to marked text. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:page-sequence-master master-name="doc"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="page-reg" page-position="any"/> <fo:conditional-page-master-reference master-reference="page-blank" page-position="last" odd-or-even="even"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> <fo:simple-page-master master-name="page-reg" page-height="11in" page-width="8.5in"> <fo:region-body margin="0.5in" /> <fo:region-before extent="0.5in"/> </fo:simple-page-master> <fo:simple-page-master master-name="page-blank" page-height="11in" page-width="8.5in"> <fo:region-body margin="0.5in" /> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="doc" force-page-count="even"> <fo:flow flow-name="xsl-region-body"> <fo:wrapper> .... For more info look into: http://www.w3.org/TR/xsl/#force-page-count Respectfully, Volodymyr Rodymyuk > -----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 15:52:19 UTC