[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] FOP, Docbook
The FO table-layout property is always output by the fo stylesheet, and cannot be controlled from within the XML source file. The DocBook XSL stylesheets should be outputing table-layout="fixed" for every table, because the default value for table-layout is "auto" if it is not otherwise specified. I think that is what you are getting. Some table in your FO output does not have a table-layout="fixed" property. If you can locate that table, perhaps it can be added. As far as I know, only Antenna House's XSL Formatter product handles table-layout="auto" at this point. They have a new Lite version that is cheaper (with some reduced functionality). XEP is another commerical XSL-FO formatter that works well, but I don't think they have implemented table-layout="auto". Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Irene Higson" <Irene.Higson@wolfsonmicro.com> To: <docbook-apps@lists.oasis-open.org>; "Bob Stayton" <bobs@sagehill.net> Sent: Thursday, August 19, 2004 3:51 AM Subject: 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. ________________________________________________________________________
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]