<h2><aname="9._Mathematical_formulas"></a>9. Mathematical formulas with LaTeX</h2>
You can enable mathematical equations writing inside the Dokeos online editor (FCKEditor) by applying the following steps:
<ul>
<li>1. Configure your Apache installation to make the <i>dokeos/main/inc/lib/mimetex/</i> directory an authorized cgi-bin directory*</li>
<li>2. Reload your Apache configuration</li>
<li>3. Edit the <i>dokeos/main/inc/lib/fckeditor/myconfig.js</i> and
<ul>
<li>3.1. Add <b>FCKConfig.Plugins.Add("mimetex", "en", sOtherPluginPath ) ;</b> at the end of the file</li>
<li>3.2. Add <b>'mimetex'</b> at the end of the FCKConfig.ToolbarSets lines where you want the LaTeX icon to appear (there is one FCKConfig.ToolbarSets by tool). For example:
You can add it to all the tools, or only to the document and tests tools, for example<br/><br/>
</li>
</ul>
<li>4. For Windows servers only, update <i>dokeos/main/inc/lib/fckeditor/editor/plugins/mimetex/mimetex.html</i> to replace <b>mimetex.cgi</b> by <b>mimetex.exe</b></li>
<li>5. Clear your browser's cache to test it (very important). This can be done using your browser's settings page</li>
</ul>
This procedure should make a new icon available in your Dokeos online editor, which will make it possible to insert mathematical formulas into your documents.
<br><br></span><hr>
Contact address: Dokeos, Rue du Corbeau, 108, B-1030 Brussels, Belgium<br/>