On Tue, Nov 10, 2026 at 05:54:05PM +0000, Gavin Smith wrote:
> On Tue, Nov 10, 2026 at 02:41:54PM +0100, Patrice Dumas wrote:
> > > I think the best is to have both, because whether the user's Emacs
> > > supports PNG or SVG is the matter of Emacs configuration at build
> > > time; both PNG and SVG libraries are optional dependencies.  So we
> > > don't know which images will Emacs support on any given installation.
> > 
> > That would require some change in the Info format, though.  For now,
> > there is only one possibility for the @image and it is .png or .jpg.
> > First, the information you give means that it could make sense to add
> > .svg as a possible image type for @image in Info.  Second, this also
> > means that it could be relevant to add all the image types instead of
> > one, which is something we already do for DocBook.
> 
> If I understand correctly this is for the benefit of rendering equations.

Not really.  My idea is more that since Eli said "whether the user's
Emacs supports PNG or SVG is the matter of Emacs configuration at build
time; both PNG and SVG libraries are optional dependencies.  So we don't
know which images will Emacs support on any given installation.", it
seemed to me that it would make sense to support png and svg at the same
time for @image.  (This could be used for INFO_MATH_IMAGES too, but it
is secondary).

-- 
Pat

Reply via email to