Subject: Exporting examples for use in other applications
From: Leo Butler
Date: Mon, 12 Nov 2012 19:56:33 +0000
Christian Stengg <christian.stengg at gmx.at> writes:
> Hello,
>
> I use Maxima for automatically generating exercises for my students. For
> some type of exercise, Maxima produces a list of examples, e.g. a list
> of equations that should be solved by the students. I'd like to epxort
> these equations automatically for use in other applications, e.g. for
> presentation in a webbrowser or for insertion as pictures in some
> document or for filing in a database. Is it possible to get this done by
> Maxima? If yes, what different options are there?
Hello Christian, Maxima has the tex command, which will produce a tex
string representing the maxima object. This can be heavily customized
via the texput command. If you want to see how this works, you can run
maxima inside a windowed emacs with the imaxima mode, which uses the tex
command to typeset output on the fly. See
https://sites.google.com/site/imaximaimath/
TeX may seem quaint, but mathjax lets you put raw tex inside
html. Mathjax essentially emulates tex inside javascript. See
http://www.mathjax.org/
Despite its age and many shortcomings, there is no realistic replacement
for tex when it comes to typesetting mathematics.
--
Concerning a database, what sort of scale do you have in mind? is this a
database for yourself? a few teachers? a few hundred? I do not have any
professional opinion, but my instinct is to say that your filesystem and
good organisation are likely your best first option. I'm sure others on
this list will have more intelligent things to say.
--
Leo Butler <l_butler at users.sourceforge.net>
SDF Public Access UNIX System - http://sdf.lonestar.org