Re: math as image in Info INFO_MATH_IMAGES

2025-01-11 Thread pertusus
On Thu, Jan 09, 2025 at 07:58:02AM +0200, Eli Zaretskii wrote: > > Date: Wed, 8 Jan 2025 20:46:59 +0100 > > From: pertu...@free.fr > > > > What to do next? Add information on DPI/font size/DPL to the image in > > Info, contact Emacs persons who could discuss the issue/do the change? > > (Through

Re: math as image in Info INFO_MATH_IMAGES

2025-01-08 Thread Eli Zaretskii
> Date: Wed, 8 Jan 2025 20:46:59 +0100 > From: pertu...@free.fr > > On Thu, Jan 02, 2025 at 12:57:43AM +, Gavin Smith wrote: > > If texi2any generates the images with a given DPI (dots per inch) setting > > to dvips (-d argument) (say 200), then it seems that all Emacs would need > > is a vari

Re: math as image in Info INFO_MATH_IMAGES

2025-01-08 Thread pertusus
On Thu, Jan 02, 2025 at 12:57:43AM +, Gavin Smith wrote: > If texi2any generates the images with a given DPI (dots per inch) setting > to dvips (-d argument) (say 200), then it seems that all Emacs would need > is a variable to specify the DPI of the Info images. The image size > would then be

Re: math as image in Info INFO_MATH_IMAGES

2025-01-02 Thread Gavin Smith
On Thu, Jan 02, 2025 at 01:49:44PM +0100, pertu...@free.fr wrote: > On Thu, Jan 02, 2025 at 12:57:43AM +, Gavin Smith wrote: > > If texi2any generates the images with a given DPI (dots per inch) setting > > to dvips (-d argument) (say 200), then it seems that all Emacs would need > > is a varia

Re: math as image in Info INFO_MATH_IMAGES

2025-01-02 Thread pertusus
On Thu, Jan 02, 2025 at 12:57:43AM +, Gavin Smith wrote: > If texi2any generates the images with a given DPI (dots per inch) setting > to dvips (-d argument) (say 200), then it seems that all Emacs would need > is a variable to specify the DPI of the Info images. The image size > would then be

Re: math as image in Info INFO_MATH_IMAGES

2025-01-01 Thread Gavin Smith
On Thu, Jan 02, 2025 at 12:51:53AM +0100, pertu...@free.fr wrote: > On Tue, Dec 24, 2024 at 06:38:19PM +, Gavin Smith wrote: > > On Tue, Dec 24, 2024 at 07:45:02PM +0200, Eli Zaretskii wrote: > > > > From: Gavin Smith > > > > Date: Tue, 24 Dec 2024 17:21:36 + > > > > > > > > We could ask

Re: math as image in Info INFO_MATH_IMAGES

2025-01-01 Thread pertusus
On Tue, Dec 24, 2024 at 06:38:19PM +, Gavin Smith wrote: > On Tue, Dec 24, 2024 at 07:45:02PM +0200, Eli Zaretskii wrote: > > > From: Gavin Smith > > > Date: Tue, 24 Dec 2024 17:21:36 + > > > > > > We could ask Emacs users or developers if there is a way to make > > > the images be displa

Re: math as image in Info INFO_MATH_IMAGES

2024-12-24 Thread Eli Zaretskii
> From: Gavin Smith > Date: Tue, 24 Dec 2024 18:38:19 + > Cc: pertu...@free.fr, bug-texinfo@gnu.org, rahgu...@zohomail.eu > > > > We could ask Emacs users or developers if there is a way to make > > > the images be displayed smaller in Info mode. > > > > Emacs can scale images. See the node

Re: math as image in Info INFO_MATH_IMAGES

2024-12-24 Thread Eli Zaretskii
> Date: Tue, 24 Dec 2024 18:38:50 +0100 > From: Patrice Dumas > > > Surely this is an issue with the Info viewer as the Info file itself > > does not have a size for text? > > I do not think so, I think that it is an issue with the way the images > are generated, they should be generated for an

Re: math as image in Info INFO_MATH_IMAGES

2024-12-24 Thread Gavin Smith
On Tue, Dec 24, 2024 at 07:45:02PM +0200, Eli Zaretskii wrote: > > From: Gavin Smith > > Date: Tue, 24 Dec 2024 17:21:36 + > > > > Surely this is an issue with the Info viewer as the Info file itself > > does not have a size for text? > > > > I tried this myself in emacs (I installed emacs s

Re: math as image in Info INFO_MATH_IMAGES

2024-12-24 Thread Gavin Smith
On Tue, Dec 24, 2024 at 02:36:22PM +0100, Patrice Dumas wrote: > I tried to read a bit AUCTeX code to understand how it is done there but > couldn't really understand. > > In short, I generate a LaTeX file where the math is within the preview > environment. I run latex on it. Then I run > dvipn

Re: math as image in Info INFO_MATH_IMAGES

2024-12-24 Thread Eli Zaretskii
> From: Gavin Smith > Date: Tue, 24 Dec 2024 17:21:36 + > > Surely this is an issue with the Info viewer as the Info file itself > does not have a size for text? > > I tried this myself in emacs (I installed emacs specially for this). > You can open an Info file with "C-u C-h i FILENAME". >

Re: math as image in Info INFO_MATH_IMAGES

2024-12-24 Thread Patrice Dumas
On Tue, Dec 24, 2024 at 05:21:36PM +, Gavin Smith wrote: > On Tue, Dec 24, 2024 at 02:36:22PM +0100, Patrice Dumas wrote: > > Hello, > > > > In the last commits, I have implemented math as images in Info as > > discussed here: > > https://lists.gnu.org/archive/html/help-texinfo/2024-08/msg

Re: math as image in Info INFO_MATH_IMAGES

2024-12-24 Thread Gavin Smith
On Tue, Dec 24, 2024 at 02:36:22PM +0100, Patrice Dumas wrote: > Hello, > > In the last commits, I have implemented math as images in Info as > discussed here: > https://lists.gnu.org/archive/html/help-texinfo/2024-08/msg1.html > > The customization variable is called: INFO_MATH_IMAGES (but i

math as image in Info INFO_MATH_IMAGES

2024-12-24 Thread Patrice Dumas
Hello, In the last commits, I have implemented math as images in Info as discussed here: https://lists.gnu.org/archive/html/help-texinfo/2024-08/msg1.html The customization variable is called: INFO_MATH_IMAGES (but it may change if you have proposals). The result is ok, but not too good. In