This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: FOP: margin-left and margin-right = 0
- From: Martin Perina <martin dot perina at osu dot cz>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 27 Jan 2003 12:25:23 +0100
- Subject: Re: DOCBOOK-APPS: FOP: margin-left and margin-right = 0
- Organization:
- References: <0o4a3vo688lrrn5m3me4k4ef8mdca7hshr@4ax.com>
On Po, 2003-01-27 at 12:15, ABX wrote:
> I've upgraded to the latest 1.60.1 version of XSLT and I'm using it with
> xsltproc and FOP 20.4. Its output contain a lot of errors about "0" in margins
> as follow:
>
> [ERROR] Error in margin-right property value '0':
> org.apache.fop.fo.expr.PropertyException: No conversion defined
> [ERROR] Error in margin-left property value '0':
> org.apache.fop.fo.expr.PropertyException: No conversion defined
>
> That's probably becouse there are entries like:
> <fo:block font-family="Arial" margin-left="0" margin-right="0"/>
> in FO file. I suppose adding any unit to "0" in templates could solve problem.
> Would it be possible to output every margin="0" in docbook stylesheets with
> some unit ?
>
> ABX
You have to define some units, for example 0pt or 0cm. But I don't
understand what you mean with 'setting every margin="0"'. If you
don't specify margin attribute, it's set to 0 by default.
Martin Perina <martin.perina@osu.cz>