From: skodak DragMath is licensed under the GNU General Public License (GPL) (http://www.gnu.org/copyleft/gpl.html)
-
-All source code in this package is written by Alex Billingsley except the libraries used. The copyright information for the libaries is included below:
-
-JDOM
-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.
-
http://www.jdom.org
-
-
-
DragMath is licensed under the GNU General Public License (GPL) (http://www.gnu.org/copyleft/gpl.html) +
+All source code in this package is written by Alex Billingsley except the libraries used. The copyright information for the libaries is included below:
++
+
+
+
+Bugs fixed: +
+New Languages: diff --git a/lib/dragmath/applet/Display/MainApplet.class b/lib/dragmath/applet/Display/MainApplet.class index 65848dd3ec..abb81af7e1 100644 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 index 0000000000..765fc12646 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 index 2d494e858c..0000000000 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 index 70825cc09e..0000000000 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 index 763f28f03a..0000000000 Binary files a/lib/dragmath/applet/Project.jar and /dev/null differ diff --git a/lib/dragmath/doc/about.html b/lib/dragmath/doc/about.html index f82898dd64..3dc208b047 100644 --- a/lib/dragmath/doc/about.html +++ b/lib/dragmath/doc/about.html @@ -1,20 +1,20 @@ - -
--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. -
--DragMath started as a final-year University project at the University of Birmingham by Alex Billingsley under the supervision of Chris Sangwin. It's main application is therefore directed toward an educational one. -
- - - + + ++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. +
++DragMath started as a final-year University project at the University of Birmingham by Alex Billingsley under the supervision of Chris Sangwin. It's main application is therefore directed toward an educational one. +
+ + + \ No newline at end of file diff --git a/lib/dragmath/doc/acknowledgments.html b/lib/dragmath/doc/acknowledgments.html index 4c70f247ce..8fc1ff597e 100644 --- a/lib/dragmath/doc/acknowledgments.html +++ b/lib/dragmath/doc/acknowledgments.html @@ -1,32 +1,32 @@ - - -DragMath is licensed under the GNU General Public License (GPL) (http://www.gnu.org/copyleft/gpl.html) -
-All source code in this package is written by Alex Billingsley except the libraries used. The copyright information for the libaries is included below:
--
-
-
-
DragMath is licensed under the GNU General Public License (GPL) (http://www.gnu.org/copyleft/gpl.html) +
+All source code in this package is written by Alex Billingsley except the libraries used. The copyright information for the libaries is included below:
++
+
+
+
-Details are given on the file structure of the required files, and <APPLET> tag to enable the applet to run in a web browser. -
-The applet currently requires Java Runtime Environment (JRE) 1.4 or higher to run, which can be obtained from www.java.com -
-The recommended file structure is: -
- -
-
-<applet
-name=
-"dragmath"
-codebase="classes"
-code=
-"Display.MainApplet.class"
- archive=
-"Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,,jdom.jar,,jep.jar"
- width=
-540
- height=
-300
->
-<param
-name=
-language
-value=
-"en"
- >
-</applet >
-
-
+Details are given on the file structure of the required files, and <APPLET> tag to enable the applet to run in a web browser. +
+The applet currently requires Java Runtime Environment (JRE) 1.4 or higher to run, which can be obtained from www.java.com +
+The recommended file structure is: +
+ +
+
+<applet
+name=
+"dragmath"
+codebase="dragmath"
+code=
+"Display.MainApplet.class"
+ archive=
+"DragMath.jar"
+ width=
+540
+ height=
+300
+>
+<param
+name=
+language
+value=
+"en"
+ >
+</applet >
+
+
-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. -
--Operators and functions can be entered into text boxes using the keyboard with the following syntax: -
-Name | -Syntax | -
---|---|
Addition | -+ | -
Multiplication | -* | -
Division | -/ | -
Greater than | -> | -
Less than | -< | -
Equal | -= == |
-
Less than or Equal | -<= | -
Greater than or Equal | ->= | -
Power | -^ | -
Sine | -sin(x) | -
Cosine | -cos(x) | -
Tangent | -tan(x) | -
Arc Sine | -asin(x) | -
Arc Cosine | -acos(x) | -
Arc Tangent | -atan(x) | -
Hyperbolic Sine | -sinh(x) | -
Hyperbolic Cosine | -cosh(x) | -
Hyperbolic Tangent | -tanh(x) | -Inverse Hyperbolic Sine | -asinh(x) | - -
Inverse Hyperbolic Cosine | -acosh(x) | -
Inverse Hyperbolic Tangent | -atanh(x) | -
Natural Logarithm | -ln(x) | -
Logarithm | -log(x) | -
Exponential | -exp(x) | -
Absolute Value | -abs(x) | -
Square Root | -sqrt(x) | -
Union | -union(a,b) | -
Intersection | -intersection(a,b) | -
Determinant | -det(a) | -
Trace | -trace(a) | -
Subset | -subset(a,b) | -
Integral | -integrate(f,x) -int(f,x) |
-
Definite Integral | -integrate(f,x,a,b) -int(f,x,a,b) - |
-
Differential | -diff(f,x) | -Sum | -sum(n^2,n,1,10) | - -Product | -product(n^2,n,1,10) | - - -
-Once the box that you have been typing in has been left then the text is turned into templates automatically for you. -
-
-There are special templates called layout templates, beause they each take a unique layout. These are:
-Fraction
-Square Root
-N-th Root
-Subscript
-Superscript
-Matrix
-Integral
-Differential
-Product
-Sum
-Limit
-Evaluate at a point
-Grouping (round brackets, curly brackets, square brackets, modulus)
-
-These layout templates can be used in exactly the same way as the other math templates. -
- --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. -
- - - - + + ++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. +
++Operators and functions can be entered into text boxes using the keyboard with the following syntax: +
+Name | +Syntax | +
---|---|
Addition | ++ | +
Multiplication | +* | +
Division | +/ | +
Greater than | +> | +
Less than | +< | +
Equal | += == |
+
Less than or Equal | +<= | +
Greater than or Equal | +>= | +
Power | +^ | +
Sine | +sin(x) | +
Cosine | +cos(x) | +
Tangent | +tan(x) | +
Arc Sine | +asin(x) | +
Arc Cosine | +acos(x) | +
Arc Tangent | +atan(x) | +
Hyperbolic Sine | +sinh(x) | +
Hyperbolic Cosine | +cosh(x) | +
Hyperbolic Tangent | +tanh(x) | +Inverse Hyperbolic Sine | +asinh(x) | + +
Inverse Hyperbolic Cosine | +acosh(x) | +
Inverse Hyperbolic Tangent | +atanh(x) | +
Natural Logarithm | +ln(x) | +
Logarithm | +log(x) | +
Exponential | +exp(x) | +
Absolute Value | +abs(x) | +
Square Root | +sqrt(x) | +
Union | +union(a,b) | +
Intersection | +intersection(a,b) | +
Determinant | +det(a) | +
Trace | +trace(a) | +
Subset | +subset(a,b) | +
Integral | +integrate(f,x) +int(f,x) |
+
Definite Integral | +integrate(f,x,a,b) +int(f,x,a,b) + |
+
Differential | +diff(f,x) | +Sum | +sum(n^2,n,1,10) | + +Product | +product(n^2,n,1,10) | + + +
+Once the box that you have been typing in has been left then the text is turned into templates automatically for you. +
+
+There are special templates called layout templates, beause they each take a unique layout. These are:
+Fraction
+Square Root
+N-th Root
+Subscript
+Superscript
+Matrix
+Integral
+Differential
+Product
+Sum
+Limit
+Evaluate at a point
+Grouping (round brackets, curly brackets, square brackets, modulus)
+
+These layout templates can be used in exactly the same way as the other math templates. +
+ ++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. +
+ + + + diff --git a/lib/dragmath/doc/cvs.html b/lib/dragmath/doc/cvs.html index dc9f60795b..dc984939f0 100644 --- a/lib/dragmath/doc/cvs.html +++ b/lib/dragmath/doc/cvs.html @@ -1,73 +1,73 @@ - - --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).
-
-1. Install NetBeans
-2. Get source code from DragMath CVS repository
-3. Update and Commiting your local source code copy
-
-NetBeans is the integrated development environment (IDE) used for DragMath. -It is open source and can be downloaded from http://www.netbeans.org. -
-
-Start NetBeans and do the following to get the DragMath source code:
-
-1. File -> New Project -
-2. Choose the 'General' category, and then 'Java Application' under Projects, then click Next. -
-3. Set the Project Name as "ddma". Click Browse to choose the location where you would like the code stored. Then click Next. -
-4. CVS -> Checkout. The click Edit. -
-5. Fill in the location information identifying the DragMath CVS repository and click OK.
- Access Method: pserver for anonymous, ext for developer accounts
- User: "anonymous" or your DragMath developer account at SourceForge
- Host: dragmath.cvs.sourceforge.net
- Repository Path: /cvsroot/dragmath
-
-6. Enter your password, none for anonymous login, then click Next -
-7. Set the Module as "ddma", and the Local Folder to the same location the Project was created. Then click Finish. -
-8. Once the source code has been downloaded, click Close to the popup message about opening the project. -
-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. -
-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. -
-11. The code is now ready to work on. -
--The code can be updated and commited using the Update and Commit options under the CVS menu in NetBeans. -
- - - - + + ++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).
+
+1. Install NetBeans
+2. Get source code from DragMath CVS repository
+3. Update and Commiting your local source code copy
+
+NetBeans is the integrated development environment (IDE) used for DragMath. +It is open source and can be downloaded from http://www.netbeans.org. +
+
+Start NetBeans and do the following to get the DragMath source code:
+
+1. File -> New Project +
+2. Choose the 'General' category, and then 'Java Application' under Projects, then click Next. +
+3. Set the Project Name as "ddma". Click Browse to choose the location where you would like the code stored. Then click Next. +
+4. CVS -> Checkout. The click Edit. +
+5. Fill in the location information identifying the DragMath CVS repository and click OK.
+ Access Method: pserver for anonymous, ext for developer accounts
+ User: "anonymous" or your DragMath developer account at SourceForge
+ Host: dragmath.cvs.sourceforge.net
+ Repository Path: /cvsroot/dragmath
+
+6. Enter your password, none for anonymous login, then click Next +
+7. Set the Module as "ddma", and the Local Folder to the same location the Project was created. Then click Finish. +
+8. Once the source code has been downloaded, click Close to the popup message about opening the project. +
+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. +
+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. +
+11. The code is now ready to work on. +
++The code can be updated and commited using the Update and Commit options under the CVS menu in NetBeans. +
+ + + + \ No newline at end of file diff --git a/lib/dragmath/doc/editing.html b/lib/dragmath/doc/editing.html index ee79b40b34..3a7de2cddd 100644 --- a/lib/dragmath/doc/editing.html +++ b/lib/dragmath/doc/editing.html @@ -1,47 +1,47 @@ - - --Basic editing options are supplied to edit the expression: -
- --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. -
--Cut Select the desired area to cut, then either click the Cut button or use Ctrl+X on the keyboard. -
--Copy Select the desired area to copy, then either click the Copy button or use Ctrl+C on the keyboard. -
--Paste 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. -
--Delete Delete is performed by selecting the area to delete and pressing delete on the keyboard. -
--Undo You can perform an undo by clicking the Undo button -
--Redo You can perform a redo by clicking the Redo button -
--Open Saved expressions can be opened from a file using the Open button -
--Save Expressions can be saved to a file using the Save button -
-+Basic editing options are supplied to edit the expression: +
+ ++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. +
++Cut Select the desired area to cut, then either click the Cut button or use Ctrl+X on the keyboard. +
++Copy Select the desired area to copy, then either click the Copy button or use Ctrl+C on the keyboard. +
++Paste 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. +
++Delete Delete is performed by selecting the area to delete and pressing delete on the keyboard. +
++Undo You can perform an undo by clicking the Undo button +
++Redo You can perform a redo by clicking the Redo button +
++Open Saved expressions can be opened from a file using the Open button +
++Save Expressions can be saved to a file using the Save button +
+-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. -
--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 installation instructions. -
--STACK is a computer aided assessment (CAA) package for mathematics. It was mainly developed by Chris Sangwin (a developer of DragMath). -
--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 Simple Machines Forum (SMF), which is a powerful open source forum. More information on how it was integrated and how it is used in the forum. -
--The Diambars institute is a training structure embracing sports and education located in Saly, Senegal. -
- - - + + ++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. +
++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 installation instructions. +
++STACK is a computer aided assessment (CAA) package for mathematics. It was mainly developed by Chris Sangwin (a developer of DragMath). +
++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 Simple Machines Forum (SMF), which is a powerful open source forum. More information on how it was integrated and how it is used in the forum. +
++The Diambars institute is a training structure embracing sports and education located in Saly, Senegal. +
+ + + \ No newline at end of file diff --git a/lib/dragmath/doc/language.html b/lib/dragmath/doc/language.html index 88ea0057d2..2832ec6c3c 100644 --- a/lib/dragmath/doc/language.html +++ b/lib/dragmath/doc/language.html @@ -1,31 +1,31 @@ - - --The software is supplied with an English language file, en.xml. 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. -
--For example consider the error message when a file cannot be read, -
- -<ReadingFile> -Error reading format file: Check file is valid -</ReadingFile> - -
-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. -
-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 Options section or the Changing applet parameters section. -
- - - - + + ++The software is supplied with an English language file, en.xml. 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. +
++For example consider the error message when a file cannot be read, +
+ +<ReadingFile> +Error reading format file: Check file is valid +</ReadingFile> + +
+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. +
+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 Options section or the Changing applet parameters section. +
+ + + + \ No newline at end of file diff --git a/lib/dragmath/doc/navframe.html b/lib/dragmath/doc/navframe.html index 4ab7ca4dc5..f8018a3010 100644 --- a/lib/dragmath/doc/navframe.html +++ b/lib/dragmath/doc/navframe.html @@ -1,34 +1,34 @@ - - --The formats supplied -are Maple, 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.
Each math object has -its own element in the XML document, with a familiar name describing it, for -example Add. Within this element there are a number of sub-elements depending -upon how many arguments the object has.+The formats supplied +are Maple, 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.
Each math object has +its own element in the XML document, with a familiar name describing it, for +example Add. Within this element there are a number of sub-elements depending +upon how many arguments the object has.-The code can be easily modified and recompiled to add additional operators and functions. -
-However, they must adhere to the standard display layout shown below: -
-Operator:
-
-
-
-Function:
-
-
-
-The steps to adding one: -
-+The code can be easily modified and recompiled to add additional operators and functions. +
+However, they must adhere to the standard display layout shown below: +
+Operator:
+
+
+
+Function:
+
+
+
+The steps to adding one: +
+- -Exporting an expression - -
--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. -
--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. -
- --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. -
- --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. -
- - + + ++ +Exporting an expression + +
++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. +
++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. +
+ ++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. +
+ ++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. +
+ + \ No newline at end of file diff --git a/lib/dragmath/doc/parameters.html b/lib/dragmath/doc/parameters.html index 7e5539f5aa..8cd9a1a1a2 100644 --- a/lib/dragmath/doc/parameters.html +++ b/lib/dragmath/doc/parameters.html @@ -1,190 +1,190 @@ - - --There are various parameters that can be set inside the <APPLET> tag, to change particular options of the applet. -
- - -Language - -
-
-<param
-name=
-
-language
-
-value=
-
-"en"
-
->
-
-
-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".
-
-
-<param
-name=
-
-outputFormat
-
-value=
-
-"MathML"
-
->
-
-
-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.
-
-
-<param
-name=
-
-openWithExpression
-
-value=
-
-"sin(1+x)"
-
->
-
-
-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.
-
-
-<param
-name=
-
-hideMenu
-
-value=
-
-"true"
-
->
-
-
-By default the drop-down menus are shown. To hide them set the value of the parameter to "True" or "true".
-
-
-<param
-name=
-
-hideToolbar
-
-value=
-
-"true"
-
->
-
-
-By default the toolbar is shown. To hide it set the value of the parameter to "True" or "true".
-
-
-<param
-name=
-
-implicitMultiplication
-
-value=
-
-"true"
-
->
-
-
-By default implicit multiplication is set to off. To turn it on set the value of the parameter to "True" or "true".
-
-
-<param
-name=
-
-displayDecimalNumbers
-
-value=
-
-"true"
-
->
-
-
-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.
-
-
-<param
-name=
-
-customToolbar
-
-value=
-
-"0 1 2 | 3 4 | 5 6 7 | 8"
-
->
-
-
-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
-
-0 = Clear workspace
-1 = Load Expression from file
-2 = Save expression to file
-3 = Undo
-4 = Redo
-5 = Cut
-6 = Copy
-7 = Paste
-8 = Export
-| = Separator
-
+There are various parameters that can be set inside the <APPLET> tag, to change particular options of the applet. +
+ + +Language + +
+
+<param
+name=
+
+language
+
+value=
+
+"en"
+
+>
+
+
+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".
+
+
+<param
+name=
+
+outputFormat
+
+value=
+
+"MathML"
+
+>
+
+
+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.
+
+
+<param
+name=
+
+openWithExpression
+
+value=
+
+"sin(1+x)"
+
+>
+
+
+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.
+
+
+<param
+name=
+
+hideMenu
+
+value=
+
+"true"
+
+>
+
+
+By default the drop-down menus are shown. To hide them set the value of the parameter to "True" or "true".
+
+
+<param
+name=
+
+hideToolbar
+
+value=
+
+"true"
+
+>
+
+
+By default the toolbar is shown. To hide it set the value of the parameter to "True" or "true".
+
+
+<param
+name=
+
+implicitMultiplication
+
+value=
+
+"true"
+
+>
+
+
+By default implicit multiplication is set to off. To turn it on set the value of the parameter to "True" or "true".
+
+
+<param
+name=
+
+displayDecimalNumbers
+
+value=
+
+"true"
+
+>
+
+
+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.
+
+
+<param
+name=
+
+customToolbar
+
+value=
+
+"0 1 2 | 3 4 | 5 6 7 | 8"
+
+>
+
+
+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
+
+0 = Clear workspace
+1 = Load Expression from file
+2 = Save expression to file
+3 = Undo
+4 = Redo
+5 = Cut
+6 = Copy
+7 = Paste
+8 = Export
+| = Separator
+