Since HTML allows anything but TeX does not, we've been surprised a few times by bad math expressions that pass the parsing phase (and the html generation), but fail on the TeX building of the pdfs.
I had initially thought or validating directly in TeX, but that would require a TeX installation for all most uses of the generator tool. However, since we're now using Node.js as our main target, and since MathJax has a browser independent API, we can add experiment with more strict (and thus helpful) math handling.
Since HTML allows anything but TeX does not, we've been surprised a few times by bad math expressions that pass the parsing phase (and the html generation), but fail on the TeX building of the pdfs.
I had initially thought or validating directly in TeX, but that would require a TeX installation for
allmost uses of the generator tool. However, since we're now using Node.js as our main target, and since MathJax has a browser independent API, we canaddexperiment with more strict (and thus helpful) math handling.