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: FOP: margin-left and margin-right = 0


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>



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