> From: Gavin Smith <[email protected]> > Date: Wed, 5 Nov 2025 21:25:41 +0000 > Cc: [email protected], [email protected], [email protected] > > On Wed, Nov 05, 2025 at 10:48:06PM +0200, Eli Zaretskii wrote: > > > From: Gavin Smith <[email protected]> > > > Date: Wed, 5 Nov 2025 20:08:35 +0000 > > > > > > The results look ok with your test file, as you described below. I've > > > attached a screen shot. One problem is the alignment of the math images, > > > which appears to be inconsistent. > > > > I'm guessing this depends on the image. You could also experiment > > with the various attributes of the image, described in "Image > > Descriptors" node of the ELisp Reference manual. For example, > > :ascent, :margin, and :height sound relevant. > > The image is inserted into the buffer by Info mode. I have practically > no knowledge of Emacs Lisp and would assume it is up to whoever works > on Info mode to set the code to set these properties appropriately. I > don't know how to inspect the attributes of the image anyway: I got > as far as trying to run "M-x eval-expression RET (get-display-property) RET" > before giving up.
OK, understood. FTR, the handling of images in Info is in the function Info-display-images-node. I guess we will need some special stuff there for math images. Currently, that function does not apply any special image attributes that might affect how the image is displayed, so perhaps doing something specific to math images will make the display look better. Would it be possible for you to make the example Info and image files you were working with available somewhere for download, so that someone else (perhaps rahguzar) could pick up where you left off and try to improve the situation? Thanks.
