This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] docbook table sample in order to use with docbook-xsl


FOP doesn't do well with calculating table column widths.  It works best
when you specify hard coded widths for each column (not percentages).

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Kenety Borges" <kborges@OptechSoftware.com>
To: "'Bob Stayton'" <bobs@sagehill.net>
Cc: <docbook@lists.oasis-open.org>
Sent: Monday, May 16, 2005 8:20 AM
Subject: RE: [docbook] docbook table sample in order to use with docbook-xsl


> Hi Bob,
>
> I figured out what the error was for my previous question: I haven't added
> the xalan25.jar from docbook-xsl to my classpath.
>
> Now what I'm getting is a different error. When trying to generate a PDF
> with the table I did it throws the errors bellow. The interesting thing is
> that it only fails to generate my PDF if I try to fill out the table with
> dynamic content which for some reason must cause the error (maybe the cell
> sizes of the generated table). If I fill out the table with fake/static
> information it generates ok. How can I know what this error -2 means?
>
> Thanks for any help,
> Kenety
>
>
> [java] [ERROR] Error in column-width property value '20%':
> org.apache.fop.fo.expr.PropertyException: No conversion defined
> [java] [ERROR] Error in column-width property value '20%':
> org.apache.fop.fo.expr.PropertyException: No conversion defined
> [java] [ERROR] At least one of minimum, optimum, or maximum IPD must be
> specified on table.
> [java] [ERROR] Couldn't find hyphenation pattern fr
> [java] [ERROR] Error building hyphenation tree for language fr
> [java] [ERROR] At least one of minimum, optimum, or maximum IPD must be
> specified on table.
> [java] [ERROR] Couldn't find hyphenation pattern fr
> [java] [ERROR] Error building hyphenation tree for language fr
> [java] [ERROR] At least one of minimum, optimum, or maximum IPD must be
> specified on table.
> [java] [ERROR] Couldn't find hyphenation pattern fr
> [java] [ERROR] Error building hyphenation tree for language fr
> [java] [ERROR] Couldn't find hyphenation pattern fr
> [java] [ERROR] Error building hyphenation tree for language fr
> [java] [ERROR] Couldn't find hyphenation pattern fr
> [java] [ERROR] Error building hyphenation tree for language fr
> [java] [ERROR] At least one of minimum, optimum, or maximum IPD must be
> specified on table.
> [java] [ERROR] Couldn't find hyphenation pattern fr
> [java] [ERROR] Error building hyphenation tree for language fr
> [java] [ERROR] At least one of minimum, optimum, or maximum IPD must be
> specified on table.
> [java] [ERROR] -2
> [java] Java Result: 2
>
>
>
> > -----Original Message-----
> > From: Bob Stayton [mailto:bobs@sagehill.net]
> > Sent: Monday, May 16, 2005 2:15 AM
> > To: Kenety Borges; docbook@lists.oasis-open.org
> > Subject: Re: [docbook] docbook table sample in order to use with
docbook-
> > xsl
> >
> > That sample table works fine in docbook-xsl-1.68.1.  Can you give an
> > example
> > of how you are processing it that gives the fatal error?
> >
> > Bob Stayton
> > Sagehill Enterprises
> > DocBook Consulting
> > bobs@sagehill.net
> >
> >
> > ----- Original Message -----
> > From: "Kenety Borges" <kborges@OptechSoftware.com>
> > To: <docbook@lists.oasis-open.org>
> > Sent: Friday, May 13, 2005 9:01 AM
> > Subject: [docbook] docbook table sample in order to use with docbook-xsl
> >
> >
> > >
> > > Hi,
> > >
> > > Could someone send a XML simple sample of a docbook 4.2 table? Or
point
> > me
> > > to some kind of documentation?
> > >
> > > I got a sample from http://www.docbook.org/tdg/en/html/table.html but
> > I'm
> > > having problems using it with docbook-xsl-1.68.1. It looks like the
> > > /fo/table.xsl is not compatible with the table supplied in the
sample?!
> > I
> > > got a "Fatal error during transformation".
> > >
> > > Thanks for any help,
> > > Kenety
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> > > For additional commands, e-mail: docbook-help@lists.oasis-open.org
> > >
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> > For additional commands, e-mail: docbook-help@lists.oasis-open.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]