[Top][All Lists]

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

Re: @image in @example

From: Per Bothner
Subject: Re: @image in @example
Date: Fri, 30 Apr 2021 04:20:04 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

The issue reported below is a blocker that presents me from generating
the Kawa manual using makeinfo --html and info.js.  Compare the documentation 
of the
with-paint function here:
with here:

I don't think this is "regression" (thus perhaps not a release-blocker),
since I don't believe it works with the release texinfo either.
However, it does work when generating docbook or pdf.
The existing website uses docbook - but I would like to drop that dependency
at some point.

On 4/27/21 3:19 PM, Per Bothner wrote:
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

$ echo foo
$ echo bar
@end example


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]