Changes between Version 1 and Version 2 of Documentation/Plugins/Equation


Ignore:
Timestamp:
02/09/07 12:01:07 (12 years ago)
Author:
ray
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Plugins/Equation

    v1 v2  
    33[wiki:Plugins Back To Plugins] 
    44 
    5 The Equation plugin allows the user to create equations. 
     5== AsciiMathML Formula Editor for Xinha == 
    66 
    7 This plugin was developed by Nazarij Dubnytskyj sponsored by Nascreative and is under htmlArea license. 
     7Based on AsciiMathML by [http://www.chapman.edu/~jipsen Peter Jipsen]. [[BR]] 
     8Plugin by [http://xinha.raimundmeyer.de Raimund Meyer] 
     9 
     10AsciiMathML is a !JavaScript library for translating ASCII math notation to Presentation MathML. 
     11 
     12=== Usage === 
     13 The formmulae are stored in their ASCII representation, so you have to include the  
     14 ASCIIMathML library which can be found in the plugin folder in order render the MathML output in your pages.  
     15  
     16{{{ 
     17#!text/html 
     18  <script type="text/javascript" src="/xinha/plugins/Equation/ASCIIMathML.js"></script> 
     19}}} 
     20 
     21 The recommended browser for using this plugin is Mozilla/Firefox.[[BR]] 
     22 At the moment '''showing the MathML output inside the editor is not supported in Internet Explorer.''' 
     23 
     24=== Configuration === 
     25You can change the color and the font of the !AsciiMath display. 
     26In the editor: 
     27{{{ 
     28#!text/x-javascript 
     29xinha_config.Equation.mathcolor = "black"; 
     30xinha_config.Equation.mathfontfamily= "sans-serif"; 
     31}}} 
     32In the page insert before the script block that loads ASCIIMathML.js 
     33{{{ 
     34#!text/html 
     35  <script type="text/javascript"> 
     36    var mathcolor = "black"; // You may change the color of the formulae (default: red) 
     37    var showasciiformulaonhover = false; // helps students learn ASCIIMath, set to false if you like  (default:true) 
     38    var mathfontfamily = "Arial"; //and the font (default: serif, which is good I think) 
     39  </script> 
     40}}}