Re: [XSL-FO] Inserting blank pages?
- At 2004-07-08 20:17 +0000, aziegelmayer.trier@... wrote:
>In my document, I've 2 different page-sequences, 1 for the toc and 1 forThis is because you have not accommodated "blank pages" as you have flowed
>the main-content. Each of the defined page-masters have a region-before
>with some running header-information (e.g. as page x of y) in it.
>However, the pages with the toc and main-content should end on an even-page.
>So I used force-page-count="end-on-even" for the 1st toc-sequence.
>The pages are inserted correctly, BUT:
>If the toc or the main-content will end on an odd-page (no more text), the
>even page is inserted with the running header, which I do not want.
>A blank page would be preferable instead.Then have two page geometries, in the following example "frame" and
"frame-blank" and make sure you have no static content for the blank page:
Note the order of the above two conditionals is important, because the
formatter will use the first one in document order that matches the page
conditions, not the one that matches with the most tests.
Point your page-sequence to the above master and you should get what you want.
>And of course, the running header will display some odd content as "pageDuring your XSLT phase, could you selectively avoid the adding of
>20 of 19", because my <fo:block id="endofcontent"/> is rendered on a odd
>page before the last inserted even one. That's why I need a blank page.
force-page-count="end-on-even" when position()=last() for your
page-sequence logic? Then you won't get a page of any kind.
I hope this helps.
Public training 3 days XSLT & 2 days XSL-FO: Phoenix,AZ 2004-08-23
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:gkholman@...
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal