[xep-support] Re: Unexplained page break

Darren Munt darrenm at ardex.com.au
Thu Jan 5 21:56:36 PST 2017


That's normal. The table is only present for horses that have previous starts. There could be a mix of either layout, or all table-block-table or all table-block-block.


From: Kevin Brown [mailto:kevin at renderx.com]
Sent: Friday, 6 January 2017 4:51 PM
To: Darren Munt <darrenm at ardex.com.au>; 'RenderX Community Support List' <xep-support at renderx.com>
Subject: RE: [xep-support] Re: Unexplained page break

You do know that your first group is different from the others correct?

The children of the first group are table-block-table
The children of all other groups are table-block-block

I have not analyzed past this ... but the first one *is* different

[cid:image001.png at 01D2683D.D7BB0F20]

From: Darren Munt [mailto:darrenm at ardex.com.au]
Sent: Thursday, January 05, 2017 9:12 PM
To: kevin at renderx.com<mailto:kevin at renderx.com>; RenderX Community Support List <xep-support at renderx.com<mailto:xep-support at renderx.com>>
Subject: RE: [xep-support] Re: Unexplained page break

Wasn't sure if you wanted me to send the fo to this address, otherwise I would have :)

But the same FO layout, only with different content, usually works. It only happens in this one example. It's a production system which has been working fine for a year now.

Anyway, I'll attach and see how you go, because it has me stumped.

From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf Of Kevin Brown
Sent: Friday, 6 January 2017 3:57 PM
To: 'RenderX Community Support List' <xep-support at renderx.com<mailto:xep-support at renderx.com>>
Subject: [xep-support] Re: Unexplained page break

Because you can try this:

                        <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
                                    xmlns:rx="http://www.renderx.com/XSL/Extensions">
                                    <fo:layout-master-set>
                                                <fo:simple-page-master page-width="4in" page-height="7in" master-name="first">
                                                            <fo:region-body margin-left="0.5in" margin-right="0.5in"/>
                                                </fo:simple-page-master>
                                    </fo:layout-master-set>
                                    <fo:page-sequence master-reference="first">
                                                <fo:flow flow-name="xsl-region-body">
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                            <fo:block space-before="12pt"  keep-together.within-page="always">I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. I am some text. </fo:block>
                                                </fo:flow>
                                    </fo:page-sequence>
                        </fo:root>


And get the totally expected result. So your description possible does not match what you actually have.

Kevin

From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf Of Darren Munt
Sent: Thursday, January 05, 2017 7:29 PM
To: xep-support at renderx.com<mailto:xep-support at renderx.com>
Subject: [xep-support] Unexplained page break

I have a document which is throwing a page break, and I was hoping you could help me understand why.

The document is very simple, it has one page sequence with a single region-body flow. This contains a number of blocks, each has the keep-together.within-page="always" attribute. I need each block to be kept intact, with page breaks between as necessary.

For some reason, I am getting a page break after the first block, with the remaining blocks all appearing on the next page. If I delete one of the later blocks, I get the expected behaviour. It's obviously something to do with the keeps but I don't understand why it would throw a break after the first block. If I remove the keep from the last block, then it flows as expected, but some of the content from the last block appears on the next page.

I can provide FO to reproduce the problem if required.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20170106/f7fd071f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 44964 bytes
Desc: image001.png
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20170106/f7fd071f/attachment-0001.png>


More information about the Xep-support mailing list