@praveenp do you know if bug 48032 is fixable with texvc?
@Derk-Jan could you give some background on your "MathJax is a nightmare" comment? Have their been specific reports or complaints? Or is this something specific out of development (like the float issue)? It seems MathJax is slower on Wikipedia than on other sites. Wikipedia's MathJax configuration is definitely not optimal, and it seems the integration into MediaWiki isn't either. I agree that the best first step is to replace the PNGs on the fly -- that's almost trivial and has no risk attached.
@Scott MathJax basically implements the TeX algorithm. But somebody also converted pdftex with emscripten https://github.com/manuels/texlive.js/. I'm guessing you'd have to expect a similar overhead for any other TeX variant.
Peter.
---------- Forwarded message ---------- From: Max Semenik maxsem.wiki@gmail.com Date: Tue, Jul 23, 2013 at 8:38 AM Subject: Re: [Wikitech-l] Long term strategy for math on wikipedia To: Wikimedia developers wikitech-l@lists.wikimedia.org
On 23.07.2013, 19:30 C. wrote:
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.)
MathJax - the one we're using:)
-- Best regards, Max Semenik ([[User:MaxSem]])
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l