[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl-fo: keep-with-next "always" not working sometimes

Subject: xsl-fo: keep-with-next "always" not working sometimes
From: Christian Kirchhoff <christian.kirchhoff@xxxxxxxxxx>
Date: Fri, 24 Sep 2010 18:09:37 +0200
 xsl-fo: keep-with-next "always" not working sometimes

the xsl-fo I am working on will be converted into a PDF with XEP/RenderX.

I have the following exemplary tagging:
<fo:block keep-together="always" keep-with-next="always">2.</fo:block>
<fo:block widows="5" orphans="5" hyphenate="false">
    Kein Lebenslaut stvrt die Natur<fo:block/>
    In ihrem herbstlich stillen Leide;<fo:block/>
    Es scheint die Sonne ldssig nur<fo:block/>
    Hernieder auf die braune Haide.<fo:block/>
    Da ist kein Baum, umwebt von Moos,<fo:block/>
    Aus dessen Zweigen Vvgel sdngen,<fo:block/>
    Da ist kein Fels, aus dessen Scho_<fo:block/>
    Krystallne Quellen lustig sprdngen!<fo:block/>

With the givven page settings, the first line of the 2nd block ("Kein Lebenslaut stvrt die Natur") would appear alone on the bottom of the page. Because of the settings for widows and orphans that first line is rendered on a new page. And thus the content of the 1st block ("2.") is rendered alone as the last text on the actual page.

In my understanding the keep-with-next "always" should the cause the 1st and 2nd block to always appear on the same page. But apparently that is not the case. Is there any way to achieve what I want?

Any help would be greatly appreciated.

Best regards

Christian Kirchhoff
*Editura GmbH & Co. KG*
Tempelhofer Damm 2 7 12101 Berlin
AG Berlin-Charlottenburg 7 HRA 43189 B 7 USt.Id. DE217180548
Geschdftsf|hrer: Ralf Szymanski

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.