This question and answer explain how one could use tex4ht to convert tex to html with MathJax reading the math. One (of several) problem(s) I am having is that my document uses \cancel from the cancel package. Even if I alter my tex4ht configuration file so that the cancel extension is loaded in the head of the html file, it's too late. htlatex has already converted things like \cancel{2} in the tex file into image files and inserted img elements for them, instead of converting \cancel{2} into some kind of mathml equivalent.
Is there a way to have htlatex leave math environments untouched? If the delimiters like \[, \(, \begin{align}, etc., and the commands inside them like \cancel{2} were left alone when htlatex makes the conversion, then MathJax should process the contents as they are, using their raw LaTeX commands and structure (as long as there aren't too many complications.)
\VerbMathcommand in particular. – michal.h21 Oct 04 '14 at 08:45mweand I will modify the cfg file according to your use case – michal.h21 Oct 04 '14 at 15:41AltlMathiIa typo, and should beAltlMathI? – alex.jordan Oct 04 '14 at 16:10