[xep-support] RE: trouble with keep with next

From: Jerry Janofsky <JanofskyJ@comcast.net>
Date: Tue Aug 21 2007 - 14:48:15 PDT



I realize my attempt to simplify my problem might have made my pseudo code
in my previous email unclear because I didn't really show the templates
involved. You can assume the blocks are called multiple times within an XSL
template. I have just a single line that must be able to span the whole page
if necessary. The <rx:flow> section below it contains 3 columns that can
flow over multiple pages. I just need a way to make sure the first block is
never the last item on a page. The code looks more like this below.


Your help would be appreciated.


<xsl:for-each-group select="dir:person" group-by="dir:specialty">
     <xsl:sort select="current-grouping-key()"/>


           <fo:block padding-before="0.0625in" keep-with-next="always" >

           <rx:flow-section column-count="3" column-gap="0.5in">
                <xsl:for-each-group select="current-group()"
                      <xsl:sort select="current-grouping-key()"/>





From: Jerry Janofsky [mailto:JanofskyJ@comcast.net]
Sent: Sunday, August 19, 2007 7:36 PM
To: 'xep-support@renderx.com'
Subject: trouble with keep with next




In my code below, is it possible to be certain the first block is never the
last item in a page body? I just want to make sure that the data in the
first block is ever the last item on a page. The data in the flow section
may be more or less than a full page worth of data. I am using XEP 4.6
(might be 4.7, but I don't know how to find out). The documentation says
that keep-with-next.within-page="always" isn't supported. I've tried various
keep-together things. I've run into this issue before.


Jerry J



<fo:flow flow-name="xsl-region-body">

     <fo:wrapper font-family="{$FONT_FAMILY}"


          <fo:block keep-with-next.within-page="always">

Always One Bold Line . This line may span the width of the page



          <rx:flow-section column-count="3" column-gap="0.5in">

  <fo:block >

Column Data (could be pages of data)






(*) 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 Tue Aug 21 15:22:03 2007

This archive was generated by hypermail 2.1.8 : Tue Aug 21 2007 - 15:22:09 PDT