<h2><aname="7._Mathematical_formulas"></a>7. Mathematical formulas with LaTeX</h2>
<i>This part is optional, only organisations wanting to use mathematical formulas inside the online editor might want to read this.</i><br/>
<i>This part is optional, only organisations planning to use mathematical formulas inside the online editor might want to read this.</i><br/><br/>
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 add a cgi-bin directory that contains a symbolic link to the mimetex.cgi in <i>dokeos/main/inc/lib/mimetex/</i>(*see below)</li>
<li>1. Configure your Apache installation to add a cgi-bin directory that contains a symbolic link to the mimetex.cgi in
The item <b>'mimetex'</b> represents the button, you may add it to or remove it from any toolbar.<br/><br/>
</li>
</ul>
</li>
<li>4. In very rare cases (only if problems are detected), some configuration options about MimeTeX at the beginning of the file <em>dokeos/main/inc/lib/fckeditor/fckeditor.php</em> might need to be revised and twicked. See the acccompanying comments about these options within the same file</li>
<li>5. Clear your browser's cache to test it (very important). This can be done using your browser's settings page</li>
<li>6. Make these changes: </li>
<li>4. To install mimetex executable file, make these changes:</li>
</ul>
<p><i>Adding the corresponding cgi-bin directory to your Apache configuration could be done, in Apache 2, like this:</i>
<p>Add the corresponding cgi-bin directory to your Apache configuration could be done, in Apache 2, like this:
</p>
<divclass="code">
@ -646,22 +647,21 @@ FCKConfig.ToolbarSets lines where you want the LaTeX icon to appear
</div>
<p><i>Adding a symbolic link can be done, under Windows, by creating a
<p>Adding a symbolic link can be done, under Windows, by creating a
shortcut to the mimetex.exe file from the cgi-bin directory, or under
<p>If you don't want modify your Apache, alternately you can make at this point 6: copy mimetex.exe (for windows) or mimetex.cgi (for linux) to your cgi-bin/ </p>
<p> </p>
<p>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/>
<p>If you are reluctant to modify your Apache configuration, alternately you may do at step 4 the following:
copy mimetex.exe (for windows) or mimetex.cgi (for linux) from <i>dokeos/main/inc/lib/mimetex/</i> directory to your <i>cgi-bin/</i></p>
<p>As a result of this procedure, a new button becomes available in your Dokeos online editor, that gives you possibility
to insert mathematical formulas into your documents.<br/>
<br/>
<br/>
Contact address: Dokeos, Rue Victor Hugo, 201, B-1030 Brussels, Belgium<br/>