This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Table problems with FO and Saxon.
- From: Bob Stayton <bobs at sco dot com>
- To: Rodolfo Gonzalez Gonzalez <rodolfo at equinoxe dot g-networks dot net>
- Cc: "'docbook-apps at lists dot oasis-open dot org'" <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 1 Oct 2003 09:13:39 -0700
- Subject: Re: [docbook-apps] Table problems with FO and Saxon.
- References: <74ADFA8C453ED611A71E00508BBBA135D9F127@exchange1.cinetic.de> <3F72B850.7060207@fillmore-labs.com> <Pine.LNX.4.50L0.0310011005280.8475-100000@equinoxe.g-networks.net>
On Wed, Oct 01, 2003 at 10:18:15AM -0500, Rodolfo Gonzalez Gonzalez wrote:
> Hello,
>
> I'm using Saxon and Apache FOP (latest stable versions of both) with the
> XSL stylesheets from the standard RedHat 9.0 RPM, and using this command
> (after I setup CLASSPATH, etc.):
>
> java org.apache.fop.apps.Fop \
> -xml manual.xml \
> -xsl /usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl \
> -pdf manual.pdf
>
> After tons of errors (which seem to be normal using Apache FOP, as far as
> I read) I finally get these 3 lines:
>
> [WARNING] table-layout=auto is not supported, using fixed!
> [WARNING] Sum of fixed column widths 100000 greater than maximum specified IPD 0
> [ERROR] -2
>
> and no PDF is generated. In your experience, could this be a fault in my
> XML file?, a bad toolchain use?, some wrong param in the XSL? or maybe
> just a bug in the FOP?.
Well, tables are known to work in that combination.
The "IPD" here is inline progression dimension,
which is the XSL-FO way of saying the table width.
The error message implies that the table width is zero.
Unless otherwise specified, the table width property
is set to 100%. Do you have tables that set the table
width with a dbfo table-width processing instruction?
Do the tables set column widths? Can you peek in the
fo file and see if there is an fo:table that
has a width="0" attribute?
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.