[613] | 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 render the MathML output in your pages. |
---|

[627] | 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> |
---|

[613] | 18 | |
---|

[627] | 19 | |
---|

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

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

[613] | 22 | |
---|

[627] | 23 | |
---|

[613] | 24 | License information |
---|

| 25 | |
---|

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

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

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

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

| 30 | |
---|

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

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

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

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

| 35 | for more details. |
---|

| 36 | |
---|

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

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

| 39 | Raimund Meyer 11-29-2006 |
---|