Honza Hejzl
Honza Hejzl

Reputation: 884

How to force three pages of a particular master at the beginning?

I need this order at the beginning of every part in the book:

  1. Right page without page number (with the title of the part).
  2. Left blank page.
  3. Right page without page number (first page of the subsequent chapter).
  4. The rest is numbered.

If I am working only with chapters without parent parts, this works perfectly:

<fo:repeatable-page-master-alternatives>
    <fo:conditional-page-master-reference master-reference="PageMaster.Blank" blank-or-not-blank="blank"/>
    <fo:conditional-page-master-reference master-reference="PageMaster.Page-Right.First" odd-or-even="odd" page-position="first"/>
    <fo:conditional-page-master-reference master-reference="PageMaster.Page-Left" odd-or-even="even"/>
    <fo:conditional-page-master-reference master-reference="PageMaster.Page-Right" odd-or-even="odd"/>
</fo:repeatable-page-master-alternatives>

Typically, every part has its own title, no more. And I want the title to be on a separate right–sided page, like the first page of every chapter.

With the example above, everything works except the first page of every subsequent chapter is numbered.

Upvotes: 0

Views: 47

Answers (1)

Tony Graham
Tony Graham

Reputation: 8068

Use three fo:single-page-master-reference -- for the part title, the blank next page, and the chapter title page -- followed by the fo:repeatable-page-master-alternatives for blank, left, and right pages.

Upvotes: 1

Related Questions