Hi Henning,

I just took a quick look and I have one suggestion. Please add the following line to your "driver" XSL:

<xsl:param name="paper.type">USletter</xsl:param>

I'm pretty sure that USletter size will print fine on A4 paper, but not vice-versa.

Are you using FOP 0.20.5 or 0.92beta? I'm still using 0.20.5 and when I get pagebreaks I don't like I correct them with manual pagebreaks using a processing instruction.

I define it in a driver XSL:
<xsl:template match="processing-instruction('dbsuite-pagebreak')">
   <fo:block break-before='page'/>
</xsl:template>

and then place the PI in front of the section, etc. that I want to force to begin on a new page break:
<?dbsuite-pagebreak ?>

FOP 0.20.5 has many limitations on it's "keep" functionality. My understanding is that 0.92beta has far fewer, but I haven't used it yet. XEP is reportedly a good commercial solution.

I hope this helps.

Regards,

Sean

Henning P. Schmiedehausen wrote:
Hi,

those of you following my checkins might have noticed that I'm (for an
entirely too long time) working on new Velocity documentation for
1.5. The current state of this documenation is available from
http://people.apache.org/~henning/velocity/

I'd really appreciate comments, corrections and especially some help
with the Docbook, because some of the elements don't page wrap like I
would have them to. I have some issues with orphan lines and cut off
example titles. Anyone who knows how to fix this in docbook and/or
fop, please speak up. :-)

        Best regards
                Henning


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to