Hmm, FOP seems to treat the individual lines as separate paragraphs and
therefore doesn't apply widow/orphan treatment. But XSL says: "The
"widows" property specifies the minimum number of line-areas in the last
area generated by the formatting object." That means this is a bug.
Andrew, would you mind opening a bug in Bugzilla [1]? I suspect this may
not be so easy to fix.

[1] http://issues.apache.org/bugzilla/enter_bug.cgi

On 30.01.2008 13:02:35 Andrew McFarland wrote:
> Hi,
> 
> I'm having trouble with widows on fo:blocks where linefeed-treatment
> is set to preserve. I'm using FOP 0.94. When I process the attached
> fo, I get a PDF with a one-line widow at the start of the second page,
> even though widows for that fo:block is set to 4.
> 
> Can anyone explain what is going on here?
> 
> (Some background to the problem: I'm using FOP to produce PDFs from
> DocBook via the 1.73.2 XSLT. I'm trying to control the widows and
> orphans for the output from <literallayout/> elements. The attached fo
> was a file I wrote from scratch that demonstrates the problem.)
> -- 
> You did not read the manual
> Our tech writer is sad
> Locked in the toilet, he is  crying




Jeremias Maerki


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

Reply via email to