OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: page break


I wanted this output in the XSL-FO:

<fo:block break-before="page">
  blah blah blah
</fo:block>

But I didn't know how to put this into my customisation layer so
I tried:

<!-- page-break support -->
<xsl:template match="processing-instruction('fo-page-break')">
  <fo:block break-before="page"/>
</xsl:template>

And then inserted

<?fo-page-break?>

Into the DocBook document where a page break was required.

I don't like this because it is dirty and produces:

<fo:block break-before="page"/>
<fo:block>
  blah blah blah
</fo:block>

Which is sub-optimal because ideally I think the page break should
be in the fo block that wraps the text that should appear on a new
page. <-- Does this reasoning make sense or does it not matter?

Is it OK to do this albeit quite dirty?
Can anyone think of any side-effects that might occur?

~io~



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC