This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inserting pagebreaks in pdf output using FOP


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]