4 ms·
TeX is great for typesetting but it does very little else. It's a nightmare to parse and analyse. The equation language doesn't convey any information about the
by jamii 16y ago
TeX is great for typesetting but it does very little else. It's a nightmare to parse and analyse. The equation language doesn't convey any information about the equation other than it's appearance (eg syntactic scope, semantics). This makes it really hard to build things like search engines or screen readers (screen readers for LaTeX tend to end up saying things like 'sum-symbol subscript x equals zero superscript infinity x subscript one superscript two plus x subscript two superscript two' rather than 'the sum from x = 0 to infinity of x one squared plus x two squared).
I spent months building an equation search engine for Springer's math/science corpus so I've experienced the pain and horror of parsing LaTeX first hand. HTML + Semantic MathML is so much easier to work with. Its easy to parse, it allows the author to easily convey scope and semantic information and it can handle resizable displays. It just needs better tooling (eg a sane macro language which outputs MathML).