<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Daniel:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>We would need the actual FO to do any commenting. You can send to me directly or post to <a href="mailto:support@renderx.com">support@renderx.com</a> as you are a supported customer. There is no sense in guessing without seeing the actual FO.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kevin Brown<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>RenderX<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> xep-support-bounces@renderx.com [mailto:xep-support-bounces@renderx.com] <b>On Behalf Of </b>Daniel S. Reed<br><b>Sent:</b> Monday, January 30, 2012 5:41 PM<br><b>To:</b> RenderX Community Support List<br><b>Subject:</b> [xep-support] possible issue with keep-with-next on table-row<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Preface: I am using XEP 4.19 (I have developer version with XEP marks on each page, client has full version)<br><br>I have been attempting to apply logic to a table that is rendered in a two column layout. The logic would:<br><br>1. keep the first and second rows in the same columns (always)<br>2. keep the second-to-last and last rows together in the same column (always).<br><br>The sample I have been working from is client content that has a two column page master that has text in the first column, the start of a table at the end of the first column, the remainder of the table in the second column, and some text to fill out the rest of the second column.<br><br>The table/table row code looks essentially like:<br><br><fo:table><br> <fo:table-row keep-with-next.within.column="always"><fo:block>.....</fo:block></fo:table-row><br> <fo:table-row><fo:block>.....</fo:block></fo:table-row><br> <fo:table-row><fo:block>.....</fo:block></fo:table-row><br> ....<br> <fo:table-row><fo:block>.....</fo:block></fo:table-row><br> <fo:table-row keep-with-previous.within-column="always"><fo:block>.....</fo:block></fo:table-row><br></fo:table><br><br>This works, as I believe it should. I then tested this code against an example in the actual BOOK which was used as the example of why the logic above should be applied, and it did not work. The first row is orphaned in the first column (in the example in the source content).<br><br>The difference I could find is that after the table and the rest of the para text, there is a switch to ONE COLUMN layout using the rx:flow-section element.<br><br>So, something like:<br><fo:block> //this is a section<br> <fo:block>...some text.....</fo:block><br> <fo:table><br> <fo:table-row keep-with-next.within.column="always"><fo:block>.....</fo:block></fo:table-row><br> <fo:table-row><fo:block>.....</fo:block></fo:table-row><br> <fo:table-row><fo:block>.....</fo:block></fo:table-row><br> ....<br> <fo:table-row><fo:block>.....</fo:block></fo:table-row><br> <fo:table-row keep-with-previous.within-column="always"><fo:block>.....</fo:block></fo:table-row><br> </fo:table><br> <fo:block> ... rest of text for section .... </fo:block><br></fo:block><br><rx:flow-section> //one column layout<br> <fo:block>...</fo:block><br></rx:flow-section><br><br><br>If I remove the rx:flow-section from the FO by hand and rerun the example, the logic for keep-with-next works as I expect. I was able to add a "<fo:block> </fo:block> between the section block and the rx:flow-section and this has it working as expected... but I wondered if there was something about the flow-section that is taking precedence over my keep-with-next.<br><br>(please note, I also tried using keep-with-previous on the 2nd row and keep-with-next on the 2nd to last row just to be sure)<br><br>I can ask the client if I can release a snippit of their content/FO, but if I do, I would like to do so directly to an XEP engineer.<br><br>Thank you in advance.<br><br>:dr:<o:p></o:p></p><div><p class=MsoNormal>-- <o:p></o:p></p><div style='margin-bottom:3.75pt'><p class=MsoNormal><b><span style='font-size:10.5pt;color:#444444'>Daniel Reed<o:p></o:p></span></b></p></div><div><p class=MsoNormal style='line-height:12.0pt'><span style='font-size:9.0pt;color:#444444'>Founder/Managing Director<br>p: +1 617.684.0182 x201<br>f: +1 814.284.0182<br><a href="mailto:dan.reed@wrycan.com">dan.reed@wrycan.com</a><br><a href="http://www.wrycan.com">http://www.wrycan.com</a><o:p></o:p></span></p></div><div style='border-top:solid #999999 1.0pt;border-left:none;border-bottom:solid #999999 1.0pt;border-right:none;padding:3.0pt 0in 3.0pt 0in;margin-top:7.5pt'><p class=MsoNormal><span style='font-size:7.5pt;color:#999999'>CONFIDENTIALITY: This message and any attachments are the property of Wrycan, Inc. They may contain privileged and confidential information intended only for the use of the addressee named above. You are hereby notified that any use, dissemination, distribution or reproduction of this message and attachments is prohibited. If you received them in error, please notify the sender and delete them immediately. <o:p></o:p></span></p></div></div><p class=MsoNormal>!DSPAM:87,4f2732d263734243118310! <o:p></o:p></p></div></body></html>