[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: tightening mathjax tex options

**From**: |
Patrice Dumas |

**Subject**: |
Re: tightening mathjax tex options |

**Date**: |
Sat, 7 Sep 2024 08:29:43 +0200 |

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

**tightening mathjax tex options**, *Patrice Dumas*, `2024/09/06`
**Re: tightening mathjax tex options**, *Raymond Toy*, `2024/09/06`
**Re: tightening mathjax tex options**, *Patrice Dumas*, `2024/09/06`
**Re: tightening mathjax tex options**, *Raymond Toy*, `2024/09/06`
**Re: tightening mathjax tex options**, *Patrice Dumas*, `2024/09/06`
**Re: tightening mathjax tex options**, *Raymond Toy*, `2024/09/06`
**Re: tightening mathjax tex options**, *Patrice Dumas*, `2024/09/07`
**Re: tightening mathjax tex options**,
*Patrice Dumas* **<=**
**Re: tightening mathjax tex options**, *Raymond Toy*, `2024/09/07`

**Re: tightening mathjax tex options**, *Patrice Dumas*, `2024/09/06`

**Re: tightening mathjax tex options**, *Patrice Dumas*, `2024/09/10`