Page 1 of 1

DITA BREAK CELL

Posted: Fri Jun 20, 2014 2:07 pm
by Le Basque
Hi,

I have a table that is larger than one page, I am looking at the page break a cell is not cut, but it goes to the next page

Best regards

Re: DITA BREAK CELL

Posted: Wed Jun 25, 2014 10:45 am
by Radu
Hi,

In the XSL:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\cfg\fo\attrs\tables-attr.xsl

there is an attribute set defined:

Code: Select all

  <xsl:attribute-set name="tbody.row">
<!--Table body row-->
</xsl:attribute-set>
You could add an attribute keep-together.within-page there like:

Code: Select all

  <xsl:attribute-set name="tbody.row">
<xsl:attribute name="keep-together.within-page">always</xsl:attribute>
</xsl:attribute-set>
You should also consider asking customization questions on the Yahoo Groups DITA Users List, it's a large community and they might have better suggestions for you.

Regards,
Radu