bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MathJax support in texi2any


From: Raymond Toy
Subject: Re: MathJax support in texi2any
Date: Tue, 13 Oct 2020 16:17:03 -0700



On Thu, Oct 8, 2020 at 12:37 PM Gavin Smith <gavinsmith0123@gmail.com> wrote:
On Thu, Oct 08, 2020 at 12:26:28PM -0700, Raymond Toy wrote:
> Does this also mean I can use AMSTeX features in @math?  I guess that also
> means I still need @iftex and @ifhtml versions since tex output only
> understands plain TeX, right?  Still this is a very nice feature!

I couldn't tell you about AMSTeX (or other LaTeX macros) with MathJax, but
it wouldn't work with TeX output unless the macros were defined.

Played around a bit.  This does look quite nice.  As others have mentioned, a @displaymath would be very nice.

Since maxima's manual supports info, pdf, and html output, it has been quite a bit of work to keep it all organized.  Until now, we didn't really expect @math to do anything special for pdf and html.  But now that it can, it's really tempting to use plain tex in @math to get nice inline formulas for pdf and html. But these may not look so good in info format.

I think it's ok if someone wants to use the full capabilities of MathJax or to have readable math in info files, then they'll have to do the appropriate set of @iffoo @end iffoo.  Not great, but I don't see how you can have @math with TeX that also would produce something nice for info.

For maxima, I think that instead of @math{\int_0^1 x dx}, we'd want to say in maxima syntax 'integrate(x,x,0,1)', which probably wouldn't be done using @math at all.

--
Ray

reply via email to

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