Thanks Andreas.
Your track was usefull. But there is no obvious complete howTo to get this resolved, in the Moodle documentation. So I will resume here for new incomers to Moodle. I will maybe have some time to propose this abstract for Moodle doculentation.
Using Moodle Tex filter
Overview
Tex Filter uses generic in-content filtering mechanism to layout Tex mathematical notation and formulas. It relies on the open source development of a Tex -> Gif "on the fly" generator called mimeTex.
Activating Tex Filter in Moodle
To activate the tex filtering, and enabling formula graphic generation, you should :
- Get the mimeTex executable (source or binaries) (use the previous link to get full binaries or to know how to compile source)
- copy the mimeTex.exe file into the /cgi-bin/ location (dont'use any subpath) and call it mimeTex.cgi. (if Unix, don't forget to make it executable by the HTTP server).
- In the Moodle MyMoodle->Admin->Configuration->Filters menu, activate the Tex Filter.
- Make a new resource. Edit content and embed the Tex code within "$$" escapes. Example : $$E=\{u_{1},u_{2},\cdots, u_{n},\cdots\}$$
- Edit the rest of the document as standard HTML, using HTMLArea operation (if the resource is a Moodle Web page).
- Save the resource and it should work.
Note that the Moodle filter has some syntactic limitations. A Tex syntax reference as a Moodle glossary is available for all admited tags.
How it works really
The Moodle Tex filter captures Tex sequences between "$$
" markers and replace it with a call for a dynamically generated image : <IMG SRC="/Cgi-bin/mimeTex.cgi?Tex_code_string">. The CGI converter generates "on the fly" Gif snaptshots rendering the formula or symbolisms, directely sent to the browser. There is no image caching server side, which is not a so big desease as generated images are rather small sized.Rendering quality
The mimeTex CGI do render at midle range quality. latexrender is known performing better aliasing, but I have no information to intergrate it.
Valery.