Re: [xep-support] Content dependent on recto/verso?

From: Jirka Kosek <>
Date: Wed Mar 14 2007 - 11:11:41 PST

Dovid Zalkin wrote:

> Hi. I need to produce a PDF where each chapter has to end on an even
> page. If the last page of the chapter's content falls on an even page,
> fine. If not, rather than leaving the page blank, my client wants the
> page to consist of underscores, for recording notes, etc., in the
> printed version of the PDF.

This simplest way to achieve this is to force even number of pages for
page-sequence corresponding to chapter by using:

<fo:page-sequence master-reference="foo" force-page-count="even">

And then in page-sequence-master for "foo" provide page-master for blank
page which is generated when chapter has odd number of pages:

<fo:conditional-page-master-reference master-reference="notes"

Of course page master "notes" would not be blank. It can have header
that extends over whole page and you can place lines for notes as a
static-content onto this page.



  Jirka Kosek      e-mail:
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
 OASIS DocBook TC member, W3C Invited Expert, ISO/JTC1/SC34 member
 Want to speak at XML Prague 2007 =>

(*) 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 Wed Mar 14 11:47:36 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 14 2007 - 11:47:37 PST