document that @math should contain only TeX/LaTeX and use httex?

2020-10-25 Thread Patrice Dumas
Hello, Given that Michal from tex4ht said that httexi should be difficult to fix such that the output is true html and not a rendition as text, what about * using httex to convert @math content with tex4ht too in the default case * document in the manual that if one want to use tex4ht/latex2ht

Re: HTML math options

2020-10-25 Thread Patrice Dumas
On Sat, Oct 24, 2020 at 11:21:15AM +0100, Gavin Smith wrote: > On Sat, Oct 24, 2020 at 01:56:05AM +0200, Patrice Dumas wrote: > > LaTeX is not very practical to write program documentation. Texinfo is > > not so good at math and bibliography. However, when you need both, for > > instance when you

Re: many tests with XS failing?

2020-10-25 Thread Patrice Dumas
On Sun, Oct 25, 2020 at 07:08:58PM +, Gavin Smith wrote: > On Sun, Oct 25, 2020 at 07:34:04PM +0100, Patrice Dumas wrote: > > On Sun, Oct 25, 2020 at 10:25:30AM +, Gavin Smith wrote: > > > > > > It may be fixed in commit aa52e20a. Due to a change in the enum type, > > > offsets into the a

keeping tests/*/raw_out_parser

2020-10-25 Thread Patrice Dumas
Hello, To debug the use of tex4ht and latex2html, it is much better to keep tests/*/raw_out_parser. For most other cases it is not as important as there is no difference between out_parser and raw_out_parser. Would it be ok to keep the directory? It may require removing all the raw_out_pars

Re: MathJax support in texi2any

2020-10-25 Thread Patrice Dumas
On Sun, Oct 25, 2020 at 07:16:20PM +, Gavin Smith wrote: > On Sun, Oct 25, 2020 at 07:21:22PM +0100, Patrice Dumas wrote: > > It already doesn't work for @math but we nevertheless encourage it. > > The long term solution is probably to convert to TeX/LaTeX inside > > of @math. It seems a bit s

Re: MathJax support in texi2any

2020-10-25 Thread Gavin Smith
On Sun, Oct 25, 2020 at 07:21:22PM +0100, Patrice Dumas wrote: > > People might also put other Texinfo commands inside the block, like > > @sub or @sup, but that shouldn't be encouraged, as that won't work > > with MathJax. (Also, \mathopsup won't work with MathJax either.) > > It already doesn't

Re: many tests with XS failing?

2020-10-25 Thread Gavin Smith
On Sun, Oct 25, 2020 at 07:34:04PM +0100, Patrice Dumas wrote: > On Sun, Oct 25, 2020 at 10:25:30AM +, Gavin Smith wrote: > > > > It may be fixed in commit aa52e20a. Due to a change in the enum type, > > offsets into the array in command_data.c may have been wrong. > > This commit doesn't ap

Re: many tests with XS failing?

2020-10-25 Thread Patrice Dumas
On Sun, Oct 25, 2020 at 10:25:30AM +, Gavin Smith wrote: > > It may be fixed in commit aa52e20a. Due to a change in the enum type, > offsets into the array in command_data.c may have been wrong. This commit doesn't appears for me? > > parsetexi/input.c:16: warning: "_GNU_SOURCE" redefined >

Re: MathJax support in texi2any

2020-10-25 Thread Patrice Dumas
On Sun, Oct 25, 2020 at 05:15:13PM +, Gavin Smith wrote: > > Processing @-commands within @displaymath could be useful for using > @macro's and consistency with @math. Apart from that, the only > command that I can imagine people having to use inside @displaymath > would be @@ to get an @. >

Re: MathJax support in texi2any

2020-10-25 Thread Gavin Smith
On Sun, Oct 25, 2020 at 05:55:28PM +0100, Patrice Dumas wrote: > On Sat, Oct 17, 2020 at 09:48:15PM +0100, Gavin Smith wrote: > > On Tue, Oct 13, 2020 at 01:40:44AM +0200, Patrice Dumas wrote: > > > @displaymath > > > a+b > > > @end displaymath > > > > @displaymath is implemented now (in both texi

Re: MathJax support in texi2any

2020-10-25 Thread Patrice Dumas
On Sat, Oct 17, 2020 at 09:48:15PM +0100, Gavin Smith wrote: > On Tue, Oct 13, 2020 at 01:40:44AM +0200, Patrice Dumas wrote: > > @displaymath > > a+b > > @end displaymath > > @displaymath is implemented now (in both texi2any and texinfo.tex). In texi2any, @displaymath is processed as raw environ

Re: many tests with XS failing?

2020-10-25 Thread Gavin Smith
On Sun, Oct 25, 2020 at 12:39:04AM +0200, Patrice Dumas wrote: > Hello, > > It is a bit strange if it only happens to me so it could be something > with my setup. A lot of tests in t/ fail right now, and all the tests > in tests, when using XS. > > Errors are like > ignore_and_comments.texi:4: w