bug-texinfo
[Top][All Lists]
Advanced

[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 07:58:47 +0200

On Fri, Sep 06, 2024 at 07:31:27PM -0700, Raymond Toy wrote:
> On 9/6/24 2:36 PM, Patrice Dumas wrote:
> 
> > On Fri, Sep 06, 2024 at 02:16:56PM -0700, Raymond Toy wrote:
> > > On 9/6/24 9:29 AM, Patrice Dumas wrote:
> > > > The change in settings may only affect LaTeX rendered by MathJax outside
> > > > of @math and @displaymath, using different structures as what is done in
> > > > texi2any.  This would be possible if you directly ouput HTML like
> > > Ok, Maxima’s manual doesn’t do that. All math should be done my @math or
> > > @displaymath. At least that’s how it’s supposed to be in the manual.
> > But this means that (according to my reading of the HTML) you change the
> > output somehow to be directly
> > $
> > ...
> > $
> 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.

If you use 5.x, indeed, you have to add MathJax support by yourself.

> > for displaymath, without the expected <div><em>, and use $ instead of
> > \[.  Similarly, @math does not have <em>.  The MathJax block in the
> > header is also missing, as well as the tex2jax_ignore in <body>.
> Does it matter that it was built with texinfo 6.8? (I think.) I haven’t
> updated the site to use a newer version of texinfo, but I’d like to.

No, the MathJax support was added in 6.8 and has not changed much until
now.

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]