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


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-apps] FOP, Docbook


Hi,

I have now changed the informal tables to tables, and added the column
width (1*), and I am still getting the same errors. However, it now
seems I only get one table with table-layout=auto.
Could you maybe recommend a different tool to use (it doesn't matter if
it's a commercial tool)?

Or maybe you have any other ideas?

Here is my xsl stylesheet for a table:

<table id="parameterlist">
          <title>Parameter Description</title>
          <tgroup cols="2">
		  <colspec colnum="1" colname="col1" colwidth="1*"/>	
		  <colspec colnum="2" colname="col2" colwidth="1*"/>
		  <thead>
	
<row><entry>Name</entry><entry>Description</entry></row>
		  </thead>
		  <tbody>
		  	<row>
				<xsl:apply-templates
select="parametername"/>
				<xsl:apply-templates
select="parameterdescription"/>
			</row>
		  </tbody>
		  </tgroup>
</table>  


Also how do you set the table-layout manually, because this is something
I am not controlling as such at the present?

Thank you!

-----Original Message-----
From: Bob Stayton [mailto:bobs@sagehill.net] 
Sent: 19 August 2004 09:30
To: Irene Higson
Subject: Re: [docbook-apps] FOP, Docbook

I get failure as well.  The errors indicate problems with the tables.
FOP doesn't handle all XSL-FO table specifications.  There were a couple
of tables with no table-layout="fixed" property.  Without that property,
FOP assumes it is table-layout="auto" which it doesn't support.  Also,
it doesn't support percentages in column-width.  Try putting fixed
widths for your column widths, or use the * proportional syntax.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message -----
From: "Irene Higson" <Irene.Higson@wolfsonmicro.com>
To: "Bob Stayton" <bobs@sagehill.net>
Sent: Thursday, August 19, 2004 12:58 AM
Subject: RE: [docbook-apps] FOP, Docbook


Here you go!
Thank you for taking the time to look at this for me!

Irene

-----Original Message-----
From: Bob Stayton [mailto:bobs@sagehill.net]
Sent: 18 August 2004 20:12
To: Irene Higson
Subject: Re: [docbook-apps] FOP, Docbook

Normally the message "Parsing of document complete, stopping renderer"
indicates that FOP successfully processed the input.  But the "Error -2"
message is strange, and indicates some problem with actually generated
the output file.  Can you send me the fo file as an attachment?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message -----
From: "Irene Higson" <Irene.Higson@wolfsonmicro.com>
To: <sean@enbaya.co.za>; <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, August 18, 2004 1:49 AM
Subject: RE: [docbook-apps] FOP, Docbook


Thank you, this decreased the number of errors I got, and totally
removed
the background-position errors.
However, I still do not get a PDF!
Can anyone help?

My new errors are:

 java org.apache.fop.apps.Fop -fo output.fo -pdf Aux.pdf   [INFO] Using
com.icl.saxon.aelfred.SAXDriver as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using com.icl.saxon.aelfred.SAXDriver as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] Error in column-width property value '50%':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[INFO] [1]
[WARNING] table-layout=auto is not supported, using fixed!
[INFO] Parsing of document complete, stopping renderer
[ERROR] -2


Thanks!

Irene





________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. 
________________________________________________________________________



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