This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Units in fo -> rtf using jfor
- From: Bob Stayton <bobs at caldera dot com>
- To: Ekkehard Goerlach <e dot goerlach at computer dot org>,docbook-apps at lists dot oasis-open dot org
- Date: Wed, 28 Aug 2002 00:36:51 -0700
- Subject: Re: DOCBOOK-APPS: Units in fo -> rtf using jfor
- References: <m33ct01236.fsf@grille.ekkehard.goerlach.loe>
On Tue, Aug 27, 2002 at 10:25:17PM +0200, Ekkehard Goerlach wrote:
>
> I would like to transform a fo file generated with the 1.53 XSL
> stylesheets to rtf. When I use jfor I get the message:
>
> jfor V0.7.1 - see http://www.jfor.org
> Creating input and output objects...
> Converting XSL:FO file 'novalis.fo' to RTF output 'novalis.rtf'...
> jfor.INFO:jfor V0.7.1 - setting up conversion...
> jfor.INFO:Parsing xsl:fo document...
> org.xml.sax.SAXException: IOException in IBuilder:
> org.jfor.jfor.converter.ValueConversionException:
> conversion factor not found for '%' units
>
> Is there a XSL parameter to tell the XSLT not to use '%' units in the
> output ?
There's no single parameter. In 1.53.0, the running headers
and footers are created as tables, and the table column
widths are specified as percentages. You could create a
stylesheet customization layer and customize the templates
named 'header.table' and 'footer.table' to change the units
from percentages to a calculated value. Those templates
are in fo/pagesetup.xsl.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com