]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19725 latest dragmath 0.7.8.1 imported
authorskodak <skodak>
Mon, 6 Jul 2009 21:18:49 +0000 (21:18 +0000)
committerskodak <skodak>
Mon, 6 Jul 2009 21:18:49 +0000 (21:18 +0000)
23 files changed:
lib/dragmath/COPYRIGHT.html
lib/dragmath/README.html
lib/dragmath/Version History.html
lib/dragmath/applet/Display/MainApplet.class
lib/dragmath/applet/DragMath.jar [new file with mode: 0644]
lib/dragmath/applet/HotEqn/HotEqn.class [deleted file]
lib/dragmath/applet/HotEqn/HotEqn.jar [deleted file]
lib/dragmath/applet/Project.jar [deleted file]
lib/dragmath/doc/about.html
lib/dragmath/doc/acknowledgments.html
lib/dragmath/doc/browser.html
lib/dragmath/doc/complex.html
lib/dragmath/doc/cvs.html
lib/dragmath/doc/editing.html
lib/dragmath/doc/index.html
lib/dragmath/doc/integrations.html
lib/dragmath/doc/language.html
lib/dragmath/doc/navframe.html
lib/dragmath/doc/newformat.html
lib/dragmath/doc/newobject.html
lib/dragmath/doc/options.html
lib/dragmath/doc/parameters.html
lib/editor/tinymce/plugins/dragmath/dragmath.php

index 6a646880001858be258c599dff9d5b8994bfb3ae..4d133d0db0a4d5462274cf31a4b402291a4e7ca8 100644 (file)
@@ -1,30 +1,30 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - License</title>\r
-</head>\r
-<body>\r
-\r
-<span style=" color: #000099; font-size: x-large; font-family: Arial;"><strong>DragMath copyright information</strong></span>\r
-\r
-<span style=" font-size: small; font-family: Arial;">\r
-\r
-<p>DragMath is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)\r
-</p><p>\r
-All source code in this package is written by <a href="http://www.abillingsley.co.uk">Alex Billingsley</a> except the libraries used. The copyright information for the libaries is included below:</p>\r
-<br>\r
-<p>\r
-<h4>JDOM<br>  <a href="http://www.jdom.org">http://www.jdom.org</a></h4>\r
-JDOM is available under an Apache-style open source license, with the acknowledgment clause removed. This license is among the least restrictive license available, enabling developers to use JDOM in creating new products without requiring them to release their own products as open source. This is the license model used by the Apache Project, which created the Apache server. The license is available at the top of every source file and in LICENSE.txt in the root of the distribution.\r
-</p>\r
-<br>\r
-<p>\r
-<h4>JEP<br><a href="https://sourceforge.net/projects/jep/">https://sourceforge.net/projects/jep/</a></h4>\r
-JEP is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)</p>\r
-<p>\r
-<br>\r
-<h4>glyFX Common Toolbar Set Icons<br>   <a href="http://www.glyfx.com">http://www.glyfx.com</a></h4>\r
-Icons used in software, license found at; <a href="http://www.glyfx.com/license-toolbar.html">http://www.glyfx.com/license-toolbar.html</a></p>\r
-</span>\r
-\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - License</title>
+</head>
+<body>
+
+<span style=" color: #000099; font-size: x-large; font-family: Arial;"><strong>DragMath copyright information</strong></span>
+
+<span style=" font-size: small; font-family: Arial;">
+
+<p>DragMath is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)
+</p><p>
+All source code in this package is written by <a href="http://www.alexbillingsley.co.uk">Alex Billingsley</a> except the libraries used. The copyright information for the libaries is included below:</p>
+<br>
+<p>
+<h4>JDOM<br>  <a href="http://www.jdom.org">http://www.jdom.org</a></h4>
+JDOM is available under an Apache-style open source license, with the acknowledgment clause removed. This license is among the least restrictive license available, enabling developers to use JDOM in creating new products without requiring them to release their own products as open source. This is the license model used by the Apache Project, which created the Apache server. The license is available at the top of every source file and in LICENSE.txt in the root of the distribution.
+</p>
+<br>
+<p>
+<h4>JEP<br><a href="https://sourceforge.net/projects/jep/">https://sourceforge.net/projects/jep/</a></h4>
+JEP is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)</p>
+<p>
+<br>
+<h4>glyFX Common Toolbar Set Icons<br>   <a href="http://www.glyfx.com">http://www.glyfx.com</a></h4>
+Icons used in software, license found at; <a href="http://www.glyfx.com/license-toolbar.html">http://www.glyfx.com/license-toolbar.html</a></p>
+</span>
+
+</body>
 </html>
\ No newline at end of file
index b15017842b66f60403a96db73a088bc331c0695d..7f21b1f10ca4fe274b25886fdf7207ed75f68a6d 100644 (file)
@@ -57,7 +57,7 @@ SoureForge.net Project:<a href="http://sourceforge.net/projects/dragmath">http:/
 </dt>
 <br>
 <br>
-<dt><b>applet/classes/</b>
+<dt><b>applet/</b>
 <dl>
 <dt><b>formats/</b>
 <dd>Export formats</dd>
index d6b96def1deef11ac4f628104648b0b09de23798..8d82e48f6bae98396103b33e515790298119e281 100644 (file)
@@ -12,6 +12,16 @@ DragMath - Version History
 <font size=3>
 <br>
 
+<b>DragMath 0.7.8.1 released 06/07/2009</b>
+<p>
+Bugs fixed:
+</p>
+<ol>
+<li>Error with library file locations (not fixed in 0.7.8)</li>
+<li>Error with XML Parser</li>
+</ol>
+<br>
+
 <b>DragMath 0.7.8 released 06/06/2009</b>
 <p>
 New Languages:
index 65848dd3ec9c0af6fc5273caa461e0b4c80292cd..abb81af7e187ecd4c17d25a2a840a4f9df810083 100644 (file)
Binary files a/lib/dragmath/applet/Display/MainApplet.class and b/lib/dragmath/applet/Display/MainApplet.class differ
diff --git a/lib/dragmath/applet/DragMath.jar b/lib/dragmath/applet/DragMath.jar
new file mode 100644 (file)
index 0000000..765fc12
Binary files /dev/null and b/lib/dragmath/applet/DragMath.jar differ
diff --git a/lib/dragmath/applet/HotEqn/HotEqn.class b/lib/dragmath/applet/HotEqn/HotEqn.class
deleted file mode 100644 (file)
index 2d494e8..0000000
Binary files a/lib/dragmath/applet/HotEqn/HotEqn.class and /dev/null differ
diff --git a/lib/dragmath/applet/HotEqn/HotEqn.jar b/lib/dragmath/applet/HotEqn/HotEqn.jar
deleted file mode 100644 (file)
index 70825cc..0000000
Binary files a/lib/dragmath/applet/HotEqn/HotEqn.jar and /dev/null differ
diff --git a/lib/dragmath/applet/Project.jar b/lib/dragmath/applet/Project.jar
deleted file mode 100644 (file)
index 763f28f..0000000
Binary files a/lib/dragmath/applet/Project.jar and /dev/null differ
index f82898dd64d5db413d43922c4fd1aa905ae66da6..3dc208b04721272598f6b9f7ee80ce2aed554c78 100644 (file)
@@ -1,20 +1,20 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - About DragMath</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<p><h2><span style=" color: #000099;"><strong>About DragMath</strong></span></h2></p>\r
-\r
-<p>\r
-DragMath is a simple "drag and drop" equation editor for mathematics. Accepting certain traditional mathematical conventions, the user can build a mathematical expression. This expression can be exported in a number of different formats. DragMath is a simple Java applet, and could be incorporated into web-based applications or other Java applications.\r
-</p>\r
-<p>\r
-DragMath started as a final-year University project at the <a href ="http://www.bham.ac.uk/">University of Birmingham<a/> by <a href="http://www.abillingsley.co.uk">Alex Billingsley</a> under the supervision of <a href ="http://web.mat.bham.ac.uk/C.J.Sangwin/">Chris Sangwin</a>. It's main application is therefore directed toward an educational one.\r
-</p>\r
-\r
-</font>\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - About DragMath</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<p><h2><span style=" color: #000099;"><strong>About DragMath</strong></span></h2></p>
+
+<p>
+DragMath is a simple "drag and drop" equation editor for mathematics. Accepting certain traditional mathematical conventions, the user can build a mathematical expression. This expression can be exported in a number of different formats. DragMath is a simple Java applet, and could be incorporated into web-based applications or other Java applications.
+</p>
+<p>
+DragMath started as a final-year University project at the <a href ="http://www.bham.ac.uk/">University of Birmingham<a/> by <a href="http://www.abillingsley.co.uk">Alex Billingsley</a> under the supervision of <a href ="http://web.mat.bham.ac.uk/C.J.Sangwin/">Chris Sangwin</a>. It's main application is therefore directed toward an educational one.
+</p>
+
+</font>
+</body>
 </html>
\ No newline at end of file
index 4c70f247ce2e4945884b749eb1b5f397a01c7ab4..8fc1ff597e35c7bd15d717c11d2b3dbe3453a48f 100644 (file)
@@ -1,32 +1,32 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - License</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style="color: #000099;"><strong>DragMath copyright information</strong></span></h2>\r
-\r
-<p>DragMath is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)\r
-</p><p>\r
-All source code in this package is written by <a href="http://www.abillingsley.co.uk">Alex Billingsley</a> except the libraries used. The copyright information for the libaries is included below:</p>\r
-<br>\r
-<p>\r
-<h4>JDOM<br>  <a href="http://www.jdom.org">http://www.jdom.org</a></h4>\r
-JDOM is available under an Apache-style open source license, with the acknowledgment clause removed. This license is among the least restrictive license available, enabling developers to use JDOM in creating new products without requiring them to release their own products as open source. This is the license model used by the Apache Project, which created the Apache server. The license is available at the top of every source file and in LICENSE.txt in the root of the distribution.\r
-</p>\r
-<br>\r
-<p>\r
-<h4>JEP<br><a href="https://sourceforge.net/projects/jep/">https://sourceforge.net/projects/jep/</a></h4>\r
-JEP is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)</p>\r
-<p>\r
-<br>\r
-<h4>glyFX Common Toolbar Set Icons<br>   <a href="http://www.glyfx.com">http://www.glyfx.com</a></h4>\r
-Icons used in software, license found at; <a href="http://www.glyfx.com/license-toolbar.html">http://www.glyfx.com/license-toolbar.html</a></p>\r
-\r
-\r
-</font>\r
-\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - License</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style="color: #000099;"><strong>DragMath copyright information</strong></span></h2>
+
+<p>DragMath is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)
+</p><p>
+All source code in this package is written by <a href="http://www.abillingsley.co.uk">Alex Billingsley</a> except the libraries used. The copyright information for the libaries is included below:</p>
+<br>
+<p>
+<h4>JDOM<br>  <a href="http://www.jdom.org">http://www.jdom.org</a></h4>
+JDOM is available under an Apache-style open source license, with the acknowledgment clause removed. This license is among the least restrictive license available, enabling developers to use JDOM in creating new products without requiring them to release their own products as open source. This is the license model used by the Apache Project, which created the Apache server. The license is available at the top of every source file and in LICENSE.txt in the root of the distribution.
+</p>
+<br>
+<p>
+<h4>JEP<br><a href="https://sourceforge.net/projects/jep/">https://sourceforge.net/projects/jep/</a></h4>
+JEP is licensed under the GNU General Public License (GPL) (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)</p>
+<p>
+<br>
+<h4>glyFX Common Toolbar Set Icons<br>   <a href="http://www.glyfx.com">http://www.glyfx.com</a></h4>
+Icons used in software, license found at; <a href="http://www.glyfx.com/license-toolbar.html">http://www.glyfx.com/license-toolbar.html</a></p>
+
+
+</font>
+
+</body>
 </html>
\ No newline at end of file
index 585d74f25cf5e5167fda661791f9197ef337dfb6..5d4b75056fe88f9ecf4647f56099e1253d7aecd7 100644 (file)
@@ -1,85 +1,91 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - Running applet in web browser</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style=" color: #000099;"><strong>Running applet in web browser</strong></span></h2>\r
-\r
-<p>\r
-Details are given on the file structure of the required files, and &lt;APPLET&gt; tag to enable the applet to run in a web browser.\r
- </p><p>\r
-The applet currently requires Java Runtime Environment (JRE) 1.4 or higher to run, which can be obtained from <A href="http://www.java.com">www.java.com</A>\r
- </p><p>\r
-The recommended file structure is:\r
- </p>\r
-\r
-<dl>\r
-       <dd>applet.html</dd>\r
-       <br>\r
-       <dd>\dragmath</dd>\r
-<br>\r
-       <dl>\r
-               <dd>\Display</dd>\r
-               <dl>\r
-                       <dd>MainApplet.class</dd>\r
-               </dl>\r
-<br>\r
-               <dd>\lang</dd>\r
-               <dl>\r
-                       <dd>en.xml</dd>\r
-               </dl>\r
-<br>\r
-               <dd>\formats</dd>\r
-               <dl>\r
-                       <dd>Maple.xml</dd>\r
-                       <dd>Latex.xml</dd>\r
-                       <dd>MathML.xml</dd>\r
-                       <dd>Maxima.xml</dd>\r
-               </dl>\r
-<br>\r
-               <dd>AbsoluteLayout.jar</dd>\r
-               <dd>swing-layouts-1.0.jar</dd>\r
-               <dd>jdom.jar</dd>\r
-               <dd>jep.jar</dd>\r
-               <dd>Project.jar</dd>\r
-       </dl>\r
-</dl>\r
-<br>\r
-Using this structure the following &lt;APPLET&gt; tag should be used:\r
-</p>\r
- <p>\r
-<STRONG>\r
-<FONT color=#800080>&lt;applet</FONT>\r
-name=</STRONG>\r
-<FONT color=#0000ff>"dragmath"</FONT>\r
-<STRONG>codebase=</STRONG><FONT \r
-color=#0000ff>"classes"</FONT>\r
-<STRONG>code=</STRONG>\r
-<FONT color=#0000ff>"Display.MainApplet.class"</FONT>\r
- <STRONG>archive=</STRONG>\r
-<FONT color=#0000ff>"Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,,jdom.jar,,jep.jar"</FONT>\r
-<STRONG> width=</STRONG>\r
-<FONT color=#0000ff>540</FONT>\r
-<STRONG> height=</STRONG>\r
-<FONT color=#0000ff>300</FONT>\r
-<STRONG>&gt;<BR>\r
-<FONT color=#800080>&lt;param</FONT> \r
-name=</STRONG>\r
-<FONT color=#0000ff>language </FONT>\r
-<STRONG>value=</STRONG>\r
-<FONT color=#0000ff>"en"</FONT>\r
-<STRONG> &gt;<BR>\r
-<FONT color=#800080>&lt;/applet &gt;</FONT>\r
-</STRONG>\r
- </p>\r
\r
-All of the .jar files in the \dragmath directory require digitally signing. A tutorial on how to do this can be viewed at,<br>\r
-<A href="http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html#example">http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html#example</A>\r
-\r
-</font>\r
-\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - Running applet in web browser</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style=" color: #000099;"><strong>Running applet in web browser</strong></span></h2>
+
+<p>
+Details are given on the file structure of the required files, and &lt;APPLET&gt; tag to enable the applet to run in a web browser.
+ </p><p>
+The applet currently requires Java Runtime Environment (JRE) 1.4 or higher to run, which can be obtained from <A href="http://www.java.com">www.java.com</A>
+ </p><p>
+The recommended file structure is:
+ </p>
+
+<dl>
+       <dd>applet.html</dd>
+       <br>
+       <dd>\dragmath</dd>
+<br>
+       <dl>
+               <dd>\Display</dd>
+               <dl>
+                       <dd>MainApplet.class</dd>
+               </dl>
+<br>
+               <dd>\lang</dd>
+               <dl>
+                       <dd>en.xml</dd>
+               </dl>
+<br>
+               <dd>\formats</dd>
+               <dl>
+                       <dd>Maple.xml</dd>
+                       <dd>Latex.xml</dd>
+                       <dd>MathML.xml</dd>
+                       <dd>Maxima.xml</dd>
+               </dl>
+<br>
+               <dd>\lib</dd>
+               <dl>
+                       <dd>AbsoluteLayout.jar</dd>
+                       <dd>swing-layouts-1.0.jar</dd>
+                       <dd>jdom.jar</dd>
+                       <dd>jep.jar</dd>
+                       <dd>Project.jar</dd>
+               </dl>
+<br>
+               <dd>Config.xml</dd>
+               <dd>DragMath.jar</dd>
+       </dl>
+</dl>
+<br>
+Using this structure the following &lt;APPLET&gt; tag should be used:
+</p>
+ <p>
+<STRONG>
+<FONT color=#800080>&lt;applet</FONT>
+name=</STRONG>
+<FONT color=#0000ff>"dragmath"</FONT>
+<STRONG>codebase=</STRONG><FONT 
+color=#0000ff>"dragmath"</FONT>
+<STRONG>code=</STRONG>
+<FONT color=#0000ff>"Display.MainApplet.class"</FONT>
+ <STRONG>archive=</STRONG>
+<FONT color=#0000ff>"DragMath.jar"</FONT>
+<STRONG> width=</STRONG>
+<FONT color=#0000ff>540</FONT>
+<STRONG> height=</STRONG>
+<FONT color=#0000ff>300</FONT>
+<STRONG>&gt;<BR>
+<FONT color=#800080>&lt;param</FONT> 
+name=</STRONG>
+<FONT color=#0000ff>language </FONT>
+<STRONG>value=</STRONG>
+<FONT color=#0000ff>"en"</FONT>
+<STRONG> &gt;<BR>
+<FONT color=#800080>&lt;/applet &gt;</FONT>
+</STRONG>
+ </p>
+All of the .jar files in the \dragmath directory require digitally signing. A tutorial on how to do this can be viewed at,<br>
+<A href="http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html#example">http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html#example</A>
+
+</font>
+
+</body>
 </html>
\ No newline at end of file
index 98317bffd55641760940836380de0e3735f38cea..9a443c65e67b4ea022660d325b9132f57e9588ed 100644 (file)
-<html>\r
-<head>\r
-<title>DragMath Documentation - Creating complex expressions</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style=" color: #000099;"><strong>Creating complex expressions</strong></span></h2>\r
-\r
-<p>\r
-To apply an object to multiple objects, you will need to select the multiple objects and then click on the object to apply in the toolbar. Selection is performed as it is in any program, by using the mouse to highlight the desired area.\r
-</p>\r
- <p>\r
-Operators and functions can be entered into text boxes using the keyboard with the following syntax:\r
-</p>\r
-<br>\r
-\r
-<table border="1">\r
-<tr>\r
-<th>Name</th>\r
-<th>Syntax</th>\r
-</tr>\r
-<tr>\r
-<td>Addition</td>\r
-<td>+</td>\r
-</tr>\r
-<tr>\r
-<td>Multiplication</td>\r
-<td>*</td>\r
-</tr>\r
-<tr>\r
-<td>Division</td>\r
-<td>/</td>\r
-</tr>\r
-<tr>\r
-<td>Greater than</td>\r
-<td>></td>\r
-</tr>\r
-<tr>\r
-<td>Less than</td>\r
-<td>&lt;</td>\r
-</tr>\r
-<tr>\r
-<td>Equal</td>\r
-<td>=<br>==</td>\r
-</tr>\r
-<tr>\r
-<td>Less than or Equal</td>\r
-<td>&lt;=</td>\r
-</tr>\r
-<tr>\r
-<td>Greater than or Equal</td>\r
-<td>>=</td>\r
-</tr>\r
-<tr>\r
-<td>Power</td>\r
-<td>^</td>\r
-</tr>\r
-<tr>\r
-<td>Sine</td>\r
-<td>sin(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Cosine</td>\r
-<td>cos(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Tangent</td>\r
-<td>tan(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Arc Sine</td>\r
-<td>asin(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Arc Cosine</td>\r
-<td>acos(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Arc Tangent</td>\r
-<td>atan(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Hyperbolic Sine</td>\r
-<td>sinh(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Hyperbolic Cosine</td>\r
-<td>cosh(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Hyperbolic Tangent</td>\r
-<td>tanh(x)</td>\r
-</tr>\r
-<td>Inverse Hyperbolic Sine</td>\r
-<td>asinh(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Inverse Hyperbolic Cosine</td>\r
-<td>acosh(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Inverse Hyperbolic Tangent</td>\r
-<td>atanh(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Natural Logarithm</td>\r
-<td>ln(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Logarithm</td>\r
-<td>log(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Exponential</td>\r
-<td>exp(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Absolute Value</td>\r
-<td>abs(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Square Root</td>\r
-<td>sqrt(x)</td>\r
-</tr>\r
-<tr>\r
-<td>Union</td>\r
-<td>union(a,b)</td>\r
-</tr>\r
-<tr>\r
-<td>Intersection</td>\r
-<td>intersection(a,b)</td>\r
-</tr>\r
-<tr>\r
-<td>Determinant</td>\r
-<td>det(a)</td>\r
-</tr>\r
-<tr>\r
-<td>Trace</td>\r
-<td>trace(a)</td>\r
-</tr>\r
-<tr>\r
-<td>Subset</td>\r
-<td>subset(a,b)</td>\r
-</tr>\r
-<tr>\r
-<td>Integral</td>\r
-<td>integrate(f,x)<br>\r
-int(f,x)</td>\r
-</tr>\r
-<tr>\r
-<td>Definite Integral</td>\r
-<td>integrate(f,x,a,b)<br>\r
-int(f,x,a,b)\r
-</td>\r
-</tr>\r
-<tr>\r
-<td>Differential</td>\r
-<td>diff(f,x)</td>\r
-</tr>\r
-<td>Sum</td>\r
-<td>sum(n^2,n,1,10)</td>\r
-</tr>\r
-<td>Product</td>\r
-<td>product(n^2,n,1,10)</td>\r
-</tr>\r
-\r
-</table>\r
-\r
-<p>\r
-Once the box that you have been typing in has been left then the text is turned into templates automatically for you.\r
-</p>\r
-<br>\r
-<font size=3>\r
-<b>How to use layout templates</b>\r
-</font>\r
-\r
-<p>\r
-There are special templates called layout templates, beause they each take a unique layout. These are:<br>\r
-Fraction<br>\r
-Square Root<br>\r
-N-th Root<br>\r
-Subscript<br>\r
-Superscript<br>\r
-Matrix<br>\r
-Integral<br>\r
-Differential<br>\r
-Product<br>\r
-Sum<br>\r
-Limit<br>\r
-Evaluate at a point<br>\r
-Grouping (round brackets, curly brackets, square brackets, modulus)<br>\r
-</p>\r
- <p>\r
-These layout templates can be used in exactly the same way as the other math templates.\r
-</p>\r
\r
-<br>\r
-<font size=3>\r
-<b>How to add symbols</b>\r
-</font>\r
-<p>\r
-Symbols such as greek letters are added by clicking in the box you wish to insert the symbol, and then clicking on the symbol in the toolbar.\r
-</p>\r
-\r
-</font>\r
-</body>\r
-</html>\r
+<html>
+<head>
+<title>DragMath Documentation - Creating complex expressions</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style=" color: #000099;"><strong>Creating complex expressions</strong></span></h2>
+
+<p>
+To apply an object to multiple objects, you will need to select the multiple objects and then click on the object to apply in the toolbar. Selection is performed as it is in any program, by using the mouse to highlight the desired area.
+</p>
+ <p>
+Operators and functions can be entered into text boxes using the keyboard with the following syntax:
+</p>
+<br>
+
+<table border="1">
+<tr>
+<th>Name</th>
+<th>Syntax</th>
+</tr>
+<tr>
+<td>Addition</td>
+<td>+</td>
+</tr>
+<tr>
+<td>Multiplication</td>
+<td>*</td>
+</tr>
+<tr>
+<td>Division</td>
+<td>/</td>
+</tr>
+<tr>
+<td>Greater than</td>
+<td>></td>
+</tr>
+<tr>
+<td>Less than</td>
+<td>&lt;</td>
+</tr>
+<tr>
+<td>Equal</td>
+<td>=<br>==</td>
+</tr>
+<tr>
+<td>Less than or Equal</td>
+<td>&lt;=</td>
+</tr>
+<tr>
+<td>Greater than or Equal</td>
+<td>>=</td>
+</tr>
+<tr>
+<td>Power</td>
+<td>^</td>
+</tr>
+<tr>
+<td>Sine</td>
+<td>sin(x)</td>
+</tr>
+<tr>
+<td>Cosine</td>
+<td>cos(x)</td>
+</tr>
+<tr>
+<td>Tangent</td>
+<td>tan(x)</td>
+</tr>
+<tr>
+<td>Arc Sine</td>
+<td>asin(x)</td>
+</tr>
+<tr>
+<td>Arc Cosine</td>
+<td>acos(x)</td>
+</tr>
+<tr>
+<td>Arc Tangent</td>
+<td>atan(x)</td>
+</tr>
+<tr>
+<td>Hyperbolic Sine</td>
+<td>sinh(x)</td>
+</tr>
+<tr>
+<td>Hyperbolic Cosine</td>
+<td>cosh(x)</td>
+</tr>
+<tr>
+<td>Hyperbolic Tangent</td>
+<td>tanh(x)</td>
+</tr>
+<td>Inverse Hyperbolic Sine</td>
+<td>asinh(x)</td>
+</tr>
+<tr>
+<td>Inverse Hyperbolic Cosine</td>
+<td>acosh(x)</td>
+</tr>
+<tr>
+<td>Inverse Hyperbolic Tangent</td>
+<td>atanh(x)</td>
+</tr>
+<tr>
+<td>Natural Logarithm</td>
+<td>ln(x)</td>
+</tr>
+<tr>
+<td>Logarithm</td>
+<td>log(x)</td>
+</tr>
+<tr>
+<td>Exponential</td>
+<td>exp(x)</td>
+</tr>
+<tr>
+<td>Absolute Value</td>
+<td>abs(x)</td>
+</tr>
+<tr>
+<td>Square Root</td>
+<td>sqrt(x)</td>
+</tr>
+<tr>
+<td>Union</td>
+<td>union(a,b)</td>
+</tr>
+<tr>
+<td>Intersection</td>
+<td>intersection(a,b)</td>
+</tr>
+<tr>
+<td>Determinant</td>
+<td>det(a)</td>
+</tr>
+<tr>
+<td>Trace</td>
+<td>trace(a)</td>
+</tr>
+<tr>
+<td>Subset</td>
+<td>subset(a,b)</td>
+</tr>
+<tr>
+<td>Integral</td>
+<td>integrate(f,x)<br>
+int(f,x)</td>
+</tr>
+<tr>
+<td>Definite Integral</td>
+<td>integrate(f,x,a,b)<br>
+int(f,x,a,b)
+</td>
+</tr>
+<tr>
+<td>Differential</td>
+<td>diff(f,x)</td>
+</tr>
+<td>Sum</td>
+<td>sum(n^2,n,1,10)</td>
+</tr>
+<td>Product</td>
+<td>product(n^2,n,1,10)</td>
+</tr>
+
+</table>
+
+<p>
+Once the box that you have been typing in has been left then the text is turned into templates automatically for you.
+</p>
+<br>
+<font size=3>
+<b>How to use layout templates</b>
+</font>
+
+<p>
+There are special templates called layout templates, beause they each take a unique layout. These are:<br>
+Fraction<br>
+Square Root<br>
+N-th Root<br>
+Subscript<br>
+Superscript<br>
+Matrix<br>
+Integral<br>
+Differential<br>
+Product<br>
+Sum<br>
+Limit<br>
+Evaluate at a point<br>
+Grouping (round brackets, curly brackets, square brackets, modulus)<br>
+</p>
+ <p>
+These layout templates can be used in exactly the same way as the other math templates.
+</p>
+<br>
+<font size=3>
+<b>How to add symbols</b>
+</font>
+<p>
+Symbols such as greek letters are added by clicking in the box you wish to insert the symbol, and then clicking on the symbol in the toolbar.
+</p>
+
+</font>
+</body>
+</html>
index dc9f60795b7aa3658241c87c5ca6d61e04ec7643..dc984939f06eed0066ac0d5c4c3f1f1b50ceb107 100644 (file)
@@ -1,73 +1,73 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - Setting up DragMath CVS in NetBeans</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style=" color: #000099;"><strong>Setting up DragMath CVS in NetBeans</strong></span></h2>\r
-\r
-<p>\r
-Below are the instructions on how to get active as a developer of DragMath and set up NetBeans with the DragMath code versioning system (CVS).</p>\r
-<p>\r
-1. Install NetBeans<br>\r
-2. Get source code from DragMath CVS repository<br>\r
-3. Update and Commiting your local source code copy\r
-</p>\r
-<br>\r
-\r
-<font size=3><b>\r
-1. Install NetBeans\r
-</b></font>\r
-<br>\r
-<p>\r
-NetBeans is the integrated development environment (IDE) used for DragMath.\r
-It is open source and can be downloaded from http://www.netbeans.org.\r
-</p>\r
-<br>\r
-\r
-<font size=3><b>\r
-2. Get source code from DragMath CVS repository\r
-</b></font>\r
-<p>\r
-Start NetBeans and do the following to get the DragMath source code:<br>\r
-<p>\r
-1. File -> New Project\r
-</p><p>\r
-2. Choose the 'General' category, and then 'Java Application' under Projects, then click Next.\r
-</p><p>\r
-3. Set the Project Name as "ddma". Click Browse to choose the location where you would like the code stored. Then click Next.\r
-</p><p>\r
-4. CVS -> Checkout. The click Edit.\r
-</p><p>\r
-5.  Fill in the location information identifying the DragMath CVS repository and click OK.<br>\r
-    <b>Access Method:</b> pserver for anonymous, ext for developer accounts<br>\r
-    <b>User:</b> "anonymous" or your DragMath developer account at SourceForge<br>\r
-    <b>Host:</b> dragmath.cvs.sourceforge.net<br>\r
-    <b>Repository Path:</b> /cvsroot/dragmath\r
-</p><p>\r
-6. Enter your password, none for anonymous login, then click Next\r
-</p><p>\r
-7. Set the Module as "ddma", and the Local Folder to the same location the Project was created. Then click Finish.\r
-</p><p>\r
-8. Once the source code has been downloaded, click Close to the popup message about opening the project.\r
-</p><p>\r
-9. The different packages containing the source code can now be seen in the projects window. The package 'ddma' containing the Main.java class can be deleted, as it was created for the new Project and is not part of the DragMath source code.\r
-</p><p>\r
-10. The libraries used by DragMath must now be added to the Project. Right click on Libraries in the Project window, and go to 'Add JAR/Folder...'. Navigate to the ddma -> lib folder and add all the .jar files from this folder.\r
-</p><p>\r
-11. The code is now ready to work on.\r
-</p>\r
-<br>\r
-<font size=3><b>\r
-3. Update and Commiting your local source code copy\r
-</b></font>\r
-<p>\r
-The code can be updated and commited using the Update and Commit options under the CVS menu in NetBeans.\r
-</p>\r
-\r
-</font>\r
-\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - Setting up DragMath CVS in NetBeans</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style=" color: #000099;"><strong>Setting up DragMath CVS in NetBeans</strong></span></h2>
+
+<p>
+Below are the instructions on how to get active as a developer of DragMath and set up NetBeans with the DragMath code versioning system (CVS).</p>
+<p>
+1. Install NetBeans<br>
+2. Get source code from DragMath CVS repository<br>
+3. Update and Commiting your local source code copy
+</p>
+<br>
+
+<font size=3><b>
+1. Install NetBeans
+</b></font>
+<br>
+<p>
+NetBeans is the integrated development environment (IDE) used for DragMath.
+It is open source and can be downloaded from http://www.netbeans.org.
+</p>
+<br>
+
+<font size=3><b>
+2. Get source code from DragMath CVS repository
+</b></font>
+<p>
+Start NetBeans and do the following to get the DragMath source code:<br>
+<p>
+1. File -> New Project
+</p><p>
+2. Choose the 'General' category, and then 'Java Application' under Projects, then click Next.
+</p><p>
+3. Set the Project Name as "ddma". Click Browse to choose the location where you would like the code stored. Then click Next.
+</p><p>
+4. CVS -> Checkout. The click Edit.
+</p><p>
+5.  Fill in the location information identifying the DragMath CVS repository and click OK.<br>
+    <b>Access Method:</b> pserver for anonymous, ext for developer accounts<br>
+    <b>User:</b> "anonymous" or your DragMath developer account at SourceForge<br>
+    <b>Host:</b> dragmath.cvs.sourceforge.net<br>
+    <b>Repository Path:</b> /cvsroot/dragmath
+</p><p>
+6. Enter your password, none for anonymous login, then click Next
+</p><p>
+7. Set the Module as "ddma", and the Local Folder to the same location the Project was created. Then click Finish.
+</p><p>
+8. Once the source code has been downloaded, click Close to the popup message about opening the project.
+</p><p>
+9. The different packages containing the source code can now be seen in the projects window. The package 'ddma' containing the Main.java class can be deleted, as it was created for the new Project and is not part of the DragMath source code.
+</p><p>
+10. The libraries used by DragMath must now be added to the Project. Right click on Libraries in the Project window, and go to 'Add JAR/Folder...'. Navigate to the ddma -> lib folder and add all the .jar files from this folder.
+</p><p>
+11. The code is now ready to work on.
+</p>
+<br>
+<font size=3><b>
+3. Update and Commiting your local source code copy
+</b></font>
+<p>
+The code can be updated and commited using the Update and Commit options under the CVS menu in NetBeans.
+</p>
+
+</font>
+
+</body>
 </html>
\ No newline at end of file
index ee79b40b3434d238366926563463b75a0e730088..3a7de2cdddecff6c9ec28f15c43984c9bdf871cc 100644 (file)
@@ -1,47 +1,47 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - Editing an expression</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style=" color: #000099;"><strong>Editing an expression</strong></span></h2>\r
-\r
-<p>\r
-Basic editing options are supplied to edit the expression:\r
-</p>\r
-\r
-<ul>\r
-<li><p>\r
-Select - Selection is performed similar to any program, by dragging the mouse to highlight the desired area. Objects can also be selected by double clicking on them. You can select all the objects on the workspace by using Select All on the menu, or Ctrl+A on the keyboard.\r
-</p>\r
-<li><p>\r
-Cut \96 Select the desired area to cut, then either click the Cut button or use Ctrl+X on the keyboard.\r
-</p>\r
-<li><p>\r
-Copy \96 Select the desired area to copy, then either click the Copy button or use Ctrl+C on the keyboard.\r
-</p>\r
-<li><p>\r
-Paste \96 Once a selection has been copied, it can be pasted into any box, by clicking on the box to select it, and then either clicking the Paste button or using Ctrl+V on the keyboard.\r
-</p>\r
-<li><p>\r
-Delete \96 Delete is performed by selecting the area to delete and pressing delete on the keyboard.\r
-</p>\r
-<li><p>\r
-Undo \96 You can perform an undo by clicking the Undo button\r
-</p>\r
-<li><p>\r
-Redo \96 You can perform a redo by clicking the Redo button\r
-</p>\r
-<li><p>\r
-Open \96 Saved expressions can be opened from a file using the Open button\r
-</p>\r
-<li><p>\r
-Save \96 Expressions can be saved to a file using the Save button \r
-</p>\r
-</ul>\r
-</font>\r
-\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - Editing an expression</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style=" color: #000099;"><strong>Editing an expression</strong></span></h2>
+
+<p>
+Basic editing options are supplied to edit the expression:
+</p>
+
+<ul>
+<li><p>
+Select - Selection is performed similar to any program, by dragging the mouse to highlight the desired area. Objects can also be selected by double clicking on them. You can select all the objects on the workspace by using Select All on the menu, or Ctrl+A on the keyboard.
+</p>
+<li><p>
+Cut \96 Select the desired area to cut, then either click the Cut button or use Ctrl+X on the keyboard.
+</p>
+<li><p>
+Copy \96 Select the desired area to copy, then either click the Copy button or use Ctrl+C on the keyboard.
+</p>
+<li><p>
+Paste \96 Once a selection has been copied, it can be pasted into any box, by clicking on the box to select it, and then either clicking the Paste button or using Ctrl+V on the keyboard.
+</p>
+<li><p>
+Delete \96 Delete is performed by selecting the area to delete and pressing delete on the keyboard.
+</p>
+<li><p>
+Undo \96 You can perform an undo by clicking the Undo button
+</p>
+<li><p>
+Redo \96 You can perform a redo by clicking the Redo button
+</p>
+<li><p>
+Open \96 Saved expressions can be opened from a file using the Open button
+</p>
+<li><p>
+Save \96 Expressions can be saved to a file using the Save button 
+</p>
+</ul>
+</font>
+
+</body>
 </html>
\ No newline at end of file
index adcc364d6a98531a474ea896614d2b58892a5853..ee180f8af57fdc2c8862ecd60fc4459f81e9e122 100644 (file)
@@ -1,16 +1,16 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation</title>\r
-</head>\r
-\r
-\r
-<frameset cols="330,*">\r
-\r
-<frame src="navframe.html">\r
-<frame src="simple.html" \r
-name="showframe">\r
-\r
-</frameset>\r
-\r
-\r
-</html>\r
+<html>
+<head>
+<title>DragMath Documentation</title>
+</head>
+
+
+<frameset cols="330,*">
+
+<frame src="navframe.html">
+<frame src="simple.html" 
+name="showframe">
+
+</frameset>
+
+
+</html>
index 662e14af7ba22bbcc2bd3c39f8888fc119498cfd..5e4fc968695cf2601f8f52a50da996f4c996dd90 100644 (file)
@@ -1,49 +1,49 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - Integrations</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style=" color: #000099;"><strong>Integrations</strong></span></h2>\r
-\r
- <p>\r
-DragMath has been successfully integrated with a number of different systems. The main method used for extracting the expression in the desired format is by using the getMathExpression() method called from JavaScript within a web page. This method returns the expression in the format specified.\r
-</p>\r
-<br>\r
-\r
-<font size=3>\r
-<b><a href ="http://www.moodle.org/">Moodle</a></b>\r
-</font>\r
-<p>\r
-Moodle is a free, open source course management system (CMS). Also know as a Learning Managment System (LMS) or Virtual Learning Environment (VLE). For further details please see the specific Moodle <a href ="http://docs.moodle.org/en/DragMath_equation_editor">installation instructions</a>.\r
-</p>\r
-<br>\r
-\r
-<font size=3>\r
-<b><a href ="http://stack.bham.ac.uk/">STACK</a></b>\r
-</font>\r
-<p>\r
-STACK is a computer aided assessment (CAA) package for mathematics. It was mainly developed by <a href ="http://web.mat.bham.ac.uk/C.J.Sangwin/">Chris Sangwin</a> (a developer of DragMath).\r
-</p>\r
-<br>\r
-\r
-<font size=3>\r
-<b><a href ="http://www.yourmathstutor.info/">YourMathsTutor Website</a></b>\r
-</font>\r
-<p>\r
-YourMathsTutor is a website created primarily to help students studying the for the UK's Key Stage 3, GCSE, AS and A Level mathematics and physics exams. DragMath has been integrated into the forum on this website. The forum is a <a href ="http://www.simplemachines.org/">Simple Machines Forum</a> (SMF), which is a powerful open source forum. More information on how it was <a href ="http://yourmathstutor.blogspot.com/2007/08/dragmath.html">integrated</a> and how it is <a href ="http://www.yourmathstutor.info/forum/index.php?topic=4.0">used</a> in the forum.\r
-</p>\r
-<br>\r
-\r
-<font size=3>\r
-<b><a href ="http://www.diambars.org/">http://www.diambars.org/</a></b>\r
-</font>\r
-<p>\r
-The Diambars institute is a training structure embracing sports and education located in Saly, Senegal.\r
-</p>\r
-</font>\r
-\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - Integrations</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style=" color: #000099;"><strong>Integrations</strong></span></h2>
+
+ <p>
+DragMath has been successfully integrated with a number of different systems. The main method used for extracting the expression in the desired format is by using the getMathExpression() method called from JavaScript within a web page. This method returns the expression in the format specified.
+</p>
+<br>
+
+<font size=3>
+<b><a href ="http://www.moodle.org/">Moodle</a></b>
+</font>
+<p>
+Moodle is a free, open source course management system (CMS). Also know as a Learning Managment System (LMS) or Virtual Learning Environment (VLE). For further details please see the specific Moodle <a href ="http://docs.moodle.org/en/DragMath_equation_editor">installation instructions</a>.
+</p>
+<br>
+
+<font size=3>
+<b><a href ="http://stack.bham.ac.uk/">STACK</a></b>
+</font>
+<p>
+STACK is a computer aided assessment (CAA) package for mathematics. It was mainly developed by <a href ="http://web.mat.bham.ac.uk/C.J.Sangwin/">Chris Sangwin</a> (a developer of DragMath).
+</p>
+<br>
+
+<font size=3>
+<b><a href ="http://www.yourmathstutor.info/">YourMathsTutor Website</a></b>
+</font>
+<p>
+YourMathsTutor is a website created primarily to help students studying the for the UK's Key Stage 3, GCSE, AS and A Level mathematics and physics exams. DragMath has been integrated into the forum on this website. The forum is a <a href ="http://www.simplemachines.org/">Simple Machines Forum</a> (SMF), which is a powerful open source forum. More information on how it was <a href ="http://yourmathstutor.blogspot.com/2007/08/dragmath.html">integrated</a> and how it is <a href ="http://www.yourmathstutor.info/forum/index.php?topic=4.0">used</a> in the forum.
+</p>
+<br>
+
+<font size=3>
+<b><a href ="http://www.diambars.org/">http://www.diambars.org/</a></b>
+</font>
+<p>
+The Diambars institute is a training structure embracing sports and education located in Saly, Senegal.
+</p>
+</font>
+
+</body>
 </html>
\ No newline at end of file
index 88ea0057d22f6941ab249d20a768914d23ae7e19..2832ec6c3c0028d3e96fbfbda16aa27b47920a07 100644 (file)
@@ -1,31 +1,31 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - Adding a language</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style=" color: #000099;"><strong>Adding a language</strong></span></h2>\r
-\r
-<p>\r
-The software is supplied with an English language file, \91en.xml\92. This can be used as a template for creating other language files. To change the language data simply change the text within the tags in XML file.\r
-</p>\r
-<p>\r
-For example consider the error message when a file cannot be read,\r
-</p><p>\r
-<strong>\r
-<font color=#800080>&lt;ReadingFile&gt;</font>\r
-Error reading format file: Check file is valid\r
-<font color=#800080>&lt;/ReadingFile&gt;</font>\r
-</strong>\r
- </p><p>\r
-To change the language of this message, simply change the message between the tags (the bold text). The tags should not be changed, otherwise the language file will not work.\r
- </p><p>\r
-Once a new language file has been created it should be placed in the \lang folder where the English file was found, and then an entry corresponding to that file entered in the Config.xml file. To change which language file the software uses see the <A href="options.html">Options</A> section or the <A href="parameters.html">Changing applet parameters</A> section.\r
- </p>\r
-\r
-</font>\r
-\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - Adding a language</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style=" color: #000099;"><strong>Adding a language</strong></span></h2>
+
+<p>
+The software is supplied with an English language file, \91en.xml\92. This can be used as a template for creating other language files. To change the language data simply change the text within the tags in XML file.
+</p>
+<p>
+For example consider the error message when a file cannot be read,
+</p><p>
+<strong>
+<font color=#800080>&lt;ReadingFile&gt;</font>
+Error reading format file: Check file is valid
+<font color=#800080>&lt;/ReadingFile&gt;</font>
+</strong>
+ </p><p>
+To change the language of this message, simply change the message between the tags (the bold text). The tags should not be changed, otherwise the language file will not work.
+ </p><p>
+Once a new language file has been created it should be placed in the \lang folder where the English file was found, and then an entry corresponding to that file entered in the Config.xml file. To change which language file the software uses see the <A href="options.html">Options</A> section or the <A href="parameters.html">Changing applet parameters</A> section.
+ </p>
+
+</font>
+
+</body>
 </html>
\ No newline at end of file
index 4ab7ca4dc5e20f605fae95ba3f456d3f0678bd53..f8018a3010043eb7ede4255e681e0a2d88b4b29b 100644 (file)
@@ -1,34 +1,34 @@
-<html>\r
-<body>\r
-<br>\r
-<DIV><FONT face=Arial color=#000080\r
-size=5><STRONG>DragMath</STRONG></FONT></DIV>\r
-<br>\r
-<FONT face=Arial>\r
-<dl>\r
-<dt><b>Basic Usage</b><br></dt>\r
-<dd><a href ="simple.html" target ="showframe">Creating simple expressions</a><br></dd>\r
-<dd><a href ="complex.html" target ="showframe">Creating complex expressions</a><br></dd>\r
-<dd><a href ="editing.html" target ="showframe">Editing an expression</a><br></dd>\r
-<dd><a href ="options.html" target ="showframe">Options</a><br></dd>\r
-<br>\r
-<dt><b>Advanced Usage</b><br></dt>\r
-<dd><a href ="language.html" target ="showframe">Adding a language</a><br></dd>\r
-<dd><a href ="newformat.html" target ="showframe">Adding an output format</a><br></dd>\r
-<dd><a href ="parameters.html" target ="showframe">Changing applet parameters</a></dd>\r
-<dd><a href ="integrations.html" target ="showframe">Integrations</a><br></dd>\r
-<br>\r
-<dt><b>Developer Usage</b><br></dt>\r
-<dd><a href ="cvs.html" target ="showframe">Setting up DragMath CVS in NetBeans</a><br></dd>\r
-<dd><a href ="browser.html" target ="showframe">Running applet in web browser</a><br></dd>\r
-<dd><a href ="newobject.html" target ="showframe">Adding a function/operator</a><br></dd>\r
-<br>\r
-<dt><b>About</b><br></dt>\r
-<dd><a href ="acknowledgments.html" target ="showframe">License</a><br></dd>\r
-<dd><a href ="about.html" target ="showframe">About DragMath</a><br></dd>\r
-</dl>\r
-<br><br/>\r
-<b><center><a href ="http://www.dragmath.bham.ac.uk" target ="_top">www.dragmath.bham.ac.uk</a></center></b>\r
-</FONT>\r
-</body>\r
+<html>
+<body>
+<br>
+<DIV><FONT face=Arial color=#000080
+size=5><STRONG>DragMath</STRONG></FONT></DIV>
+<br>
+<FONT face=Arial>
+<dl>
+<dt><b>Basic Usage</b><br></dt>
+<dd><a href ="simple.html" target ="showframe">Creating simple expressions</a><br></dd>
+<dd><a href ="complex.html" target ="showframe">Creating complex expressions</a><br></dd>
+<dd><a href ="editing.html" target ="showframe">Editing an expression</a><br></dd>
+<dd><a href ="options.html" target ="showframe">Options</a><br></dd>
+<br>
+<dt><b>Advanced Usage</b><br></dt>
+<dd><a href ="language.html" target ="showframe">Adding a language</a><br></dd>
+<dd><a href ="newformat.html" target ="showframe">Adding an output format</a><br></dd>
+<dd><a href ="parameters.html" target ="showframe">Changing applet parameters</a></dd>
+<dd><a href ="integrations.html" target ="showframe">Integrations</a><br></dd>
+<br>
+<dt><b>Developer Usage</b><br></dt>
+<dd><a href ="cvs.html" target ="showframe">Setting up DragMath CVS in NetBeans</a><br></dd>
+<dd><a href ="browser.html" target ="showframe">Running applet in web browser</a><br></dd>
+<dd><a href ="newobject.html" target ="showframe">Adding a function/operator</a><br></dd>
+<br>
+<dt><b>About</b><br></dt>
+<dd><a href ="acknowledgments.html" target ="showframe">License</a><br></dd>
+<dd><a href ="about.html" target ="showframe">About DragMath</a><br></dd>
+</dl>
+<br><br/>
+<b><center><a href ="http://www.dragmath.bham.ac.uk" target ="_top">www.dragmath.bham.ac.uk</a></center></b>
+</FONT>
+</body>
 </html>
\ No newline at end of file
index 20a19a026cdb457c721e4a4588695a64b5874bf6..443863f8fb9eb4e47598a9ae3519d60bd41582a7 100644 (file)
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\r
-<HTML><HEAD><TITLE>DragMath Documentation - Adding an output format</TITLE>\r
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">\r
-<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>\r
-<BODY>\r
-<DIV><FONT face=Arial color=#000080 size=5><STRONG>Adding an output format</STRONG></FONT></DIV>\r
-<DIV><FONT face=Arial size=2>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2>\r
-<p>\r
-The formats supplied\r
-are Maple,&nbsp;Latex, MathML and Maxima, with the corresponding files found in\r
-the \formats folder. These files can be edited to reflect the syntax you prefer. These\r
-files can also be used as templates for creating files for different formats.\r
-There are a number of rules and options that you need to be aware of to\r
-successfully create an XML file for a new format.</p>Each math object has\r
-its own element in the XML document, with a familiar name describing it, for\r
-example \93Add\94. Within this element there are a number of sub-elements depending\r
-upon how many arguments the object has.</FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><BR>N-ary operators\r
-have a single \91output\92 element e.g. for addition this\r
-is&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; <STRONG><FONT\r
-color=#800080>&lt;Add&gt;</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-<FONT color=#800080>&lt;output&gt;</FONT>+<FONT\r
-color=#800080>&lt;/output&gt;<BR></FONT>&nbsp;&nbsp;&nbsp; <FONT\r
-color=#800080>&lt;/Add&gt;<BR></FONT></STRONG><BR>Binary Operators have 3\r
-\91output\92 elements e.g. for fraction in Latex this is<BR>&nbsp;&nbsp;&nbsp; <FONT\r
-color=#800080><STRONG>&lt;Divide</STRONG> <FONT\r
-color=#000000>brackets=</FONT><FONT\r
-color=#0000ff>"false"</FONT><STRONG>&gt;</STRONG></FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-<STRONG><FONT color=#800080>&lt;output1&gt;</FONT>\frac<FONT color=#800080><FONT\r
-color=#000000>{</FONT>&lt;/output1&gt;</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-<FONT color=#800080>&lt;output2&gt;</FONT>}{<FONT\r
-color=#800080>&lt;/output2&gt;<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-<FONT color=#800080>&lt;output3&gt;</FONT>}<FONT\r
-color=#800080>&lt;/output3&gt;<BR></FONT>&nbsp;&nbsp;&nbsp; <FONT\r
-color=#800080>&lt;/Divide&gt;</FONT><BR></STRONG><BR>Functions have 2 \91output\92\r
-elements e.g. for square root in Latex this is<BR>&nbsp;&nbsp;<STRONG>&nbsp;\r
-</STRONG><FONT color=#800080><STRONG>&lt;SquareRoot</STRONG> <FONT\r
-color=#000000>brackets=</FONT><FONT\r
-color=#0000ff>"false"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output1&gt;<FONT\r
-color=#000000>\sqrt{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output2&gt;<FONT\r
-color=#000000>}</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/SquareRoot&gt;</STRONG></FONT><BR><BR></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT size=2>N-ary functions have 'n' output elements\r
-e.g. for definite integral in Latex it has\r
-5</FONT></FONT></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2>&nbsp;&nbsp;&nbsp;\r
-<FONT color=#800080><STRONG>&lt;DefiniteIntegral</STRONG> <FONT\r
-color=#000000>reverse=</FONT><FONT\r
-color=#0000ff>"true"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output1&gt;&nbsp;&nbsp;<FONT\r
-color=#000000>\int_{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output2&gt;<FONT\r
-color=#000000>}^{</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output3&gt;<FONT\r
-color=#000000>}</FONT>&lt;/output3&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output4&gt;<FONT\r
-color=#000000>\,\mathrm{d</FONT>&lt;/output4&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output5&gt;<FONT\r
-color=#000000>}</FONT>&lt;/output5&gt;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/DefiniteIntegral&gt;</STRONG></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT\r
-size=2></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV></DIV>\r
-<DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT size=2>Symbols have 1 \91output\92 element e.g. for\r
-Infinity in Latex this is<BR>&nbsp;&nbsp;<STRONG>&nbsp;<FONT color=#800080>\r
-&lt;Infinity&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output&gt;<FONT\r
-color=#000000>\infty</FONT>&lt;/output&gt;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/Infinity&gt;</FONT></STRONG><BR><BR>Groupings have 2 \91output\92 elements e.g.\r
-for square brackets in Latex this is<BR>&nbsp;&nbsp;&nbsp; <FONT\r
-color=#800080><STRONG>&lt;BracketsSq&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output1&gt;<FONT\r
-color=#000000>\left[</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output2&gt;<FONT\r
-color=#000000>\right]</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/BracketsSq&gt;</STRONG><BR></FONT><BR>Matrix in Latex is as\r
-follows:<BR>&nbsp;&nbsp;&nbsp; <STRONG><FONT\r
-color=#800080>&lt;Matrix&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;matrixStart&gt;<FONT color=#000000>\left(\r
-\begin{array}{ccc}</FONT>&lt;/matrixStart&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;rowStart /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;elementStart /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;elementEnd /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;elementSeparator&gt;<FONT color=#808000>&lt;![CDATA[ &amp;\r
-]]&gt;</FONT>&lt;/elementSeparator&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;rowEnd&gt;&nbsp;<FONT\r
-color=#000000>\\</FONT>&nbsp;&lt;/rowEnd&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;rowSeparator /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;matrixEnd&gt;<FONT color=#000000>\end{array}\r
-\right)</FONT>&lt;/matrixEnd&gt;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/Matrix&gt;</FONT></STRONG><BR><BR><BR>The syntax within these tags is used\r
-when converting an expression to that particular format. The actual arguments of\r
-the objects appear in the syntax between each pair of tags. For example consider\r
-½ in Latex format.&nbsp; It has 3 \91output\92 elements. So the first part will be\r
-\91\frac{\91, then the first argument will be appended to the string giving us,\r
-\91\frac{1\92, then the 2nd output will be appended, \91\frac{1}{\91, then the 2nd\r
-argment, \frac{1}{2\92 and then the final output, \91\frac{1}{2}\92. A similar process\r
-takes place with all the object types of objects, with the argument being\r
-appended between each pair of output elements.<BR><BR>There are various options\r
-that can be set to allow more control over the\r
-output.</FONT></FONT></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT\r
-size=2></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT size=2><U>Reverse</U><BR>If you find the arguments\r
-of a binary operator&nbsp;being output in the wrong order for a format, you can\r
-reverse the order of them by setting, reverse=\94true\94. An example of this is with\r
-the N-th root in Latex,<BR>&nbsp;&nbsp;&nbsp; <FONT\r
-color=#800080><STRONG>&lt;NthRoot</STRONG> <FONT\r
-color=#000000>reverse=</FONT><FONT color=#0000ff>"true"</FONT> <FONT\r
-color=#000000>brackets=</FONT><FONT\r
-color=#0000ff>"false"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output1&gt;<FONT color=#000000>\sqrt[</FONT>\r
-&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output2&gt;<FONT\r
-color=#000000>]{</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output3&gt;<FONT\r
-color=#000000>}</FONT>&lt;/output3&gt;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/NthRoot&gt;</STRONG></FONT><BR><U></U></FONT></FONT></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT\r
-size=2><U></U></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>\r
-<DIV><U>Argument Order</U></DIV>\r
-<DIV>If you find the arguments of an N-ary Function being output in the wrong\r
-order for a format, you can re-arrange the order of them by setting,\r
-order=\94#1,#2,#3,...,#n\94. An example of this is with the&nbsp;Sum in Latex.\r
-Obviously, the default order&nbsp;for this is&nbsp;0,1,2,3, and it is being\r
-changed to 1,2,3,0.<BR>&nbsp;&nbsp;&nbsp; <FONT\r
-color=#800080><STRONG>&lt;Sum</STRONG> <FONT color=#000000>order=</FONT><FONT\r
-color=#0000ff>"1,2,3,0"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output1&gt; <FONT\r
-color=#000000>\sum_{{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output2&gt;<FONT\r
-color=#000000>}={</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output3&gt;<FONT\r
-color=#000000>}}^{</FONT>&lt;/output3&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output4&gt;<FONT\r
-color=#000000>}</FONT>&lt;/output4&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output5&gt;&lt;/output5&gt;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/Sum&gt;</STRONG></FONT><BR></DIV><br>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT size=2><U>AutoBrackets</U><BR>By default, round\r
-brackets are placed around n-ary operators and binary operators where necessary\r
-to ensure operator precedence is preserved. For presentational formats, such as\r
-Latex this is often unnecessary, so there is the option to turn automatic\r
-placing of brackets on/off. This is set in the element that specifies the name\r
-of the format. An example of this is shown for\r
-Latex,</FONT></FONT></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT\r
-color=#800080><STRONG>&lt;name</STRONG> <FONT\r
-color=#000000>AutoBrackets=</FONT><FONT\r
-color=#0000ff>"false"</FONT><STRONG>&gt;<FONT\r
-color=#000000>Latex</FONT>&lt;/name&gt;</STRONG></FONT><BR><U></U></FONT></FONT></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT\r
-size=2><U></U></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT size=2><U>Brackets on Functions<BR></U>Brackets\r
-are added by default around the argument of a function. For example Sine in\r
-Latex is,<BR>&nbsp;&nbsp;&nbsp; <STRONG><FONT\r
-color=#800080>&lt;Sine&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output1&gt;<FONT color=#000000>\sin</FONT>\r
-&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;output2\r
-/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/Sine&gt;</FONT></STRONG><BR><BR>Brackets are\r
-automatically added after the \91\sin\92 and after the 2nd output, resulting in\r
-"\sin(arg)". This is often the desired result but if you need to turn the\r
-brackets off, they can be set for each individual function. An example of\r
-turning them off is shown here for Square root in\r
-Latex,<BR>&nbsp;&nbsp;<STRONG>&nbsp; </STRONG><FONT\r
-color=#800080><STRONG>&lt;SquareRoot</STRONG> <FONT\r
-color=#000000>brackets=</FONT><FONT\r
-color=#0000ff>"false"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output1&gt;<FONT\r
-color=#000000>\sqrt{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output2&gt;<FONT\r
-color=#000000>}</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/SquareRoot&gt;</STRONG></FONT><BR><U></U></FONT></FONT></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT\r
-size=2><U></U></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT size=2><U>Initial</U><BR>As well as the structured\r
-number of output elements for each type of object, there is the option of having\r
-an \91initial\92 element. The data in this element is added to the string before any\r
-other output element is. An example of its use for describing multiplication in\r
-MathML Content is shown below.<BR>&nbsp;&nbsp;&nbsp; <STRONG><FONT\r
-color=#800080>&lt;Add&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;initial&gt;<FONT\r
-color=#000000>&lt;times/&gt;</FONT>&lt;/initial&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output&lt;/output&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/Add&gt;<BR></FONT></STRONG><BR>&nbsp;\91a x b x c\92 would then be converted\r
-to,<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;times/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;ci&gt;a&lt;/ci&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;ci&gt;b&lt;/ci&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;ci&gt;c&lt;/ci&gt; </FONT></FONT></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><U><FONT face=Arial\r
-size=2></FONT></U></FONT></FONT></FONT></FONT>&nbsp;</DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><U><FONT face=Arial\r
-size=2>Final</FONT></U></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial size=2>N-ary operators can also have an optional 'final'\r
-element for adding data after everything else. An example of this is with Union\r
-in Maxima.</FONT></FONT></FONT></FONT></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2>&nbsp;&nbsp;&nbsp; <STRONG><FONT\r
-color=#800080>&lt;Union&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;initial&gt;<FONT\r
-color=#000000>union(</FONT>&lt;/initial&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;output&gt;<FONT\r
-color=#000000>,</FONT>&lt;/output&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r
-&lt;final&gt;<FONT color=#000000>)</FONT>&lt;/final&gt;<BR>&nbsp;&nbsp;&nbsp;\r
-&lt;/Union&gt;</FONT></STRONG></FONT></FONT></FONT></FONT></DIV></DIV></FONT></FONT></DIV></FONT></DIV></FONT></DIV></FONT></DIV>\r
-<DIV><FONT face=Arial size=2><FONT face=Arial size=2><FONT face=Arial\r
-size=2><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial\r
-size=2><FONT face=Arial><FONT size=2><FONT face=Arial size=2><SPAN\r
-class=875382513-08082007>&nbsp;</DIV></SPAN></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></BODY></HTML>\r
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD><TITLE>DragMath Documentation - Adding an output format</TITLE>
+<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
+<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
+<BODY>
+<DIV><FONT face=Arial color=#000080 size=5><STRONG>Adding an output format</STRONG></FONT></DIV>
+<DIV><FONT face=Arial size=2>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2>
+<p>
+The formats supplied
+are Maple,&nbsp;Latex, MathML and Maxima, with the corresponding files found in
+the \formats folder. These files can be edited to reflect the syntax you prefer. These
+files can also be used as templates for creating files for different formats.
+There are a number of rules and options that you need to be aware of to
+successfully create an XML file for a new format.</p>Each math object has
+its own element in the XML document, with a familiar name describing it, for
+example \93Add\94. Within this element there are a number of sub-elements depending
+upon how many arguments the object has.</FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><BR>N-ary operators
+have a single \91output\92 element e.g. for addition this
+is&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; <STRONG><FONT
+color=#800080>&lt;Add&gt;</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+<FONT color=#800080>&lt;output&gt;</FONT>+<FONT
+color=#800080>&lt;/output&gt;<BR></FONT>&nbsp;&nbsp;&nbsp; <FONT
+color=#800080>&lt;/Add&gt;<BR></FONT></STRONG><BR>Binary Operators have 3
+\91output\92 elements e.g. for fraction in Latex this is<BR>&nbsp;&nbsp;&nbsp; <FONT
+color=#800080><STRONG>&lt;Divide</STRONG> <FONT
+color=#000000>brackets=</FONT><FONT
+color=#0000ff>"false"</FONT><STRONG>&gt;</STRONG></FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+<STRONG><FONT color=#800080>&lt;output1&gt;</FONT>\frac<FONT color=#800080><FONT
+color=#000000>{</FONT>&lt;/output1&gt;</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+<FONT color=#800080>&lt;output2&gt;</FONT>}{<FONT
+color=#800080>&lt;/output2&gt;<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+<FONT color=#800080>&lt;output3&gt;</FONT>}<FONT
+color=#800080>&lt;/output3&gt;<BR></FONT>&nbsp;&nbsp;&nbsp; <FONT
+color=#800080>&lt;/Divide&gt;</FONT><BR></STRONG><BR>Functions have 2 \91output\92
+elements e.g. for square root in Latex this is<BR>&nbsp;&nbsp;<STRONG>&nbsp;
+</STRONG><FONT color=#800080><STRONG>&lt;SquareRoot</STRONG> <FONT
+color=#000000>brackets=</FONT><FONT
+color=#0000ff>"false"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output1&gt;<FONT
+color=#000000>\sqrt{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output2&gt;<FONT
+color=#000000>}</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/SquareRoot&gt;</STRONG></FONT><BR><BR></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT size=2>N-ary functions have 'n' output elements
+e.g. for definite integral in Latex it has
+5</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2>&nbsp;&nbsp;&nbsp;
+<FONT color=#800080><STRONG>&lt;DefiniteIntegral</STRONG> <FONT
+color=#000000>reverse=</FONT><FONT
+color=#0000ff>"true"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output1&gt;&nbsp;&nbsp;<FONT
+color=#000000>\int_{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output2&gt;<FONT
+color=#000000>}^{</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output3&gt;<FONT
+color=#000000>}</FONT>&lt;/output3&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output4&gt;<FONT
+color=#000000>\,\mathrm{d</FONT>&lt;/output4&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output5&gt;<FONT
+color=#000000>}</FONT>&lt;/output5&gt;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/DefiniteIntegral&gt;</STRONG></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT
+size=2></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV></DIV>
+<DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT size=2>Symbols have 1 \91output\92 element e.g. for
+Infinity in Latex this is<BR>&nbsp;&nbsp;<STRONG>&nbsp;<FONT color=#800080>
+&lt;Infinity&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output&gt;<FONT
+color=#000000>\infty</FONT>&lt;/output&gt;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/Infinity&gt;</FONT></STRONG><BR><BR>Groupings have 2 \91output\92 elements e.g.
+for square brackets in Latex this is<BR>&nbsp;&nbsp;&nbsp; <FONT
+color=#800080><STRONG>&lt;BracketsSq&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output1&gt;<FONT
+color=#000000>\left[</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output2&gt;<FONT
+color=#000000>\right]</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/BracketsSq&gt;</STRONG><BR></FONT><BR>Matrix in Latex is as
+follows:<BR>&nbsp;&nbsp;&nbsp; <STRONG><FONT
+color=#800080>&lt;Matrix&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;matrixStart&gt;<FONT color=#000000>\left(
+\begin{array}{ccc}</FONT>&lt;/matrixStart&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;rowStart /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;elementStart /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;elementEnd /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;elementSeparator&gt;<FONT color=#808000>&lt;![CDATA[ &amp;
+]]&gt;</FONT>&lt;/elementSeparator&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;rowEnd&gt;&nbsp;<FONT
+color=#000000>\\</FONT>&nbsp;&lt;/rowEnd&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;rowSeparator /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;matrixEnd&gt;<FONT color=#000000>\end{array}
+\right)</FONT>&lt;/matrixEnd&gt;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/Matrix&gt;</FONT></STRONG><BR><BR><BR>The syntax within these tags is used
+when converting an expression to that particular format. The actual arguments of
+the objects appear in the syntax between each pair of tags. For example consider
+½ in Latex format.&nbsp; It has 3 \91output\92 elements. So the first part will be
+\91\frac{\91, then the first argument will be appended to the string giving us,
+\91\frac{1\92, then the 2nd output will be appended, \91\frac{1}{\91, then the 2nd
+argment, \frac{1}{2\92 and then the final output, \91\frac{1}{2}\92. A similar process
+takes place with all the object types of objects, with the argument being
+appended between each pair of output elements.<BR><BR>There are various options
+that can be set to allow more control over the
+output.</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT
+size=2></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT size=2><U>Reverse</U><BR>If you find the arguments
+of a binary operator&nbsp;being output in the wrong order for a format, you can
+reverse the order of them by setting, reverse=\94true\94. An example of this is with
+the N-th root in Latex,<BR>&nbsp;&nbsp;&nbsp; <FONT
+color=#800080><STRONG>&lt;NthRoot</STRONG> <FONT
+color=#000000>reverse=</FONT><FONT color=#0000ff>"true"</FONT> <FONT
+color=#000000>brackets=</FONT><FONT
+color=#0000ff>"false"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output1&gt;<FONT color=#000000>\sqrt[</FONT>
+&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output2&gt;<FONT
+color=#000000>]{</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output3&gt;<FONT
+color=#000000>}</FONT>&lt;/output3&gt;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/NthRoot&gt;</STRONG></FONT><BR><U></U></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT
+size=2><U></U></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
+<DIV><U>Argument Order</U></DIV>
+<DIV>If you find the arguments of an N-ary Function being output in the wrong
+order for a format, you can re-arrange the order of them by setting,
+order=\94#1,#2,#3,...,#n\94. An example of this is with the&nbsp;Sum in Latex.
+Obviously, the default order&nbsp;for this is&nbsp;0,1,2,3, and it is being
+changed to 1,2,3,0.<BR>&nbsp;&nbsp;&nbsp; <FONT
+color=#800080><STRONG>&lt;Sum</STRONG> <FONT color=#000000>order=</FONT><FONT
+color=#0000ff>"1,2,3,0"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output1&gt; <FONT
+color=#000000>\sum_{{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output2&gt;<FONT
+color=#000000>}={</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output3&gt;<FONT
+color=#000000>}}^{</FONT>&lt;/output3&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output4&gt;<FONT
+color=#000000>}</FONT>&lt;/output4&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output5&gt;&lt;/output5&gt;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/Sum&gt;</STRONG></FONT><BR></DIV><br>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT size=2><U>AutoBrackets</U><BR>By default, round
+brackets are placed around n-ary operators and binary operators where necessary
+to ensure operator precedence is preserved. For presentational formats, such as
+Latex this is often unnecessary, so there is the option to turn automatic
+placing of brackets on/off. This is set in the element that specifies the name
+of the format. An example of this is shown for
+Latex,</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT
+color=#800080><STRONG>&lt;name</STRONG> <FONT
+color=#000000>AutoBrackets=</FONT><FONT
+color=#0000ff>"false"</FONT><STRONG>&gt;<FONT
+color=#000000>Latex</FONT>&lt;/name&gt;</STRONG></FONT><BR><U></U></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT
+size=2><U></U></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT size=2><U>Brackets on Functions<BR></U>Brackets
+are added by default around the argument of a function. For example Sine in
+Latex is,<BR>&nbsp;&nbsp;&nbsp; <STRONG><FONT
+color=#800080>&lt;Sine&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output1&gt;<FONT color=#000000>\sin</FONT>
+&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;output2
+/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/Sine&gt;</FONT></STRONG><BR><BR>Brackets are
+automatically added after the \91\sin\92 and after the 2nd output, resulting in
+"\sin(arg)". This is often the desired result but if you need to turn the
+brackets off, they can be set for each individual function. An example of
+turning them off is shown here for Square root in
+Latex,<BR>&nbsp;&nbsp;<STRONG>&nbsp; </STRONG><FONT
+color=#800080><STRONG>&lt;SquareRoot</STRONG> <FONT
+color=#000000>brackets=</FONT><FONT
+color=#0000ff>"false"</FONT><STRONG>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output1&gt;<FONT
+color=#000000>\sqrt{</FONT>&lt;/output1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output2&gt;<FONT
+color=#000000>}</FONT>&lt;/output2&gt;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/SquareRoot&gt;</STRONG></FONT><BR><U></U></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT
+size=2><U></U></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT size=2><U>Initial</U><BR>As well as the structured
+number of output elements for each type of object, there is the option of having
+an \91initial\92 element. The data in this element is added to the string before any
+other output element is. An example of its use for describing multiplication in
+MathML Content is shown below.<BR>&nbsp;&nbsp;&nbsp; <STRONG><FONT
+color=#800080>&lt;Add&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;initial&gt;<FONT
+color=#000000>&lt;times/&gt;</FONT>&lt;/initial&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output&lt;/output&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/Add&gt;<BR></FONT></STRONG><BR>&nbsp;\91a x b x c\92 would then be converted
+to,<BR>&nbsp;&nbsp;&nbsp;
+&lt;times/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;ci&gt;a&lt;/ci&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;ci&gt;b&lt;/ci&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;ci&gt;c&lt;/ci&gt; </FONT></FONT></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><U><FONT face=Arial
+size=2></FONT></U></FONT></FONT></FONT></FONT>&nbsp;</DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><U><FONT face=Arial
+size=2>Final</FONT></U></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial size=2>N-ary operators can also have an optional 'final'
+element for adding data after everything else. An example of this is with Union
+in Maxima.</FONT></FONT></FONT></FONT></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2>&nbsp;&nbsp;&nbsp; <STRONG><FONT
+color=#800080>&lt;Union&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;initial&gt;<FONT
+color=#000000>union(</FONT>&lt;/initial&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;output&gt;<FONT
+color=#000000>,</FONT>&lt;/output&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&lt;final&gt;<FONT color=#000000>)</FONT>&lt;/final&gt;<BR>&nbsp;&nbsp;&nbsp;
+&lt;/Union&gt;</FONT></STRONG></FONT></FONT></FONT></FONT></DIV></DIV></FONT></FONT></DIV></FONT></DIV></FONT></DIV></FONT></DIV>
+<DIV><FONT face=Arial size=2><FONT face=Arial size=2><FONT face=Arial
+size=2><FONT face=Arial size=2><FONT face=Arial><FONT size=2><FONT face=Arial
+size=2><FONT face=Arial><FONT size=2><FONT face=Arial size=2><SPAN
+class=875382513-08082007>&nbsp;</DIV></SPAN></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></BODY></HTML>
index a5b889755669736a1e17a9e9872fac9da3f7b92f..15a453afab8a311a146adcc91d7b8abbbf433a1b 100644 (file)
@@ -1,43 +1,43 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - Adding a function/operator</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style=" color: #000099;"><strong>Adding a function/operator</strong></span></h2>\r
-\r
-<p>\r
-The code can be easily modified and recompiled to add additional operators and functions.\r
- </p><p>\r
-However, they must adhere to the standard display layout shown below:\r
-</p><p>\r
-Operator:\r
-<br>\r
-<IMG alt="" hspace=0 src="img/plus.jpg" align=bottom border=0>\r
-</p><p>\r
-Function:\r
-<br>\r
-<IMG alt="" hspace=0 src="img/sin.jpg" align=bottom border=0>\r
-</p><p>\r
-The steps to adding one:\r
-</p>\r
-<ol>\r
-\r
- <LI>A new element in the CompConfig.xml, which is located in the Display package. The element must be given a unique name as the name of the object. A unique ID number, by simply choosing the next available ID number. A group number as follows:\r
-<br>&nbsp;N-ary operator - 1\r
-<br>&nbsp;Binary Operator - 2\r
-<br>&nbsp;Function - 3\r
-<br>&nbsp;The name of the GIF file that holds a transparent image of the object, of size &nbsp;16x16, 24x24 or 32x32 pixels.<BR>&nbsp;The text of the element should hold the \r
-  characters that represent the object. \r
-<LI>A new JButton placed on one of the tabs, in the MainApplet.java file. This button can have Text or an Icon to inform the user what it is. The JButton must have the name field set to 'ID-Name' e.g. for Addition this is '2-Add'. \r
-<LI>A new element in the language file you intend to use, with the same element name as in the CompConfig.xml file. The text of the element should be a description of the object for use in the status bar of the program.\r
-<LI>The array &#8216;inputComponents&#8217; should be initialised to the size of the highest ID number now in CompConfig.xml. This line of code is found near the start of the init() method in the MainApplet.java file, in the Display package.\r
-<LI>The Precedence.java file in the Tree package should be adjusted, so the &#8216;value&#8217; array is initialised to the size of the highest ID number now in CompConfig.xml, and the precedence of the new object should be set if required.\r
-<LI>An entry in each format XML file will be required for the new object. For details on how to do this see <A href="newformat.html">here</A>.\r
-\r
-</font>\r
-\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - Adding a function/operator</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style=" color: #000099;"><strong>Adding a function/operator</strong></span></h2>
+
+<p>
+The code can be easily modified and recompiled to add additional operators and functions.
+ </p><p>
+However, they must adhere to the standard display layout shown below:
+</p><p>
+Operator:
+<br>
+<IMG alt="" hspace=0 src="img/plus.jpg" align=bottom border=0>
+</p><p>
+Function:
+<br>
+<IMG alt="" hspace=0 src="img/sin.jpg" align=bottom border=0>
+</p><p>
+The steps to adding one:
+</p>
+<ol>
+
+ <LI>A new element in the CompConfig.xml, which is located in the Display package. The element must be given a unique name as the name of the object. A unique ID number, by simply choosing the next available ID number. A group number as follows:
+<br>&nbsp;N-ary operator - 1
+<br>&nbsp;Binary Operator - 2
+<br>&nbsp;Function - 3
+<br>&nbsp;The name of the GIF file that holds a transparent image of the object, of size &nbsp;16x16, 24x24 or 32x32 pixels.<BR>&nbsp;The text of the element should hold the 
+  characters that represent the object. 
+<LI>A new JButton placed on one of the tabs, in the MainApplet.java file. This button can have Text or an Icon to inform the user what it is. The JButton must have the name field set to 'ID-Name' e.g. for Addition this is '2-Add'. 
+<LI>A new element in the language file you intend to use, with the same element name as in the CompConfig.xml file. The text of the element should be a description of the object for use in the status bar of the program.
+<LI>The array &#8216;inputComponents&#8217; should be initialised to the size of the highest ID number now in CompConfig.xml. This line of code is found near the start of the init() method in the MainApplet.java file, in the Display package.
+<LI>The Precedence.java file in the Tree package should be adjusted, so the &#8216;value&#8217; array is initialised to the size of the highest ID number now in CompConfig.xml, and the precedence of the new object should be set if required.
+<LI>An entry in each format XML file will be required for the new object. For details on how to do this see <A href="newformat.html">here</A>.
+
+</font>
+
+</body>
 </html>
\ No newline at end of file
index dbc72e3db257e17ba0769b5048c05ce14c7adc96..c160c945e899546f43ab2707049830bd59adfd98 100644 (file)
@@ -1,46 +1,46 @@
-<html>\r
-<head>\r
-<title>DragMath Documentation - Options</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style=" color: #000099;"><strong>Options</strong></span></h2>\r
-\r
-<p>\r
-<font size=3>\r
-<b>Exporting an expression</b>\r
-</font>\r
-</p>\r
-<p>\r
-To choose which format to export to click 'Set export format' under the Options menu, and select a file from the list. The files available will be those in the \formats folder. If no format is specified in an applet paramater the default is LaTeX.\r
-To export an expression click the Export button. Once exported the syntax will be copied to the clipboard, so you can simply paste it into any other program you desire.\r
- </p>\r
-<br>\r
-<font size=3>\r
-<b>Changing the language</b>\r
-</font>\r
-<p>\r
-The language can be changed by clicking 'Set language' under the Options menu, and selected a file from the list. The files available will be those in the \lang folder. If no language is specified in an applet parameter the default is English.\r
- </p> \r
-\r
-<br>\r
-<font size=3>\r
-<b>Help</b>\r
-</font>\r
-<p>\r
-If there appears to be a problem with the way the software is behaving it can be useful to use the two tools under the Debug menu, which is under the Help menu. These can show the current expression as a tree, and outline the borders of all the objects on the workspace.\r
-Under the Help menu there is also a link to the Online Documentation.\r
- </p>\r
-\r
-<br>\r
-<font size=3>\r
-<b>Implicit Multiplication</b>\r
-</font>\r
-<p>\r
-Under the Options menu, there is a check box for turning implicit multiplication on/off. By default it is set to off, if you wish to set the default to on, see the 'Changing applet parameters' page. With implicit multiplication on the 'dot' notation is not displayed in the DragMath display in any expressions which are exported.\r
- </p>\r
-</font>\r
- </body>\r
+<html>
+<head>
+<title>DragMath Documentation - Options</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style=" color: #000099;"><strong>Options</strong></span></h2>
+
+<p>
+<font size=3>
+<b>Exporting an expression</b>
+</font>
+</p>
+<p>
+To choose which format to export to click 'Set export format' under the Options menu, and select a file from the list. The files available will be those in the \formats folder. If no format is specified in an applet paramater the default is LaTeX.
+To export an expression click the Export button. Once exported the syntax will be copied to the clipboard, so you can simply paste it into any other program you desire.
+ </p>
+<br>
+<font size=3>
+<b>Changing the language</b>
+</font>
+<p>
+The language can be changed by clicking 'Set language' under the Options menu, and selected a file from the list. The files available will be those in the \lang folder. If no language is specified in an applet parameter the default is English.
+ </p> 
+
+<br>
+<font size=3>
+<b>Help</b>
+</font>
+<p>
+If there appears to be a problem with the way the software is behaving it can be useful to use the two tools under the Debug menu, which is under the Help menu. These can show the current expression as a tree, and outline the borders of all the objects on the workspace.
+Under the Help menu there is also a link to the Online Documentation.
+ </p>
+
+<br>
+<font size=3>
+<b>Implicit Multiplication</b>
+</font>
+<p>
+Under the Options menu, there is a check box for turning implicit multiplication on/off. By default it is set to off, if you wish to set the default to on, see the 'Changing applet parameters' page. With implicit multiplication on the 'dot' notation is not displayed in the DragMath display in any expressions which are exported.
+ </p>
+</font>
+ </body>
 </html>
\ No newline at end of file
index 7e5539f5aa23aab3b9d4d45176153440e5a926ef..8cd9a1a1a237962fb97f11cd6b08e427e358e5b8 100644 (file)
-<html>\r
-<head>\r
-<title>DragMath Documentation - Changing applet parameters</title>\r
-</head>\r
-<body>\r
-\r
-<font size="2"; style="font-family: Arial;">\r
-\r
-<h2><span style=" color: #000099;"><strong>Changing Applet parameters</strong></span></h2>\r
-\r
-<p>\r
-There are various parameters that can be set inside the &lt;APPLET> tag, to change particular options of the applet.\r
-</p>\r
\r
-<font size=3>\r
-<b>Language</b>\r
-</font>\r
-<p>\r
-<strong>\r
-<font color=#800080>&lt;param</font>\r
-name=\r
-</strong>\r
-<font color=#0000ff>language</font>\r
-<strong>\r
-value=\r
-</strong>\r
-<font color=#0000ff>"en"</font>\r
-<strong>\r
-<font color=#800080>&gt;</font>\r
-</strong>\r
-<br>\r
-The value is the name of the XML file, so this example refers to language file en.xml in the \lang folder. If the parameter is not used the default value is "en".\r
- </p>\r
-\r
-<font size=3>\r
-<b>Output Format</b>\r
-</font>\r
-<p>\r
-<strong>\r
-<font color=#800080>&lt;param</font>\r
-name=\r
-</strong>\r
-<font color=#0000ff>outputFormat</font>\r
-<strong>\r
-value=\r
-</strong>\r
-<font color=#0000ff>"MathML"</font>\r
-<strong>\r
-<font color=#800080>&gt;</font>\r
-</strong>\r
-<br>\r
-The value is the name of the XML file, so this example refers to output format file MathML.xml in the \formats folder. The purpose of setting this is to have the default format to use automatically set when the software loads.\r
-</p>\r
-\r
-<font size=3>\r
-<b>Open applet with an expression</b>\r
-</font>\r
-<p>\r
-<strong>\r
-<font color=#800080>&lt;param</font>\r
-name=\r
-</strong>\r
-<font color=#0000ff>openWithExpression</font>\r
-<strong>\r
-value=\r
-</strong>\r
-<font color=#0000ff>"sin(1+x)"</font>\r
-<strong>\r
-<font color=#800080>&gt;</font>\r
-</strong>\r
-<br>\r
-The value can be any expression you would like the applet to be opened with. The Maxima example on the DragMath website gives an example of this being used.\r
-</p>\r
-\r
-<font size=3>\r
-<b>Hide the menu</b>\r
-</font>\r
-<p>\r
-<strong>\r
-<font color=#800080>&lt;param</font>\r
-name=\r
-</strong>\r
-<font color=#0000ff>hideMenu</font>\r
-<strong>\r
-value=\r
-</strong>\r
-<font color=#0000ff>"true"</font>\r
-<strong>\r
-<font color=#800080>&gt;</font>\r
-</strong>\r
-<br>\r
-By default the drop-down menus are shown. To hide them set the value of the parameter to "True" or "true".\r
-</p>\r
-\r
-<font size=3>\r
-<b>Hide the toolbar</b>\r
-</font>\r
-<p>\r
-<strong>\r
-<font color=#800080>&lt;param</font>\r
-name=\r
-</strong>\r
-<font color=#0000ff>hideToolbar</font>\r
-<strong>\r
-value=\r
-</strong>\r
-<font color=#0000ff>"true"</font>\r
-<strong>\r
-<font color=#800080>&gt;</font>\r
-</strong>\r
-<br>\r
-By default the toolbar is shown. To hide it set the value of the parameter to "True" or "true".\r
-</p>\r
-\r
-<font size=3>\r
-<b>Implicit multiplication</b>\r
-</font>\r
-<p>\r
-<strong>\r
-<font color=#800080>&lt;param</font>\r
-name=\r
-</strong>\r
-<font color=#0000ff>implicitMultiplication</font>\r
-<strong>\r
-value=\r
-</strong>\r
-<font color=#0000ff>"true"</font>\r
-<strong>\r
-<font color=#800080>&gt;</font>\r
-</strong>\r
-<br>\r
-By default implicit multiplication is set to off. To turn it on set the value of the parameter to "True" or "true".\r
-</p>\r
-\r
-<font size=3>\r
-<b>Decimal Numbers</b>\r
-</font>\r
-<p>\r
-<strong>\r
-<font color=#800080>&lt;param</font>\r
-name=\r
-</strong>\r
-<font color=#0000ff>displayDecimalNumbers</font>\r
-<strong>\r
-value=\r
-</strong>\r
-<font color=#0000ff>"true"</font>\r
-<strong>\r
-<font color=#800080>&gt;</font>\r
-</strong>\r
-<br>\r
-By default decimal numbers which can be expressed as integers are converted. e.g. 1.0 becomes 1, and 1.5 remains as 1.5. If you wish all numbers to be displayed as decimal numbers set the value of the parameter to "True" or "true". Therefore, 1 becomes 1.0, and 1.5 remains as 1.5.\r
-</p>\r
-\r
-<font size=3>\r
-<b>Customise toolbar</b>\r
-</font>\r
-<p>\r
-<strong>\r
-<font color=#800080>&lt;param</font>\r
-name=\r
-</strong>\r
-<font color=#0000ff>customToolbar</font>\r
-<strong>\r
-value=\r
-</strong>\r
-<font color=#0000ff>"0 1 2 | 3 4 | 5 6 7 | 8"</font>\r
-<strong>\r
-<font color=#800080>&gt;</font>\r
-</strong>\r
-<br>\r
-This parameter can be used to customise which buttons are shown and they order they are shown in. Each button has a numeric value as shown below\r
-<p>\r
-0 = Clear workspace <br>\r
-1 = Load Expression from file <br>\r
-2 = Save expression to file <br>\r
-3 = Undo <br>\r
-4 = Redo <br>\r
-5 = Cut <br>\r
-6 = Copy <br>\r
-7 = Paste <br>\r
-8 = Export <br>\r
-| = Separator\r
-</p>\r
-\r
-The default is set to "0 1 2 | 3 4 | 5 6 7 | 8"\r
-\r
-</font>\r
-</body>\r
+<html>
+<head>
+<title>DragMath Documentation - Changing applet parameters</title>
+</head>
+<body>
+
+<font size="2"; style="font-family: Arial;">
+
+<h2><span style=" color: #000099;"><strong>Changing Applet parameters</strong></span></h2>
+
+<p>
+There are various parameters that can be set inside the &lt;APPLET> tag, to change particular options of the applet.
+</p>
+<font size=3>
+<b>Language</b>
+</font>
+<p>
+<strong>
+<font color=#800080>&lt;param</font>
+name=
+</strong>
+<font color=#0000ff>language</font>
+<strong>
+value=
+</strong>
+<font color=#0000ff>"en"</font>
+<strong>
+<font color=#800080>&gt;</font>
+</strong>
+<br>
+The value is the name of the XML file, so this example refers to language file en.xml in the \lang folder. If the parameter is not used the default value is "en".
+ </p>
+
+<font size=3>
+<b>Output Format</b>
+</font>
+<p>
+<strong>
+<font color=#800080>&lt;param</font>
+name=
+</strong>
+<font color=#0000ff>outputFormat</font>
+<strong>
+value=
+</strong>
+<font color=#0000ff>"MathML"</font>
+<strong>
+<font color=#800080>&gt;</font>
+</strong>
+<br>
+The value is the name of the XML file, so this example refers to output format file MathML.xml in the \formats folder. The purpose of setting this is to have the default format to use automatically set when the software loads.
+</p>
+
+<font size=3>
+<b>Open applet with an expression</b>
+</font>
+<p>
+<strong>
+<font color=#800080>&lt;param</font>
+name=
+</strong>
+<font color=#0000ff>openWithExpression</font>
+<strong>
+value=
+</strong>
+<font color=#0000ff>"sin(1+x)"</font>
+<strong>
+<font color=#800080>&gt;</font>
+</strong>
+<br>
+The value can be any expression you would like the applet to be opened with. The Maxima example on the DragMath website gives an example of this being used.
+</p>
+
+<font size=3>
+<b>Hide the menu</b>
+</font>
+<p>
+<strong>
+<font color=#800080>&lt;param</font>
+name=
+</strong>
+<font color=#0000ff>hideMenu</font>
+<strong>
+value=
+</strong>
+<font color=#0000ff>"true"</font>
+<strong>
+<font color=#800080>&gt;</font>
+</strong>
+<br>
+By default the drop-down menus are shown. To hide them set the value of the parameter to "True" or "true".
+</p>
+
+<font size=3>
+<b>Hide the toolbar</b>
+</font>
+<p>
+<strong>
+<font color=#800080>&lt;param</font>
+name=
+</strong>
+<font color=#0000ff>hideToolbar</font>
+<strong>
+value=
+</strong>
+<font color=#0000ff>"true"</font>
+<strong>
+<font color=#800080>&gt;</font>
+</strong>
+<br>
+By default the toolbar is shown. To hide it set the value of the parameter to "True" or "true".
+</p>
+
+<font size=3>
+<b>Implicit multiplication</b>
+</font>
+<p>
+<strong>
+<font color=#800080>&lt;param</font>
+name=
+</strong>
+<font color=#0000ff>implicitMultiplication</font>
+<strong>
+value=
+</strong>
+<font color=#0000ff>"true"</font>
+<strong>
+<font color=#800080>&gt;</font>
+</strong>
+<br>
+By default implicit multiplication is set to off. To turn it on set the value of the parameter to "True" or "true".
+</p>
+
+<font size=3>
+<b>Decimal Numbers</b>
+</font>
+<p>
+<strong>
+<font color=#800080>&lt;param</font>
+name=
+</strong>
+<font color=#0000ff>displayDecimalNumbers</font>
+<strong>
+value=
+</strong>
+<font color=#0000ff>"true"</font>
+<strong>
+<font color=#800080>&gt;</font>
+</strong>
+<br>
+By default decimal numbers which can be expressed as integers are converted. e.g. 1.0 becomes 1, and 1.5 remains as 1.5. If you wish all numbers to be displayed as decimal numbers set the value of the parameter to "True" or "true". Therefore, 1 becomes 1.0, and 1.5 remains as 1.5.
+</p>
+
+<font size=3>
+<b>Customise toolbar</b>
+</font>
+<p>
+<strong>
+<font color=#800080>&lt;param</font>
+name=
+</strong>
+<font color=#0000ff>customToolbar</font>
+<strong>
+value=
+</strong>
+<font color=#0000ff>"0 1 2 | 3 4 | 5 6 7 | 8"</font>
+<strong>
+<font color=#800080>&gt;</font>
+</strong>
+<br>
+This parameter can be used to customise which buttons are shown and they order they are shown in. Each button has a numeric value as shown below
+<p>
+0 = Clear workspace <br>
+1 = Load Expression from file <br>
+2 = Save expression to file <br>
+3 = Undo <br>
+4 = Redo <br>
+5 = Cut <br>
+6 = Copy <br>
+7 = Paste <br>
+8 = Export <br>
+| = Separator
+</p>
+
+The default is set to "0 1 2 | 3 4 | 5 6 7 | 8"
+
+</font>
+</body>
 </html>
\ No newline at end of file
index 017f7d17c1120ecf58eb407728147c9d7a19d71c..69766e3dd06ce6b278a6a51b6868200c2f7440be 100644 (file)
@@ -42,12 +42,11 @@ if (!file_exists("$CFG->dirroot/lib/dragmath/applet/lang/$lang.xml")) {
        name="dragmath" 
        codebase="<?php echo $CFG->httpswwwroot.'/lib/dragmath/applet' ?>" 
        code="Display/MainApplet.class" 
-       archive="Project.jar,lib/AbsoluteLayout.jar,lib/swing-layout-1.0.jar,lib/jdom.jar,lib/jep.jar" 
+       archive="DragMath.jar,lib/AbsoluteLayout.jar,lib/swing-layout-1.0.jar,lib/jdom.jar,lib/jep.jar" 
        width="540" height="300"
 >
        <param name="language" value="<?php echo $lang; ?>" />
        <param name="outputFormat" value="MoodleTex" />
-       <param name="showOutputToolBar" value="false" />
     <?php print_string('dragmath:dragmath_javaneeded', 'editor_tinymce', '<a href="http://www.java.com">Java.com</a>')?>
 </applet>
 <form name="form" action="">