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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.


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