bug-texinfo
[Top][All Lists]
Advanced

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

Re: @image inside @example works with --docbook but not --html


From: Gavin Smith
Subject: Re: @image inside @example works with --docbook but not --html
Date: Sun, 27 Nov 2016 09:41:22 +0000

On 27 November 2016 at 00:16, Per Bothner <address@hidden> wrote:
> Given test.texi:
>
> @settitle Images test
> @image{paint-circ-1}
> @example
> #|kawa:2|# @kbd{(circle 30)}
> @image{paint-circ-2}
> @end example
>
> and
>
> touch paint-circ-1.png paint-circ-2.png
> makeinfo --docbook test.texi --no-split -o test.xml
> makeinfo --html test.texi --no-split -o test.html
>
> Notice that test.xml has a valid <imagedate> for both
> paint-circ-1.png and paint-circ-2.png. However,
> test.html only has a valid <img> for paint-circ-1.png, not paint-circ-2.png.
>
> This is makeinfo 6.1.

This looks like it would be easy to change. The code is in
_convert_image_command in tp/Texinfo/Convert/HTML.pm. It looks like
the current behaviour was deliberate, but I don't know why it was done
the way it was.



reply via email to

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