How can I use the latex renderer?

From ClarolineDoc

You can type mathematical expressions with tex/latex in Claroline 1.5.

There are two ways to display the mathematical formulas :

Server side

By using the script of rendering latex MIMETEX provided with Claroline.

MIMETEX parses TEX/LaTEX mathematical expressions and emits gif images from them. You'll find precompilated versions of MIMETEX for various platforms in the claroline/inc/lib/ directory :

mimetex.exe    (for Microsoft Windows)
mimetex.linux  (for Unix based Operating system)
mimetex.darwin (for Mac)

Move the executable file corresponding to your platform into its cgi-bin/ directory, where cgi programs are expected (this directory is typically of the form somewhere/www/cgi-bin/ or /usr/lib/cgi-bin):

cp claroline/mimetex.linux /usr/lib/cgi-bin/

Rename it:

cd /usr/lib/cgi-bin/
mv mimetex.linux mimetex.cgi

and change the execution permissions if necessary (execution for web user).

chmod ug+x mimetex.cgi

It is enough for you then to specify it in the file of config of Claroline (claroline/inc/conf.claro_main.conf.php -- all information is provided in this file).

Put the complete url of your TEX renderer in claroline/inc/conf.claro_main.conf.php. This url doesn't have to be specially on the same server than Claroline.

$claro_texRendererUrl = "http://www.domain.tld/cgi-bin/mimetex.cgi";
Note : A user of Claroline said: Mimetex.linux, bundled with Claroline, occassionally hangs htmlarea. Compiling from source fixed it.

Client side

If you're not able or allowed to set MIMETEX on a server, leave the setting below to 'false'. Claroline will then try to use another method for rendering TEX/LaTEX mathematical expression, relying on a plug-in client side this time. For this, user has to install the TECHEXPLORER plug-in, freely available for both Windows, Macintosh and Linux at http://www.integretechpub.com/.