[Top][All Lists]

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

info-mode image alt text display (patch)

From: Kevin Ryde
Subject: info-mode image alt text display (patch)
Date: Mon, 26 Mar 2007 07:27:04 +1000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

I'd like to propose this change to get Info-display-images-node
showing the the text alternative parts of @image blobs, if the tty
can't show the graphics.  Such text is of course provided specifically
for when the graphics can't be shown.  It can be an ascii art
rendition, or merely a few words about what you could have seen.

2007-03-25  Kevin Ryde  <address@hidden>

        * info.el (Info-display-images-node): On a text-only terminal, show
        the "text" or "alt" parts of the image blobs.

You can see the effect on the foo.info file below.  Currently the
images are only blank lines, with my change it comes out like

        This is an alt bit.

        This is a text bit from a .txt file.

        Or if no text parts at all then you get:

foo.texi and bar.txt below are the sources.  Copy any random png files
to create foo.png and bar.png.

Attachment: info.el.image-alts.diff
Description: Text Data

Attachment: foo.info
Description: Binary data

Attachment: foo.texi
Description: TeXInfo document

Attachment: bar.txt
Description: Text document

reply via email to

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