docbook-apps

[1.77.x][fo] figure/caption bug?

  • 1.  [1.77.x][fo] figure/caption bug?

    Posted 06-17-2012 02:56
    It seems like a bug in the fo branch of the DocBook XSL Stylesheets 1.77.x.

    Let's give the following figure with the caption:

    ------


    <mediaobject>
    <imageobject>
    <imagedata fileref="foo.png" format="png"/>
    </imageobject>
    <textobject>
    <phrase>Foo</phrase>
    </textobject>
    </mediaobject>

    <para>Blah blah blah</para>


    -----

    The caption in PDF output contains both open and close tags as
    shown below:

    -----


    Blah blah blah

    -----

    I got the perdect results with no exttra tags in the next cases though:
    -----
    Blah blah blah
    -----
    XHTML 1.1 with 1.77.1
    PDF with 1.76.1
    PDF with 1.77.1 (moving the caption into the mediaobject).

    --
    Regards,
    Ivan Zaporozhets
    Divine Dandelion? Online Publishing Service
    http://divinedandelion.blogspot.com/