Hi Sako,

> may i ask, how do u solve the problem with keep with next?
> i mean when sometimes only one line shines in the next page.  or
> only the title shines in one page and the text(paragraph) in the
> next?

keep-with-next is only implemented for table rows, so one solution is
to create a table, put the header in the first row and what follows in
the next row(s). Don't forget to set keep-with-next on the first row
;-)

Depending on the kind of document and how you generate the .fo, this
may be difficult to implement. If this is the case and there are not
too many occurences of widowed headers, I usually hack the .fo: find
the first trouble spot and add a break-before='page' attribute.
Rebuild the PDF, find the next spot etc. Of course this is only
feasible if your publishing rate is low. And you have to redo the
handwork everytime your sources change :-(

There are other solutions; a short time ago this subject was discussed
extensively on a list, but I don't remember which. Maybe this one.


Greetings,
Paul Vinkenoog


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

Reply via email to