This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] docbook-xsl V1.62.0: xsltproc produces bad mar gins in FO
- From: Bob Stayton <bobs at sco dot com>
- To: Gisbert Amm <gia at webde-ag dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 16 Sep 2003 08:37:35 -0700
- Subject: Re: [docbook-apps] docbook-xsl V1.62.0: xsltproc produces bad mar gins in FO
- References: <74ADFA8C453ED611A71E00508BBBA135D9F0AE@exchange1.cinetic.de>
On Tue, Sep 16, 2003 at 11:32:37AM +0200, Gisbert Amm wrote:
> > -----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.
Yes, thanks. That is indeed a bug in titlepage.templates.xml
that was introduced in 1.62.0. I have fixed it in CVS.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.