Writing Math in Dokeos: state of the art
Dokeos uses ASCIIMathML.js or mimetex for formula editing and rendering.
ASCIIMathML receive a simple string, like `int_a^b x dx` and translate it into MathML markup language.
THE PROBLEM: not all browser render MathML: Firefox do it, but Chrome don't (they say that webkit is not completely secure).
There is a solution, used by a lot of sites: MathJax, with or without ASCIIMathML.
Exemples in http://www.mathjax.org/demos/tex-samples/
1. Dokeos formula * rendering * in (almost) all browsers
We can use a link to MathJax in <head> writing
the solution can be viewed in http://dev.dokeos.com/main/document/showinframes.php?cidReq=DEMOITA&&cur...
1.b incorporating MatJax in Dokeos (look at http://www.mathjax.org/download/)
2. Solving the formula * editing * in (almost) all browsers
We need to incorporate solution in fckeditor or ckeditor (for Dokeos 2.2 we need to modify /main/inc/lib/ckeditor/_source/plugins/asciimath/dialogs/editor.html for viewing the formula models but I dont know how yet to "preview" the formula)
So Mathematics can be written and viewed in Dokeos using all browsers.
Note: look also at discussions in
- Mediawiki ( http://www.mediawiki.org/wiki/Extension:Math/MathJax_testing )
- moodle ( http://moodle.org/mod/forum/discuss.php?d=197290 )