On Tue, Jul 23, 2013 at 5:20 AM, Derk-Jan Hartman < d.j.hartman+wmf_ml@gmail.com> wrote:
So what I would actually propose for the short term (next few years) in case we really want to go the direction of MathML is the following: 1: img tag + --data-math=formulaID in HTML 2: script to detect MathML support in browser 3: script retrieves MathML DOM from API using formulaID 4: script replaces img with MathML
It's worth thinking about future-editor issues as well. Perhaps rendering MathML client-side into a <canvas> is a better transition strategy -- it would lead to a more responsive editor than having to do a server call every character to update the render.
I haven't really looked into this -- are there any good javascript math renderers? (Compiling the TeX implementation in C into client-side JavaScript using emscripten might even be an option.) --scott