Open Source download the Java source code...
MathToWeb is open source software licensed under the GNU General Public Licence (version 3 - or, at your option, any later version) as published by the Free Software Foundation (see www.gnu.org), and you may redistribute and/or modify it under these terms.
Download the Java source code for MathToWeb
Choose whatever compression format you are comfortable with (.tar.gz or .zip).
* Latest release: ver. 4.0.0
Released Aug 14, 2013 | revised Aug 24, 2013 | revised Sept 06, 2013 |
final revisions Jan 16, 2014
Other small (but important) alterations made after the 'final revisions':
revised Mar 14, 2014
revised May 02, 2014
revised May 05, 2014
revised July 21, 2014
revised September 05, 2014 <<< Latest revisions
(ver. 4.0.0, 734.9 KB )
(ver. 4.0.0, 756.8 KB )
The compressed source file (download it above) contains two directories, Source and Class (see the
figure below), that are important with regard to compilation. After decompressing the file, you should see a
directory structure that resembles the following:
In order to compile the source code, some sort of jdk (java development kit) will need to be installed on your system.
For example, if you run Ubuntu, openjdk-7-jdk (the OpenJDK Development Kit), available from the Ubuntu Software Centre, will work perfectly.
javac -d ./../Class ./mathtoweb/engine/*.java
java mathtoweb.engine.MathToWeb -about
jar -cmf ./mathtoweb/engine/mathtoweb_manifest.txt ./mathtoweb/engine/mathtoweb.jar mathtoweb/engine/*.*
java -jar mathtoweb.jar -about
I have included a shell script in the Extras/ directory
called compileMW_CL.sh. It can be used (at the command-line) to compile and sign the MathToWeb source
code, all by way of a single command: > ./compileMW_CL.sh
(it is assumed compileMW_CL.sh has been copied to the Source/ directory, and that the current directory is also Source/). This file will have to be modified slightly to suit the reality of the directory structure on your computer.
(If you are on Windows, you will have to convert this script to a batch file.)