This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Inserting pagebreaks in pdf output using FOP
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Martin Stemplinger <mstemplinger at gmx dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 22 May 2002 05:40:32 -0400
- Subject: DOCBOOK-APPS: Re: Inserting pagebreaks in pdf output using FOP
- References: <000f01c20114$249b33c0$fe78a8c0@daheim>
/ Martin Stemplinger <mstemplinger@gmx.de> was heard to say:
| I have a document with an appendix containing some large tables and graphics and
| I'd prefer to see them on a separate page each.
|
| Is there a simple way to customize the fo-stylsheets to insert a pagebreak
| before or after an element?
|
| Any hints appreciated!
Something like...
<xsl:stylesheet...>
<xsl:import href="...docbook.xsl">
<xsl:template match="appendix/table">
<fo:block break-before="page">
<xsl:apply-imports/>
</fo:block>
</xsl:template>
...
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Oh well, no matter what happens,
http://www.oasis-open.org/docbook/ | there's always death.--Napoleon
Chair, DocBook Technical Committee |