Re: Bitmap images in info format
[email protected] (Karl Berry)
| Newsgroups | gmane.comp.tex.texinfo.pretest |
|---|---|
| Message-ID | <[email protected]> |
Makeinfo needs to find them at compile time, and the
path needs to be correct after installation.
Yes.
However, ending up with all the images in $(infodir) doesn't seem good
at all. Aside from clutter, two different manuals could easily use the
same filenames.
Furthermore, if we start supporting translated manuals in a better way,
we'll presumably have $(infodir)/LL/foo.info, and of course it would be
nice if that used the same images. I guess that's a different kettle of
fish, though.
Perhaps we should look for images in a directory, say `foo.d', for
foo.info, and if found, use <img src="foo.d/bar.png">? At
makeinfo-time, this would be in a subdir of the current directory. At
emacs-time, this would be in $(infodir).
Hmm, I guess the source could just say @image{foo.d/bar.png} in the
first place and no special support is needed. I could put a
recommendation to that effect in the texinfo manual.