On Sat, Sep 07, 2024 at 07:58:47AM +0200, Patrice Dumas wrote:
> > Oh, you’re right. I think I know why. Someone wants to use an really ancient
> > version of texinfo (5.x) even though the official build says it should be at
> > least 6.8. I tried to make it a requirement, but that didn’t work.

I had a look at the maxima source code, and indeed, you can either use
texi2any mathjax support or do it yourself, with m4 substitutions.  For
some reason, in configure.ac, 6.8 is included in the platforms where you
set MathJax by yourself:

       dnl If the makeinfo version is older than or equal to 6.8, we
       dnl need to include MathJax ourselves when building the HTML
       dnl files.
       need_mathjax=false
       if test ${makeinfo_version} -le 608; then
           need_mathjax=true
       fi

So starting with 7.0, your build system is set such that to use the
regular tex2any MathJax support.  In that case, the m4 code generates
@math and @displaymath.

I actually checked a build with texinfo 7.1 and it looks fine and the
'regular' MathJax support is used.  I also tested adding the tex options
block I propose and saw no visible difference.

So, for your use, the new options should work.

-- 
Pat

Reply via email to