[xep-support] Force new page

Richard R. Liu richard-liu at tiscalinet.ch
Thu Feb 7 14:15:21 PST 2002


Having a problem forcing a block to print on a new page in XEP 2.7.

I have several blocks.  Each one should begin on a new page.  For each block
I have

<fo:block break-before="page" break-after="page">
  ... block contents ...
</fo:block>

This seems to work as intended as long as the block contents are less than a
page.  If a block is longer than a page, the next block begins on the same
page as the previous block ends.

I'm sure I must be missing something obvious.  The blocks are in

<fo:layout-master-set>
	<fo:simple-page-master ... master-name="ubs-toc">
		...
	</fo:simple-page-master>
	<fo:simple-page-master ... master-name="ubs-layout">
		...
	</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="ubs-toc" ...>
	...
</fo:page-sequence>
<fo:page-sequence master-reference="ubs-layout" language="en">
	<fo:static-content flow-name="xsl-region-before">
		...
	</fo:static-content>
	<fo:static-content flow-name="xsl-region-after">
		...
	</fo:static-content>
	<fo:flow flow-name="xsl-region-body">
		... BLOCKS ARE HERE ...
	</fo:flow>
</fo:page-sequence>

Any clues?

Thanks,
Richard

Richard R. Liu
Gundeldingerstr. 171
4053 Basel
Tel.:   061/361 32 75
E-mail: richard-liu at tiscalinet.ch


-------------------
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