Wed 07 Nov 2012 12:01:15 AM UTC, original submission:
Hi Sergey,
It seems standalone info is effectively ignoring our wonderful ^@^H[...^@^H] tags in info files.
There is one case where this is a problem (originally reported by arnold robbins for gawk): if an image is available as both .txt and another format (say .png), CVS makeinfo outputs both in the .info file, with the .txt file contents included in the text= attribute, as in:
[image src="ridt.png" text="----------------
|RIDT txt image|
----------------"...
Therefore Info displays nothing. Whereas if the png file does not exist, then makeinfo puts the actual contents of .txt file in the .info output, and thus of course Info displays it fine.
We want to allow users to have both .png and .txt (and whatever else), and we want to include both in the .info file since Emacs Info has the capability of actually displaying the (presumably preferable) .png.
So, would you have time to hack up the source to extract the contents of the text= attribute and display it? I took a quick look at window.c but was unfortunately not inspired to actually write anything :(.
The .texi is just the simplest possible image inclusion:
\input texinfo
@setfilename ridt.info
@node Top
@image{ridt}
@bye
I'll attach a tarball with the various test files for possible convenience, though any image will behave the same way. It's just having both .txt and something else visible at makeinfo time that matters. ("RIDT" is a conference I helped organize in 1991. How time flies. :)
Thanks,
Karl
|