I looked at the revision history; seems like most of my qualms have been
addressed; specifically, using verbatim instead of | ... | and \kappa.
I'll take a look at the most recent CVS build.
However, it seems that tex doesn't handle strings properly; tex("foo
bar"); returns $$foo bar$$; I'd suggest wrapping them in \textrm or
\texttt.
I'm also using texputs to render theta as \theta and l as \ell
(since l is essentially a straight line in the cmbright font), but
that's just my personal preference.
I have a suggestion for a "server-safe" mode that would make my life
easier: the ability to "lock" variables such that they can't be redefined
by the user. For example, my interface requires display2d to be nil so the
output is properly captured; it would be great if I could prevent people from
setting it to true. Aside from that, it'd be great to disable file I/O
functions, lisp, and interactive integration. I'm not really familiar with
the properties mechanism, but one idea might the ability to set
"readonly" or "noexec" properties for "dangerous" variables/functions.
-matt