Hi,
I'm aware of MathJax, JsMath, MathQuill, MathDox.
However, I'm wondering if anyone have implemented a pure clojure
math renderer (not just a binding, but with the actual rendering in
Clojure).
What I find frustrating about existing solutions is their
im-pureness. The basic idea is:
* my cljs code creates a div with some math inside of $\frac{2}{3}$
* I queue some javascript call, which then takes a dom node as
input, and through lots of icky stateful destructive updates, replaces
the dom element with a bunch of HTML/CSS that represents some math
What I really want, would be a pure Javascript function, which does
something like:
(defn magic-func [sexp-representing-math]
... does some magic ...
.. returns a svg-node-tree which renders the math ...)
I've spent a few hours of my life searching for this. I have not
found anything like it.
Does anyone know of a piece of software which does something similar?
Thanks!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.