On Wed, Oct 24, 2012 at 09:55:58AM +0200, Akim Demaille wrote:
>
> $ cat foo.txt
> foo
> bar
> baz
> $ cat centered-image.texi
> \input texinfo @c -*-texinfo-*-
> @center @image{foo}
> @bye
> $ makeinfo --plaintext centered-image.texi -o-
> foo
> bar
> baz
texi2any centers the 'image text' and put it in []:
$ cat center_image.texi
\input texinfo @c -*-texinfo-*-
@node Top
@center @image{foo}
@bye
Leads to, in the standalone info reader:
File: center_image.info, Node: Top, Up: (dir)
[foo
bar
baz]
If there is a foo.jpg the info output is (this is a cut and paste of the
actual info file):
^_
File: center_image.info, Node: Top, Up: (dir)
^@^H[image src="foo.jpg" text="[foo
bar
baz]"^@^H]
^_
The standalone info reader does not render the text, however.
So we can consider that fixed?
--
Pat