Re: Bitmap images in info format

Jan Nieuwenhuizen <[email protected]>
Newsgroups gmane.comp.tex.texinfo.pretest
Organization Jan at Appel
Message-ID <[email protected]>
Torsten Bronger <[email protected]> writes:

> Since the newest version of Texinfo it is possible to include bitmap
> graphics in the info format that can be viewed with Emacs.  (At
> least I think so, I have been unable to install an Emacs version new
> enough so far.)

It's probably enough to use info.el from Emacs CVS.

> Where must I place these PNG files?  In the same directory where my
> .info.gz file is?

Not necessarily, but there is no real support if you place them
somewhere else.  Makeinfo needs to find them at compile time, and the
path needs to be correct after installation.  Assuming your info files
are at:

   /usr/share/info/foo.info

and your PNGs are going to be at:

   /usr/share/doc/foo/images/bar.png

you may use:

   @image{../doc/foo/images/bar.png}

but before running makeinfo you'll have to make some symlinks to make
bar.png accessible using the same path.

> Background: Unfortunately RPM seems to compress all files in the
> share/info directory implicitly.

That should not be too difficult to fix?

Jan.

-- 
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.