bug-texinfo
[Top][All Lists]
Advanced

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

@image in @example


From: Per Bothner
Subject: @image in @example
Date: Tue, 27 Apr 2021 15:19:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

Supppage I have an image file images/paint-circ-1.png .

Consider the following k.texi program processed thus:

    makeinfo k.texi --html -o /tmp

\input texinfo
@settitle k-test

@example
$ echo foo
@image{images/paint-circ-1}
$ echo bar
@end example

@image{images/paint-circ-1}
@bye

The first @image just produces
    [ images/paint-circ-1 ]
while the second @image produces an actual <img> element.

It works when generating docbook or pdf, but not when generating html.
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/



reply via email to

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