bug-texinfo
[Top][All Lists]
Advanced

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

Re: makeinfo: centered text images (was: Issues with gendocs and images)


From: Patrice Dumas
Subject: Re: makeinfo: centered text images (was: Issues with gendocs and images)
Date: Wed, 24 Oct 2012 10:37:31 +0200
User-agent: Mutt/1.5.20 (2009-12-10)

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)

                    address@hidden src="foo.jpg" text="[foo
                                  bar
                                baz]"address@hidden

^_

The standalone info reader does not render the text, however.

So we can consider that fixed?

-- 
Pat



reply via email to

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