\
[
… \
]
and \
(
… \
)
‘environments’ in an HTML document, to produce mathematical
output that may (for example) be cut-and-pasted into other programs.
Incorporation into your document can be
as simple as incorporating:
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"> </script>into the header of your HTML document, though the MathJax project’s site also allows you to download your own copy and install it on one of your servers. MathJax is open source software, so you could, in principle, extend it to do even more eccentric tasks. An approach different from (La)TeX conversion is taken by the GELLMU Project. Its article XML document type, which has a markup vocabulary close to LaTeX that can be edited using LaTeX-like markup (even though it is not LaTeX — so far), comes with translators that make both PDF (via pdflatex) and XHTML+MathML. Such an approach avoids the inherent limitations of the “traditional” (La)TeX translation processes, which have traps that can be sprung by unfettered use of (La)TeX markup.
(Mathtex supersedes the author’s earlier mimetex.)<img src="/cgi-bin/mathtex.cgi?f(x)=\int\limits_{-\infty}^xe^{-t^2}dt">
This answer last edited: 2011-10-17
This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=mathml