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: 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>




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


Powered by eList eXpress LLC