On Fri, Sep 06, 2024 at 08:47:05AM -0700, Raymond Toy wrote:
> What are the current values for these? I’m most worried that if these are
> different, you’ll break lots of existing uses. Maxima’s user manual
> <https://maxima.common-lisp.dev/docs/index.html> uses Mathjax a lot to get
> nice HTML display of math.

I had a look of what you do in the maxima manual, but your case is very
different from other manuals.  Indeed, you do not use MathJax as
provided by texi2any for @math and @displaymath, but you have math all
over your document, not in any specific HTML element.  The settings I
propose would not work for you, but you cannot use texi2any mathjax
support anyway, as this adds a tex2jax_ignore class to the body, such
that MathJax would not render any of your inline math.  If you do not
have @math nor @displaymath, it would not do anything, though, but the
change in options would not affect you anyway.

So in any case, I think that your case is quite specific, and would
probably require changes to the texi2any code to avoid
class="tex2jax_ignore" being added to the <body>.  The new options I
want to add could make things worse, but right now, what you do probably
do not integrate well with texi2any generated MathJax.  Do you use
@math/@displaymath and texi2any MathJax?

-- 
Pat

Reply via email to