Hi.  I have:

        @float Figure,load-extension
        @caption{Loading The Extension}
        @c FIXME: One day, it should not be necessary to have two cases,
        @c but rather just the one without the "txt" final argument.
        @c This applies to the other figures as well.
        @ifinfo
        @center @image{api-figure1, , , Loading the extension, txt}
        @end ifinfo
        @ifnotinfo
        @center @image{api-figure1, , , Loading the extension}
        @end ifnotinfo
        @end float

The generated docbook is:

<!-- FIXME: One day, it should not be necessary to have two cases, -->
<!-- but rather just the one without the "txt" final argument. -->
<!-- This applies to the other figures as well. -->
<inlinemediaobject><imageobject><imagedata fileref="api-figure1.eps" 
format="EPS"></imagedata></imageobject><imageobject><imagedata 
fileref="api-figure1.pdf" 
format="PDF"></imagedata></imageobject><imageobject><imagedata 
fileref="api-figure1.png" 
format="PNG"></imagedata></imageobject><textobject><literallayout>

        *** contents of text file here ***
    gawk Main Program Address Space              
Extension</literallayout></textobject></inlinemediaobject>

This is clearly wrong. It should only include one of the <imageobject>s, not
all of the possible ones.  I would think PDF would be the right one.

Thanks,

Arnold

Reply via email to