[xep-support] keep-with-next not working on spanned blocks

From: Bob Stayton <bobs@sagehill.net>
Date: Mon Aug 08 2005 - 10:31:46 PDT

Is it a known problem that keep-with-next.within-column or .within-page does
not work when either block has a span="all" property? That seems to be the
case with XEP 4.4.

Here is an example where the first block contains a title, and the second
block contains a table with a graphic. If neither of the two blocks has a
span="all", then the keep-together.within-column or within-page works. If
either of them has a span="all", the keep is broken.

         <fo:block id="ns1243" font-size="7pt * 1.2" line-height="10pt *
1.2" font-family="Helvetica, Symbol, Dingbats"
font-selection-strategy="character-by-character" font-weight="bold"
hyphenate="true" span="all" space-before="6pt * 1.2"
space-before.conditionality="discard" space-after="2pt"
keep-with-next.within-column="always" keep-with-next.within-page="always"
text-align="left">9.1<fo:leader leader-length="4pt * 1.2"/>Optional Title
generic</fo:block>

         <fo:block span="all" text-align="center" space-before="1.3em">

            <fo:table table-layout="fixed">
               <fo:table-column
column-width="proportional-column-width(1)"/>
               <fo:table-column/>
               <fo:table-column
column-width="proportional-column-width(1)"/>
               <fo:table-body start-indent="0pt" end-indent="0pt">
                  <fo:table-row>
                     <fo:table-cell>
                        <fo:block/>
                     </fo:table-cell>
                     <fo:table-cell>
                        <fo:block text-align="center">

                           <fo:block space-before="4pt * 1.2"
space-after="2pt * 1.2" font-family="Helvetica, Symbol, Dingbats"
font-size="7pt * 1.2" font-weight="bold" line-height="1.1em"
text-align="center" keep-with-next.within-column="always">single
generic</fo:block>

                           <fo:external-graphic src="url('00099701.tif')"
scaling="uniform" content-width="108%"/>
                           <fo:block font-family="Helvetica, Symbol,
Dingbats" font-size="4pt * 1.2" font-weight="normal" line-height="1em"
space-before="3pt * 1.2" space-after="2pt * 1.2" text-align="right"
keep-with-previous.within-column="always">00099701</fo:block>

                        </fo:block>
                     </fo:table-cell>
                     <fo:table-cell>
                        <fo:block/>
                     </fo:table-cell>
                  </fo:table-row>
               </fo:table-body>
            </fo:table>

         </fo:block>

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Mon Aug 8 11:03:42 2005

This archive was generated by hypermail 2.1.8 : Mon Aug 08 2005 - 11:03:44 PDT