Bug 37545 - keep-with-next broken
Summary: keep-with-next broken
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: trunk
Hardware: All Linux
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 10:13 UTC by gerhard oettl
Modified: 2012-04-01 06:47 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gerhard oettl 2005-11-17 10:13:47 UTC
keep-with-next broken, if blocks are chained in the following manner:

<block keep-with-next.within-page="always">main-header (level 1)</block>
<block keep-with-next.within-page="always">subheader (level 2)</block>
<block keep-with-next.within-page="always">subsub-header (level 3)</block>
<block>text of the first paragraph</block>
<block>text of the second paragraph</block>

i would expect, that all headers (level 1 to 3) are keept together with
the text of the first paragraph, but they are not.

exeamples can be seen at
<http://www.oesoft.at/tmp/fop-keep/index.html>


thanks
gerhard
Comment 1 gerhard oettl 2005-11-17 10:36:10 UTC
keep-with-next.within-page="always" dont work at all even if the compliance-page
says that they should
Comment 2 Jeremias Maerki 2005-11-17 10:59:21 UTC
That's weird. I've just run your two files through my local working copy and I
can't reproduce the problem. In both your FO files the chapter 5 starts on the
top of a new page.

Please run "ant clean" followed by a new "ant" to fully rebuild FOP. Maybe
something went wrong during incremental compilation after the latest SVN update.
Comment 3 gerhard oettl 2005-11-17 17:46:34 UTC
after the suggested ant clean; ant it works correct

thanks 
a) for helping
b) for the project at all
Comment 4 Glenn Adams 2012-04-01 06:47:08 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed