[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Widows and orphans in XSL-FO
At 2009-10-30 17:44 -0700, Mark Wilson wrote:
Sorry my original post was not clear enough. I have a short output PDF file that may show better what I mean, but I cannot send it to the list. A longer copy is on the web at: That helps a lot. Page 1 ends with "Kvapilova, Hana" How about for your top-level entries (e.g. "Actors") you don't use a keep. Then for their first-level children (i.e. starting with "-") and second-level grandchildren (i.e. starting with "- - ") use keep-with-next.within-column="always". Then for the black lines, use keep-with-previous.within-column="always". This handles the two lines of the "Velehrad" entry. That way you'll get no page breaks between your red and black lines. Nor will you get a break between *adjacent* red lines. If you don't want a break before "Strahovaska Madona" then add keep-with-previous.within-column="always" to the "- - " grandchildren. Page breaks should put first-level children at the top of the column, except between the first child of a top-level entry. I think that will get you real close and perhaps meet all of your requirements as I understand them. I hope this helps. . . . . . . . . . . . . . Ken -- Upcoming: hands-on XSLT, XQuery and XSL-FO Washington DC Nov 2009 Interested in other classes? http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|