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] | [List Home]


Subject: RE: [docbook-apps] docbook-xsl V1.62.0: xsltproc produces bad mar gins in FO


> -----Original Message-----
> From: Bob Stayton [mailto:bobs@sco.com]

> > my FO file ... when
> > processing it with Fop 0.20.4 this error message:
> > 
> > [exec] [ERROR] Error in margin-left property value '0':
> > org.apache.fop.fo.expr.PropertyException: No conversion defined
> 
> I don't get this error message when processing a book
> with the 1.62.0 stylesheets and FOP 0.20.4 or 0.20.5.
> Are you using a customization layer?

There's no margin-left definition in my customization layer.

I did a bit of research and found, that most of the messages are sent when
the index is generated. It seems as if in the template called
"indexdiv.title" in index.xsl, line 224 (<fo:block
margin-left="{$title.margin.left}") the variable $title.margin.left does not
have the actual value of the title.margin.left parameter and is set to zero
instead.

The only occurance of a hard coded entry margin-left="0" I found in the
template called index.titlepage.recto in titlepage.templates.xsl, line 3081
(<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format";
xsl:use-attribute-sets="index.titlepage.recto.style" margin-left="0"
font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">).
This template seems somehow to be used when the bibliography is processed
(for the title?). I got one error message from here.

Hope this helps a bit to track it down.

Regards,
Gisbert Amm
http://web.de/ 


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