Calculations in a text document

Edit Package Mavscript

With Mavscript you can do calculations in a text document. Mavscript
processes template files containing text + algebraic expressions (or
java code). Text files, OpenDocument Text odt, LaTeX tex, hypertext
html and other text based formats (i.e. svg) are supported. The
text file may be packed in a zip-archive.

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 (print input), §o (print output),
§io (print both input and output) and $n (do not print anything). The
commands are forwarded to a Computer-Algebra-System. The algebra pro-
gram 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.

The standard engine is the built-in computer-algebra-system Yacas. The
built-in java-interpreter BeanShell or Jasymca may be used instead. The
last option is to connect to a port (on localhost or a remote server).

Refresh
Refresh
Source Files
Filename Size Changed
mavscript.spec 0000006248 6.1 KB
mavscript202.zip 0005460933 5.21 MB
Latest Revision
Adrian Vontobel's avatar Adrian Vontobel (qwert2003) committed (revision 22)
Comments 0
openSUSE Build Service is sponsored by