|
From: Raymond T. <toy...@gm...> - 2020-10-27 18:20:09
|
Found out the other day that texinfo has been updated to support MathJax
when generating html pages. Among other things, @math will do something
(kind of) nice to display math using MathJax.
There will also be a new @displaymath for displayed equations.
I think this is really good news, but it means we'll have to be more
careful and diligent about making sure @math does the right thing for both
the info file, the pdf file, and the html files.
AFAICT, if there's a difference, we'll need to wrap @math/@displaymath with
@iftex or @ifhtml, etc. to get the right generated form.
But simple things like @math(x_k) will look nice in all forms. But more
complicated things like @math{1/2} which we might want it look like
@frac{1}{2} will need @if stuff.
Nevertheless, this is really nice to have!
--
Ray
|