Created attachment 81593 [details] Sample odt document When exporting to XHTML a document with mathematical formulas, it would be great to have an option to insert <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML"></script> in the header in order to workaround the lack of MathML support in the browser. That would be something like "insert MathJax header".
Created attachment 81594 [details] Sample output Here is how the output could look like. Note that the MathML will display correctly in any browsers. Compare with attachment 81592 [details].
Created attachment 81741 [details] [review] Patch This modifies the XHTML filter so that the XSLT stylesheets have an option to insert the MathJax script. Set <xsl:param name="mathjax"> to "true()" to test it. At the moment there is no UI to enable that option and pass it to the XSLT processor.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.