bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

docbook generation problem with @image


From: Aharon Robbins
Subject: docbook generation problem with @image
Date: Tue, 16 Apr 2013 21:47:16 +0300
User-agent: Heirloom mailx 12.5 6/20/10

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

[Prev in Thread] Current Thread [Next in Thread]