I'm not sure it will solve all of your table issues, but try this in
your customization to get the table to break across pages:
<xsl:attribute-set name="formal.object.properties">
<xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
</xsl:attribute-set>
http://www.sagehill.net/docbookxsl/PageBreaking.html#KeepTogetherPI
Antti Karanta wrote:
Hi!
I am doing some testing on docbook style sheets. I ran into a
problem trying to transform docbook-xsl-1.73.2/roundtrip/supported.xml
docbook xml document into pdf. In the document, there is a single
large table. When rendered, the table contains overlapping text, which
looks really bad. The table is also rendered on a single page, with
only the last 10 lines visible, the rest are nowhere to be seen.
Here's what I do:
C:\downloaded\docbook>C:\programs\Java\jdk1.6.0_03\bin\java -Xss1m -cp
C:\programs\Java\saxon655\saxon.jar;C:\work\napa\jnapa\commons\lib\batik\xercesImpl.jar;C:\downloaded\docbook\docbook-xsl-1.73.2\extensions\saxon65.jar
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
com.icl.saxon.StyleSheet -o c:\Temp\temp.fo
docbook-xsl-1.73.2\roundtrip\supported.xml
\downloaded\docbook\docbook-xsl-1.73.2\fo\docbook.xsl
fop1.extensions=1 use.extensions=1 tablecolumns.extension=1 paper.type=A4
Making portrait pages on A4 paper (210mmx297mm)
C:\downloaded\docbook>fop -v -fo c:\Temp\temp.fo -pdf \temp\suppo.pdf
FOP Version 0.94
31.12.2007 11:48:38
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
updateData2
WARNING: Line 1 of a paragraph overflows the available area.
(fo:block, location: 8/101)
( removed screenloads of this warning )
WARNING: Line 3 of a paragraph overflows the available area.
(fo:block, location: 4180/101)
31.12.2007 11:48:52 org.apache.fop.layoutmgr.PageBreaker$1 notifyOverflow
WARNING: Content of the region-body on page 2 overflows the available
area in block-progression dimension. (fo:page-sequence, location:
1/29175)
The problem occurs w/ both A4 and US Letter paper.
-Antti-
Ps. About my environment:
- win xp sp 2
- docbook-xsl 1.73.2
- jdk 1.6.0_03
- saxon 6.55
- fop 0.94
- fop hyphenation jar installed
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]