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
<?xml version="1.0" encoding="ISO-8859-1"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="A4"> <fo:region-body /> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4"> <fo:flow flow-name="xsl-region-body"> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block>Paragraph</fo:block> <fo:block widows="4" linefeed-treatment="preserve" >line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line line </fo:block> </fo:flow> </fo:page-sequence> </fo:root>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
