[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #37686] standalone info ignores text attribute of image tag
From: |
Karl Berry |
Subject: |
[bug #37686] standalone info ignores text attribute of image tag |
Date: |
Wed, 07 Nov 2012 00:01:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20120129 Firefox/10.0 SeaMonkey/2.7 |
URL:
<http://savannah.gnu.org/bugs/?37686>
Summary: standalone info ignores text attribute of image tag
Project: texinfo - GNU documentation system
Submitted by: karl
Submitted on: Tue 06 Nov 2012 04:01:15 PM PST
Category: None
Release:
Priority: 5 - Normal
Severity: 3 - Normal
Item Group: None
Privacy: Public
Open/Closed: Open
Assigned to: gray
Discussion Lock: Any
Status: None
_______________________________________________________
Details:
Hi Sergey,
It seems standalone info is effectively ignoring our wonderful
address@hidden@^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
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 06 Nov 2012 04:01:15 PM PST Name: ridt-img.tgz Size: 7kB By:
karl
<http://savannah.gnu.org/bugs/download.php?file_id=26883>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37686>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #37686] standalone info ignores text attribute of image tag,
Karl Berry <=