[xep-support] page-number in duplex and simplex
    G. Ken Holman 
    gkholman at CraneSoftwrights.com
       
    Thu Oct  5 01:34:07 PDT 2006
    
    
  
At 2006-10-05 17:11 +1000, Anthony Kartasasmita wrote:
>We have output that have combination of duplex and simplex (last page).
>How to print page number correctly in duplex? 
>Because we don't want to put page number when the page is blank.
Create a page master in which the page number is 
not presented, then add a conditional test for a 
blank page in your conditional page master 
references.  The formatter will then choose your 
page master without the page number, and it will not display.
Something along the lines of:
   <page-sequence-master master-name="frames">
     <repeatable-page-master-alternatives>
       <conditional-page-master-reference master-reference="frame-blank"
         blank-or-not-blank="blank"/>
       <conditional-page-master-reference master-reference="frame"/>
     </repeatable-page-master-alternatives>
   </page-sequence-master>
If you have different page masters for odd and 
even, make sure your odd/eve tests for blank 
pages are before your odd/even tests for other pages.
I hope this helps.
. . . . . . . . . . . . Ken
--
UBL/XSLT/XSL-FO training: Allerød/Vårø Denmark 2006-11-13,17,20/24
UBL International 2006  2006-11-13/17 http://www.ublconference.com
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman                 mailto:gkholman at CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
    
    
More information about the Xep-support
mailing list