Ivan Tcholakov 622ca97e42 Bug #2867 - Trimming trailing whitespace in all (system range) html files (21 files). vor 15 Jahren
..
ASCIIMathML.js 760d14b72e Bug #2867 - Trimming trailing whitespace in all (system range) javascript files. vor 15 Jahren
asciimath.html 622ca97e42 Bug #2867 - Trimming trailing whitespace in all (system range) html files (21 files). vor 15 Jahren
asciimathcalculator.html 622ca97e42 Bug #2867 - Trimming trailing whitespace in all (system range) html files (21 files). vor 15 Jahren
asciimathchanges.txt f42ed072f3 Task #2867 - The online editor: Adding a new plugin asciimath for entering mathematical formulas, based on the ASCIIMathML.js library. vor 15 Jahren
asciimathdemo.html 622ca97e42 Bug #2867 - Trimming trailing whitespace in all (system range) html files (21 files). vor 15 Jahren
asciimathextend.html 622ca97e42 Bug #2867 - Trimming trailing whitespace in all (system range) html files (21 files). vor 15 Jahren
asciimathsample.html 622ca97e42 Bug #2867 - Trimming trailing whitespace in all (system range) html files (21 files). vor 15 Jahren
asciimathsyntax.html 622ca97e42 Bug #2867 - Trimming trailing whitespace in all (system range) html files (21 files). vor 15 Jahren
d.svg f42ed072f3 Task #2867 - The online editor: Adding a new plugin asciimath for entering mathematical formulas, based on the ASCIIMathML.js library. vor 15 Jahren
filter.php 84f8d984e7 Feature #306 - Trimming whitespace from all the library files main/inc/lib. ~200 files are to be changed. vor 15 Jahren
index.html f42ed072f3 Task #2867 - The online editor: Adding a new plugin asciimath for entering mathematical formulas, based on the ASCIIMathML.js library. vor 15 Jahren
javascript.php 84f8d984e7 Feature #306 - Trimming whitespace from all the library files main/inc/lib. ~200 files are to be changed. vor 15 Jahren
readme.txt f42ed072f3 Task #2867 - The online editor: Adding a new plugin asciimath for entering mathematical formulas, based on the ASCIIMathML.js library. vor 15 Jahren

readme.txt

ASCIIMathML.js

Brief Instructions (2007-9-28)

This script can be used in any html page and also in systems like Moodle.
The license is LGPL (see top of ASCIIMathML.js for more info).

In a html page, just add the following line near the top of your file:


To install in Moodle, just move this asciimath-x.y.z folder into moodle/filter,
rename the folder "asciimath" and go to the admin panel Modules->Filters
to switch it on.

Then try some ASCIIMath on your webpages: `x/y`

or LaTeX $\sqrt{x}$ and $$\int_0^1 x^2 dx$$ (only a \emph{subset} works,
including a few environments like \begin{theorem}... and \begin{proof})

Try some graphics like agraph plot(sin(x)) endagraph or
\begin{graph}plot(sin(x))\end{graph}

Try the auto-math-recognize mode: amath here we can mix x^2 and text endamath

All this is supposed to work in Firefox on many platforms (recommended;
you may be asked to install math fonts) and in Internet Explorer (only
on WinXP and you have to install MathPlayer and Adobe SVGview).

For more examples, see http://www.chapman.edu/~jipsen/asciimath.html and
http://mathcs.chapman.edu/~jipsen/math

If you use this script on the web, please send an email to jipsen@chapman.edu
and put a link to http://www.chapman.edu/~jipsen/asciimath.html on your page.

Best wishes with ASCIIMathML.js

Peter Jipsen