1 | AsciiMathML Formula Editor for Xinha |
---|

2 | _______________________ |
---|

3 | |
---|

4 | Based on AsciiMathML by Peter Jipsen (http://www.chapman.edu/~jipsen). |
---|

5 | Plugin by Raimund Meyer (ray) xinha@raimundmeyer.de |
---|

6 | |
---|

7 | AsciiMathML is a JavaScript library for translating ASCII math notation to Presentation MathML. |
---|

8 | |
---|

9 | Usage |
---|

10 | The formmulae are stored in their ASCII representation, so you have to include the |
---|

11 | ASCIIMathML library which can be found in the plugin folder in order to render the MathML output in your pages. |
---|

12 | |
---|

13 | Example (also see example.html): |
---|

14 | var mathcolor = "black"; // You may change the color of the formulae (default: red) |
---|

15 | var mathfontfamily = "Arial"; //and the font (default: serif, which is good I think) |
---|

16 | var showasciiformulaonhover = false; // if true helps students learn ASCIIMath (default:true) |
---|

17 | <script type="text/javascript" src="/xinha/plugins/AsciiMath/ASCIIMathML.js"></script> |
---|

18 | |
---|

19 | The recommended browser for using this plugin is Mozilla/Firefox. At the moment showing the MathML output |
---|

20 | inside the editor is not supported in Internet Explorer. |
---|

21 | |
---|

22 | |
---|

23 | License information |
---|

24 | |
---|

25 | This program is free software; you can redistribute it and/or modify |
---|

26 | it under the terms of the GNU Lesser General Public License as published by |
---|

27 | the Free Software Foundation; either version 2.1 of the License, or (at |
---|

28 | your option) any later version. |
---|

29 | |
---|

30 | This program is distributed in the hope that it will be useful, |
---|

31 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|

32 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|

33 | Lesser General Public License (at http://www.gnu.org/licenses/lgpl.html) |
---|

34 | for more details. |
---|

35 | |
---|

36 | NOTE: I have changed the license of AsciiMathML from GPL to LGPL according to a permission |
---|

37 | from the author (see http://xinha.gogo.co.nz/punbb/viewtopic.php?pid=4150#p4150) |
---|

38 | Raimund Meyer 11-29-2006 |
---|