Re: behavior of @math with HTML output

2022-10-16 Thread Raymond Toy
On Fri, Oct 14, 2022 at 12:43 PM Vincent Lefevre wrote: > On 2022-10-14 08:40:58 -0700, Raymond Toy wrote: > > For one example of a texinfo doc using Mathjax, see > > https://maxima.common-lisp.dev/. In particular, you can look at > > https://maxima.common-lisp.dev/docs/maxima_79.html. A maxima

Re: behavior of @math with HTML output

2022-10-16 Thread Vincent Lefevre
On 2022-10-15 18:34:16 -0500, Jacob Bachmeyer wrote: > Vincent Lefevre wrote: > > On 2022-10-14 21:11:19 -0500, Jacob Bachmeyer wrote: > > > Arguably, this (having only a text terminal for reading the manual) > > > is the use case for Info. > > > > The user may want to choose the HTML version for

Re: info -w is slow for man pages

2022-10-16 Thread Gavin Smith
On Sun, Oct 16, 2022 at 04:58:59PM +0300, Eli Zaretskii wrote: > > From: Gavin Smith > > Date: Sun, 16 Oct 2022 14:23:27 +0100 > > Cc: bug-texinfo@gnu.org > > > > I've committed more code to use "man -w" first to check if the man page > > exists, before "man -a", in commit 8520d2b4d8. > > Is the

Re: info -w is slow for man pages

2022-10-16 Thread Eli Zaretskii
> From: Gavin Smith > Date: Sun, 16 Oct 2022 14:23:27 +0100 > Cc: bug-texinfo@gnu.org > > I've committed more code to use "man -w" first to check if the man page > exists, before "man -a", in commit 8520d2b4d8. Is the -w option to 'man' portable? According to my Posix references, it isn't. > H

Re: info -w is slow for man pages

2022-10-16 Thread Gavin Smith
On Sat, Oct 15, 2022 at 11:58:53PM +0200, Hilmar Preusse wrote: > Dear developers, > > I noticed that "info -w" is puzzlingly slow when the argument is a man page: > > $ time -p info -w ffmpeg-all > *manpages* > real 1.06 > user 1.47 > sys 0.16 > > In contrast, "man -w" is ne

Re: info -o: exit status 0 on error

2022-10-16 Thread Gavin Smith
On Sat, Oct 15, 2022 at 11:52:19PM +0200, Hilmar Preusse wrote: > Dear developers, > > "info -o" exits with status 0 when it can't find the node: > > $ info -o /dev/null lolcow > info: No menu item 'lolcow' in node '(dir)Top' > > $ echo $? > 0 > Thank you for the report. I hav

Re: behavior of @math with HTML output

2022-10-16 Thread Gavin Smith
On Sat, Oct 15, 2022 at 07:14:04PM -0500, Jacob Bachmeyer wrote: > Since @math is defined to use TeX syntax in its argument, would it be better > to extend the other Texinfo processors to recognize \var inside @math and do > whatever is needed to make it act as @var in that case? @var already seem

Re: incorrect @math spacing for PDF output with an empty macro

2022-10-16 Thread Gavin Smith
On Sat, Oct 15, 2022 at 12:40:32PM +0200, Vincent Lefevre wrote: > The spaces in math mode can normally stretch and shrink (not in > the same way as outside of math mode, though). But there are some > TeX commands that changes spaces to fixed spaces in math mode. > I just wanted to be sure that @w