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: handling of 'Index' direction in `texi2any`

2025-01-08 Thread Werner LEMBERG
>> > I prefer to allow this kind of customization, especially for >> > functionality that is of a wide interest, through options or >> > variables, rather than the customization API, as the former would >> > be easier for users and also less likely to break. >> >> It is always better indeed. Bu

Re: handling of 'Index' direction in `texi2any`

2025-01-08 Thread Werner LEMBERG
> Find attached a possible init file doing what you want. I have > hardcoded the selected printindex. Thanks a lot for the code! If I ever need this I know where to look :-) Werner

Re: Unable to build on Debian-derived distribution without libperl-dev package

2025-01-08 Thread Patrice Dumas
On Thu, Jan 09, 2025 at 12:14:37AM +0100, Patrice Dumas wrote: > On Wed, Jan 08, 2025 at 05:42:53PM +, Gavin Smith wrote: > > I was unable to build from Texinfo git master. There is an error about > > missing -lperl: > > But the mistake I did is that only the main program build is skipped > i

Re: Unable to build on Debian-derived distribution without libperl-dev package

2025-01-08 Thread Patrice Dumas
On Wed, Jan 08, 2025 at 05:42:53PM +, Gavin Smith wrote: > I was unable to build from Texinfo git master. There is an error about > missing -lperl: This is linked with the embedding of a Perl interpreter. Indeed, the ctexi2any main program requires embedding a Perl interpreter, the correspon

Re: handling of 'Index' direction in `texi2any`

2025-01-08 Thread Patrice Dumas
On Wed, Jan 08, 2025 at 06:44:43PM +, Gavin Smith wrote: > On Tue, Jan 07, 2025 at 09:18:13PM +0100, Patrice Dumas wrote: > > > I prefer to allow this kind of customization, especially for functionality > > > that is of a wide interest, through options or variables, rather than the > > > custom

Re: texi2any - remove USE_REL_REV option?

2025-01-08 Thread Gavin Smith
On Thu, Jan 02, 2025 at 12:01:10AM +0100, Patrice Dumas wrote: > On Sun, Dec 29, 2024 at 11:27:18PM +, Gavin Smith wrote: > > Could the USE_REL_REV customization variable of texi2any be > > removed? It is does not seem very useful to disable use of the > > 'rel' attribute and I propose that th

Re: subtle bug in generating PDF outlines with luatex

2025-01-08 Thread Gavin Smith
On Wed, Jan 08, 2025 at 04:39:58AM +, Werner LEMBERG wrote: > > So 0x20 is translated as '\\040', i.e., 4 bytes instead of ' ', > > 1 byte, and strcmp correctly sorts 4 bytes and this is the bug: > > luatex has to unscape these strings before the sorting. [...] > > > > is it necessary to escap

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: handling of 'Index' direction in `texi2any`

2025-01-08 Thread Gavin Smith
On Tue, Jan 07, 2025 at 09:18:13PM +0100, Patrice Dumas wrote: > > I prefer to allow this kind of customization, especially for functionality > > that is of a wide interest, through options or variables, rather than the > > customization API, as the former would be easier for users and also less >

Re: line splitting of help message for translation

2025-01-08 Thread Gavin Smith
On Tue, Jan 07, 2025 at 09:08:46PM +, Gavin Smith wrote: > Here's the new text: > At the end of this email is a diff to make this change for texi2any.pl. I've also made the change for texi2any.c and committed it. I notice the usage message for "ctexi2any" (built from texi2any.c) is missing

Unable to build on Debian-derived distribution without libperl-dev package

2025-01-08 Thread Gavin Smith
I was unable to build from Texinfo git master. There is an error about missing -lperl: make[2]: Entering directory '/home/g/src/texinfo/GIT/tp/Texinfo/XS' /bin/bash ./libtool --tag=CC --mode=link x86_64-linux-gnu-gcc -version-info 0:0:0 -Wl,-E -o libtexinfo-main.la -rpath /usr/local/l