← Prev in month ← Prev in thread

Re: [docbook-apps] Need FOP fix for ordered list and line alignmentin pdf files

From
Ram Gischmann
Date
2011-01-31T07:33:50+00:00
ID
Thread
Re: [docbook-apps] Need FOP fix for ordered list and line alignmentin pdf files
Hello,

I had this problem with FOP, too. It does not support the relative-align property:

http://www.mail-archive.com/[email protected]/msg13648.html

http://xmlgraphics.apache.org/fop/compliance.html#fo-property-relative-align

I ended up moving to XEP because of the difficulty of dealing with indexes in FOP, but if there's an answer, it lies here:

http://www.w3.org/TR/xsl/#area-alignment

Wish I could be of further help...

-Sam

On Sun, Jan 30, 2011 at 10:16 PM, Jeff Powanda <> wrote:

 

I'm using DocBook XML v. 4.5, docbook-xsl.1.73.2, and FOP 0.93.

 

I'm having the same problem with ordered lists described in http://lists.oasis-open.org/archives/docbook-apps/201004/msg00058.html.

 

When I have an inline graphic in a list item, I'd like the list item label to be aligned on the baseline so that list item block containing an inline graphic does not appear below the label. I tried the suggestion that Bob Stayton suggested,
that is:

 

<xsl:attribute-set name="list.item.spacing">

<xsl:attribute name="relative-align">baseline</xsl:attribute>

</xsl:attribute-set>

 

That didn't work with FOP 0.9.3. Anyone else have a fix that will work with FOP?

 

Regards,

Jeff Powanda

← Prev in month ← Prev in thread