3 ms·
Several approaches: 1. The semi-official answer seems to be to use a WYSIWYG editor, which seems to be the solution XML proponents take to any syntax problem.
by _delirium 16y ago
Several approaches:
1. The semi-official answer seems to be to use a WYSIWYG editor, which seems to be the solution XML proponents take to any syntax problem. ;-) For example, you can export to MathML from OpenOffice's equation editor.
2. If your goal is just to display math in webpages, there are some .js libraries that replace MathML's concrete syntax inline: you write a different syntax directly in your markup, and then it's converted at load time to MathML for browser rendering. The first widely used one was ASCIIMathML (http://www1.chapman.edu/~jipsen/mathml/asciimath.html http://www1.chapman.edu/~jipsen/mathml/asciimath.html), which inspired LaTeXMathML (http://math.etsu.edu/LaTeXMathML/ http://math.etsu.edu/LaTeXMathML/), and possibly others.
3. There are a number of offline translators from TeX math syntax to MathML. I've only ever used Blahtex (http://blahtex.org/ http://blahtex.org/), but there are a ton, in various stages of completeness and maintained-ness.
edit: it looks like the original blahtex is abandoned for a few years now, but a maintained descendant is here: http://gva.noekeon.org/blahtexml/ http://gva.noekeon.org/blahtexml/