https://bugzilla.wikimedia.org/show_bug.cgi?id=51698
--- Comment #5 from Gabriel Wicke <[email protected]> --- From IRC discussion with pkrautzberger it seems that we could actually use MathJax directly to convert tex to MathML without calling the API at all. Some work is still needed though: [17:03] <gwicke> do you have a node package? [17:03] <pkrautzberger> ah. no. The problem is that MathJax requires a dom right now. But we plan to liberate parts. [17:03] <gwicke> we have a dom [17:03] <pkrautzberger> (a lot functionality doesn't make sense outside the DOM). [17:04] <gwicke> domino currently [17:04] <pkrautzberger> but TeX2MathML conversion could be isolated easily (MathML to SVG not as easily). BTW our internal format is MathML. [17:04] <gwicke> it only implements DOM4 in case that makes a difference [17:04] <pkrautzberger> I'm not sure if dom4 would be a problem. [17:04] <pkrautzberger> but we've seen people use dom runners. [17:04] <gwicke> we could also use JSDom for math if that helps [17:05] <gwicke> supports the other levels [17:05] <gwicke> and script tag execution [17:05] <pkrautzberger> well, ideally we could just isolate that from the dom. [17:05] <pkrautzberger> but yes, I know someone who got jsdom to work with MathJax. [17:06] <gwicke> ah, that sounds promising -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
