Re: [xep-support] page-number in duplex and simplex

From: G. Ken Holman <>
Date: Thu Oct 05 2006 - 01:34:07 PDT

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">
       <conditional-page-master-reference master-reference="frame-blank"
       <conditional-page-master-reference master-reference="frame"/>

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
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman       
Crane Softwrights Ltd.
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05
Legal business disclaimers:
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Thu Oct 5 01:45:20 2006

This archive was generated by hypermail 2.1.8 : Thu Oct 05 2006 - 01:45:20 PDT