[xep-support] Controlling column print

From: Jerry Janofsky <JanofskyJ@comcast.net>
Date: Wed Feb 28 2007 - 10:31:50 PST

I am using an rx:flow section with column-count=3. I have a title block
followed by data blocks. My problem is that if a page has a single title and
only two data blocks, the tile ends up in column 1 and the data blocks end
up in column 2 and 3. This happens because a flow section is balanced.
However, is there a way for me to force my first data block to always be
under a title? I have tried all kinds of keep-with-next combinations to make
this happen, but it hasn't work. Below is some pseudo code. "dir:specialty"
is my title and "person-block" is a data block. Notice my
keep-with-next.within-column="always" inside the "dir:specialty" block to
attempt to keep the specialty within the first person-block.

I am using XEP 4.6.

<rx:flow-section break-after="odd-page" column-count="3" column-gap="1pc">
 <xsl:for-each select="dir:person ... etc.">
   <xsl:sort select="dir:specialty"/>
        <fo:block keep-with-next.within-column="always" text-align="left">
           <xsl:value-of select="dir:specialty"/> (TITLE)
        </fo:block>
   <xsl:for-each select="dir:specialty">
        <xsl:call-template name="person-block"/> (DATA)
  </xsl:for-each>
 </xsl:for-each>

-------------------
(*) 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 Wed Feb 28 10:48:35 2007

This archive was generated by hypermail 2.1.8 : Wed Feb 28 2007 - 10:48:41 PST