Next in thread → Next in month →

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

From
Mwam Cerhane
Date
2011-01-31T08:44:24+00:00
ID
Thread
Re: [docbook-apps] Need FOP fix for ordered list and line alignmentin pdf files
Hi Sam!
I also had the same problem. relative-align="baseline" and 
line-stacking-strategy="font-height"   are both not working woth FOP.
My solution:
<subscript>
   <inlinemediaobject>
     <imagedata fileref=... valign=top>
....

It is not the perfect solution but much better than it was before!!!

Regards, lwam

Am 31.01.2011 08:33, schrieb Sam Fischmann:
> 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 <
> <mailto:>> 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
>      <mailto:>
>
>

-- 
Gruß Lwam Berhane

punkt.de GmbH               TYPO3-Internet-Dienstleistungen-Beratung
Kaiserallee 13a             Tel.: 0721 9109-0  Fax: -100
76133 Karlsruhe                 http://punkt.de/
AG Mannheim 108285          Gf: Jürgen Egeling
Next in thread → Next in month →