Hi all,
I am very confusing about how Wikipedia and MediaWiki sites can treat Maths. If we all
agree that texvc and maths in png images are ugly and obsolete, it seems that Mathoid is
"is the most recommended option; Mathoid is the rendering mode that will be used on
Wikipedia in the future.” (see
https://www.mediawiki.org/wiki/Extension:Math
<https://www.mediawiki.org/wiki/Extension:Math>).
But Mathoid requires an external server and therefore I found (with difficulty) and tested
successfully SimpleMathJax (
https://www.mediawiki.org/wiki/Extension:SimpleMathJax
<https://www.mediawiki.org/wiki/Extension:SimpleMathJax>). It is set with the old
syntax only
require_once "$IP/extensions/SimpleMathJax/SimpleMathJax.php";
However the code of the extension itself is not distributed with the numerous MediaWiki
extensions but you can get it at
https://github.com/jmnote/SimpleMathJax/archive/master.zip
- The math rendering is beautiful.
- Most of the standard AMS TeX code seems to work fine.
- Using pandoc you can transform your LaTeX source into mediawiki source with the
following command line
$ pandoc -o foo.wiki -f latex -t mediawiki foo.tex
- It seems to work with any recent browser without the need of a specific extension.
Therefore I have some questions:
- Is there any legal reason for the WMF for not distributing?
- Am I wrong with the scientific facilities of SimpleMathJax?
Regards,
--
N. Brouard