[xep-support] Long Tables and Titles

From: Craig S. Booher <CraigSBooher@athenet.net>
Date: Mon Jun 22 2009 - 08:28:55 PDT

This is my first post, so please excuse any etiquette breaches.

I'm using XEP Assistant v.4.9 build 20070312 on WINXP/SP3 and the DITA DTD.

Problem:

Whenever a table is longer than one printed page, the table title
appears at the top of an initial page but the table contents don't
display until the beginning of the subsequent page. I've used:

<xsl:template match="table">
   <fo:block margin="12pt" id="{generate-id(.)}" >
    <xsl:if test="title">
       <fo:block keep-with-next.within-page="always">
          other stuff
       </fo:block>
    </xsl:if>
    <fo:block keep-with-previous.within-page="always" widows="3"
orphans="3">
       <fo:table width="100%" keep-together.within-column="always"
widows="3" orphans="3">
      other stuff
      </fo:table>
    </fo:block>
 </fo:block>
</xsl:template>

as well as other variations on the keep-with-next/previous property.

Tables shorter than one page have correct placement of title and table
contents (i.e., no page breaks after the title).

Can anyone shed some light on the source of my problem and recommend a
solution?

Thanks.

Craig

-- 
Craig S. Booher
XSLent Solutions
920-540-5563
-------------------
(*) 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 Jun 22 09:06:44 2009

This archive was generated by hypermail 2.1.8 : Mon Jun 22 2009 - 09:06:46 PDT