OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Units in fo -> rtf using jfor

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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC