On Thu, Oct 8, 2020 at 9:31 AM Gavin Smith <[email protected]> wrote:
> On Thu, Oct 08, 2020 at 08:06:05AM -0700, Raymond Toy wrote: > > On Wed, Oct 7, 2020 at 12:01 PM Gavin Smith <[email protected]> > > wrote: > > > > > I've implemented basic MathJax support in texi2any in commit > > > 7ff3cbdc4. To use it, run texi2any as "texi2any --html -c > > > HTML_MATH=mathjax". Feedback would be appreciated on how well it works > > > with Texinfo manuals containing math typesetting. > > > > > > > This is really great news! Maxima's manual has many formulas, but > they're > > all wrapped in @ifhtml and @iftex. > > > > With this new version, how do I get formulas typeset? @math? Something > > else? > > Just use @math with no conditional. > > I downloaded maxima 5.44.0 and to build the documentation without building > the package, I did > > texi2any.pl --html maxima.texi --no-validate -c HTML_MATH=mathjax > > and this worked. For example, the file > maxima/Functions-and-Variables-for-zeilberger.html in the output > had math displayed OK in most cases if JavaScript is enabled (although > there > may be a few problems I need to look at). > This is really awesome! And thanks for testing it out; I'll try myself soon. 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! -- Ray
