> Date: Tue, 10 Nov 2026 16:04:33 +0100 > From: Patrice Dumas <[email protected]> > Cc: [email protected], [email protected], [email protected] > > On Tue, Nov 10, 2026 at 04:15:33PM +0200, Eli Zaretskii wrote: > > > Date: Tue, 10 Nov 2026 14:41:54 +0100 > > > From: Patrice Dumas <[email protected]> > > > Cc: [email protected], [email protected], [email protected] > > > > > > 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 understood well the situation, and this change is relevant for > > > Info (for the Emacs Info reader, actually), the question that remains is > > > the change in the Info format. The simplest possibility could be > > > to allow more than one src="..." for an image special Info directive > > > https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Info-Format-Image.html > > > with a rule to associate dpi and depth to a src=, I would say that they > > > could apply to the previous src= only (ie they should be after the src= > > > they are associated to). > > > > > > Any idea, especially to be the easiest for the Emacs Info reader > > > implementation? > > > > I'm not sure I understand what you are asking. > > > > In general, the same design as used for inline images should work, > > because it already supports several kinds of images for the same > > figure. But I'm not sure this is what you asked. > > Currently, there are at max two formats for images that are gathered, > one in src="..." and one in text="...". But, at least when the Info > file is generated by texi2any, if there are both "my_image.png" and > "my_image.jpg", there is only "my_image.png" shown in src=. So right > now there is support for both text and image file, but not two image > files. > > However, if there is already support for several src="..." images in the > Emacs Info reader, then it means that we can start emitting several > src="..." in texi2any.
Yes, something like that. Perhaps some alt= or something?
