[xep-support] Blank pages
Gustaf Liljegren
gustaf.liljegren at xml.se
Thu Apr 25 07:38:18 PDT 2002
What is the correct way of adding a blank page, like after the first page?
If I use initial-page-number="auto-odd" on the next page-sequence (like for
preface or TOC), I get the same master on page 2 as on page 1, which is a
problem. Page 2 should be a blank page. I use to do it like this:
[first page-sequence here]
<fo:page-sequence master-reference="blank">
<fo:flow flow-name="xsl-region-body">
<fo:block color="white">whatever</fo:block>
</fo:flow>
</fo:page-sequence>
[next page-sequence here]
A page-sequence needs a flow and a flow needs a block and a block needs
some content, and since I don't want the content to be visible, I paint it
white. It works, and it's not much code, but it is a home-made workaround!
Is the only real mechanism for this in XSL to use complex
page-sequence-masters like fo:conditional-page-master-reference?
Gustaf
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support
mailing list