Re: Texinfo 7.0 can't find ARRAY

2022-11-09 Thread Gavin Smith
On Thu, Nov 10, 2022 at 02:44:01AM +0100, Mohammad Akhlaghi wrote: > Dear Texinfo developers, > > I recently updated my Texinfo to version 7.0 but I am getting this error > message when I run 'make' in the 'doc/' directory of Gnuastro's source: > > Can't use an undefined value as an ARRAY referen

Texinfo 7.0 can't find ARRAY

2022-11-09 Thread Mohammad Akhlaghi
Dear Texinfo developers, I recently updated my Texinfo to version 7.0 but I am getting this error message when I run 'make' in the 'doc/' directory of Gnuastro's source: Can't use an undefined value as an ARRAY reference at /usr/share/texinfo/Texinfo/Convert/Plaintext.pm line 1960. I also u

Re: Standard directory for documentation in EPUB format

2022-11-09 Thread Eli Zaretskii
> From: Gavin Smith > Date: Wed, 9 Nov 2022 19:58:19 + > Cc: bug-texinfo@gnu.org > > On Wed, Nov 09, 2022 at 09:36:44PM +0200, Eli Zaretskii wrote: > > > htmldir, dvidir etc. all default to ${docdir} by default (with > > > autoconf/automake). There would seem to be no benefit to > > > creati

Re: Standard directory for documentation in EPUB format

2022-11-09 Thread Gavin Smith
On Wed, Nov 09, 2022 at 09:36:44PM +0200, Eli Zaretskii wrote: > > From: Gavin Smith > > Date: Wed, 9 Nov 2022 19:20:53 + > > Cc: bug-texinfo@gnu.org > > > > It's not clear that there should be a dedicated directory for installed > > EPUB files, or that people would install lots of these. I'

Re: spurious space after macro expansion in math mode for TeX output

2022-11-09 Thread Gavin Smith
On Wed, Nov 09, 2022 at 07:29:25PM +, Gavin Smith wrote: > This makes it promising that the space can be removed when the macro > takes no arguments as the two cases should work in a fundamentally similar > way. What is happening that when the macro defined without arguments, the TeX macros de

Re: Standard directory for documentation in EPUB format

2022-11-09 Thread Eli Zaretskii
> From: Gavin Smith > Date: Wed, 9 Nov 2022 19:20:53 + > Cc: bug-texinfo@gnu.org > > It's not clear that there should be a dedicated directory for installed > EPUB files, or that people would install lots of these. I'm not too > clear on how people would use the EPUB output. > > The 'docdir

Re: spurious space after macro expansion in math mode for TeX output

2022-11-09 Thread Gavin Smith
On Wed, Nov 09, 2022 at 02:17:10PM +0100, Vincent Lefevre wrote: > > > So, one gets the expected behavior with the TeX macro (no space added). > > > But with the Texinfo macro, a space is added. This is unexpected: one > > > should have got the same behavior as with the Tex macro. This means > > >

Re: Standard directory for documentation in EPUB format

2022-11-09 Thread Gavin Smith
On Wed, Nov 09, 2022 at 07:08:26PM +0200, Eli Zaretskii wrote: > Hi, > > Texinfo 7.0 added support for producing the manual in the EPUB format, > but there's no standard directory to install that in GNU Coding > Standards. Would you please recommend where to install that, and > suggest a patch fo

Re: Building texinfo 7 from git

2022-11-09 Thread Gavin Smith
On Wed, Nov 09, 2022 at 01:01:26PM +0100, Patrice Dumas wrote: > On Tue, Nov 08, 2022 at 02:02:46PM -0800, Raymond Toy wrote: > > On Tue, Nov 8, 2022 at 8:34 AM Gavin Smith wrote: > > > > > > > > Can you check the output from "automake --version" as I believe older > > > automake required "@setfi

Standard directory for documentation in EPUB format

2022-11-09 Thread Eli Zaretskii
Hi, Texinfo 7.0 added support for producing the manual in the EPUB format, but there's no standard directory to install that in GNU Coding Standards. Would you please recommend where to install that, and suggest a patch for the GCS document to reflect that? The first question about that "from th

Re: spurious space after macro expansion in math mode for TeX output

2022-11-09 Thread Vincent Lefevre
I've done various tests with GNU Texinfo 6.8 (texinfo 2021-04-25.21) and GNU Texinfo 7.0 (texinfo 2022-11-07.17). They give the same results; see comments in the testcase below. -- \input texinfo@c -*-texinfo-*- @tex \gdef\texMM{

Re: Building texinfo 7 from git

2022-11-09 Thread Raymond Toy
On Wed, Nov 9, 2022 at 4:01 AM Patrice Dumas wrote: > On Tue, Nov 08, 2022 at 02:02:46PM -0800, Raymond Toy wrote: > > On Tue, Nov 8, 2022 at 8:34 AM Gavin Smith > wrote: > > > > > > > > Can you check the output from "automake --version" as I believe older > > > automake required "@setfilename"

Re: spurious space after macro expansion in math mode for TeX output

2022-11-09 Thread Vincent Lefevre
On 2022-11-09 14:17:10 +0100, Vincent Lefevre wrote: > \input texinfo@c -*-texinfo-*- > > @tex > \gdef\texatan{\mathop{\rm atan}} > @end tex > > @iftex > @macro atan {T} > \\mathop{\\rm atan} > @end macro > @end iftex > > Spacing test with atan. > > @math{\mathop{\rm atan}(x)} > > @math{\t

Re: spurious space after macro expansion in math mode for TeX output

2022-11-09 Thread Vincent Lefevre
On 2022-11-09 12:47:38 +0100, Patrice Dumas wrote: > On Tue, Nov 08, 2022 at 11:07:51PM +0100, Vincent Lefevre wrote: > > > > Well, let's try. :-) > > > > > > \input texinfo@c -*-texinfo-*- > > > > @tex > > \gdef\texatan{\mathop{\r

Re: spurious space after macro expansion in math mode for TeX output

2022-11-09 Thread Vincent Lefevre
On 2022-11-08 23:07:51 +0100, Vincent Lefevre wrote: > > \input texinfo@c -*-texinfo-*- > > @tex > \gdef\texatan{\mathop{\rm atan}} > @end tex > > @iftex > @macro atan > \\mathop{\\rm atan} > @end macro > @end iftex > > Spacing tes

Re: Building texinfo 7 from git

2022-11-09 Thread Patrice Dumas
On Tue, Nov 08, 2022 at 02:02:46PM -0800, Raymond Toy wrote: > On Tue, Nov 8, 2022 at 8:34 AM Gavin Smith wrote: > > > > > Can you check the output from "automake --version" as I believe older > > automake required "@setfilename" in Texinfo files. > > > > It says 1.15.1. On a different linux box

Re: spurious space after macro expansion in math mode for TeX output

2022-11-09 Thread Patrice Dumas
On Tue, Nov 08, 2022 at 11:07:51PM +0100, Vincent Lefevre wrote: > > Well, let's try. :-) > > > \input texinfo@c -*-texinfo-*- > > @tex > \gdef\texatan{\mathop{\rm atan}} > @end tex > > @iftex > @macro atan > \\mathop{\\rm atan} >

Re: texi2any aborts with empty @image argument

2022-11-09 Thread Werner LEMBERG
> Fixed in > https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=fc756d9128170d92cfacb367e2622c991b1ea5c7 Thanks! Werner