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.
--