[xep-support] Re: Page break conflicting with keep-with-next property

Kevin Brown kevin at renderx.com
Fri Mar 27 15:50:30 PDT 2015


John:

 

It appears that only happens when you use break-before="page" on the first
block. 

If you do this later in the document, it does not happen and you get the
expected results.

There has always been a long-term (deep) bug in RenderX dealing with keeps
across span boundaries and I suspect this is related.

That break-before is not doing anything so the workaround is not to use it
as the first block in the flow.

 

Kevin

 

From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf Of John
Wilcock
Sent: Tuesday, March 24, 2015 5:36 AM
To: RenderX Community Support List (xep-support at renderx.com)
Subject: [xep-support] Page break conflicting with keep-with-next property

 

Hi everyone,

 

I have attached a zip file which better shows the issue, but in short:

without_break.fo has a 3 column layout. The first block is a 'title' which
spans the 3 columns. On what would be the last item in the first column, I
have added keep-with-next.within-column="always" to push the item to the
next column. Everything works correctly.

 

with_break.fo is (almost) identical to without_break.fo other than I have
applied  break-before="page" to the 'title'. Now, the
keep-with-next.within-column="always" seems to have no effect and the item
appears at the bottom of the first page.

 

Please note that obviously I do not need break-before="page" in this
one-page scenario. I am trying to debug this issue with an index that
appears at the back of a book. This issue happens whether or not there is
content prior to the 'title'.

 

Is this a problem with XEP (XEP 4.18 build 20100322), or am I doing
something stupid (other than the aforementioned page break on the first
page)? 

 

Thanks

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20150327/ec85ed06/attachment.html>


More information about the Xep-support mailing list