Maxima in Racket



Hi,

Richard Fateman writes:

> I'm not sure what the objective here is; just doing a REPL
> looks like a very weak alternative to wxmaxima;
> to the extent that Racket and Common Lisp coincide, one
> might as well write in Lisp.  But people like their own
> variations on programming languages, I suppose.

The REPL was just to show that I got the communication
back and forth from Racket to Maxima working. The
intention is not to make yet another Maxima interface.

My vague plans are to make some educational software
in Racket that needs a CAS backend to determine whether
students have reduced algebraic expressions correctly.

> I would like to comment on breqn.  Unless it has been
> considerably revised and improved from the last time I
> tried it,  it is unlikely to be
> a satisfactory solution to the problem of breaking equations
> into multiple lines in general.

You confirm my fears.

> TeX ordinarily doesn't encode enough information to
> do as good a job as can be done by Maxima. Sometimes it
> doesn't matter ...if the structure is simple enough, the
> demo works.

> I don't understand what your question is regarding page sizes.
> Sorry.

I was a little brief. The library that converts strings with tex
into bitmaps first save the tex into a file, call latex, and then dvi2png
to get a bitmap. My thinking was that could get a bitmap with a
larger width if I told LaTeX my page size was larger than the
standard a4. But breqn didn't pick up on the larger width.

--
Jens Axel S?gaard