emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scaling of image produced for math in Info in the Emacs Info reader


From: Patrice Dumas
Subject: Re: Scaling of image produced for math in Info in the Emacs Info reader
Date: Sun, 12 Jan 2025 14:12:32 +0100

On Sun, Jan 12, 2025 at 08:23:46AM +0000, Ihor Radchenko wrote:
> Patrice Dumas <pertusus@free.fr> writes:
> 
> > In the development version of GNU Texinfo, we have added a new
> > functionality, a conversion of math commands to images.  This was a
> > request from Rahguzar for the Emacs Info reader:
> > https://lists.gnu.org/archive/html/help-texinfo/2024-08/msg00001.html
> >
> > It was implemented recently in texi2any/makeinfo:
> > https://lists.gnu.org/archive/html/bug-texinfo/2024-12/msg00061.html
> >
> > However, the images are not scaled correctly, they should be scaled
> > according to the user font size in Emacs....
> 
> Karthik and Timothy have managed to solved similar issues when
> implementing LaTeX previews for Org mode.
> 
> Demo: https://www.youtube.com/watch?v=n-AfvuV-bYo

Thanks.  The scaling part is indeed relevant, the idea would be to do
the same in the Info viewer, with images aligned with the text and
resized when zooming in and out.  The need we have is, however, much
less involved than in the video, as we already have the images
generated, what remains to do is to give information for scale when the
images are generated, and scale them in Emacs Info viewer.

(As a side note, previews for Texinfo editing could be much more similar
to the video setup).

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]