Mavscript allows the user to do calculations in a text document. Plain text and OpenOffice Writer files (odt,sxw) are supported. The calculation is done by the algebra system Yacas or by the Java interpreter BeanShell.
Mavscript runs on LINUX, Windows, Mac OS X and other platforms.
How it works
-----------
Mavscript reads the calculation commands in the template. These commands start with the control characters $m and end with one of the following control characters: $i, $o, $io und $n. Their meaning will be explained later. The commands are forwarded to the Computer-Algebra-System (Yacas). The algebra program returns an answer to Mavscript, i.e. the result of the calculation command. Mavscript now can insert this answer in the text, where the command was. When all calculations are done Mavscript saves the text document in a new file out.template. The template file remains unchanged.
Usage
-----
- Create a template (input) file: template.txt or template.odt
- Drag the template file with the mouse on the Mavscript-icon on the desktop.
- Open the output file (out.template.txt or out.template.odt) .
Mavscript can also be used from the command line (shell, terminal, DOS-window).