readme.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ASCIIMathML.js
  2. Brief Instructions (2007-9-28)
  3. This script can be used in any html page and also in systems like Moodle.
  4. The license is LGPL (see top of ASCIIMathML.js for more info).
  5. In a html page, just add the following line near the top of your file:
  6. <script type="text/javascript" src="ASCIIMathML.js"></script>
  7. To install in Moodle, just move this asciimath-x.y.z folder into moodle/filter,
  8. rename the folder "asciimath" and go to the admin panel Modules->Filters
  9. to switch it on.
  10. Then try some ASCIIMath on your webpages: `x/y`
  11. or LaTeX $\sqrt{x}$ and $$\int_0^1 x^2 dx$$ (only a \emph{subset} works,
  12. including a few environments like \begin{theorem}... and \begin{proof})
  13. Try some graphics like agraph plot(sin(x)) endagraph or
  14. \begin{graph}plot(sin(x))\end{graph}
  15. Try the auto-math-recognize mode: amath here we can mix x^2 and text endamath
  16. All this is supposed to work in Firefox on many platforms (recommended;
  17. you may be asked to install math fonts) and in Internet Explorer (only
  18. on WinXP and you have to install MathPlayer and Adobe SVGview).
  19. For more examples, see http://www.chapman.edu/~jipsen/asciimath.html and
  20. http://mathcs.chapman.edu/~jipsen/math
  21. If you use this script on the web, please send an email to jipsen@chapman.edu
  22. and put a link to http://www.chapman.edu/~jipsen/asciimath.html on your page.
  23. Best wishes with ASCIIMathML.js
  24. Peter Jipsen