Am 03.11.2014 um 17:26 schrieb Ondřej Čertík:
Do you know how to make mathjax pre-generate just html + css, so that
we can put the generated html+css into our docs? I am not sure that it
allows that.

I have no idea, my knowledge of Mathjax is limited to a quick skim over their website.
Pregeneration is certainly not the primary purpose of Mathjax.

The Mathjax-generated HTML doesn't look very nice though, lots of absolute sizing. I guess the JS reacts to size changes and adjusts all the absolute sizings on the fly.

> There is another project, called KaTeX:

http://khan.github.io/KaTeX/

Which allows that, but it doesn't yet parse all the math, but they are
quickly fixing all the issues, e.g. see this one I reported:

https://github.com/Khan/KaTeX/issues/74

So maybe we could use it.

That one looks nice.
It also isn't shy to compare itself with Mathjax, so the Katex people at least know the playing field, which is good. And the ability to render server-side seems to be a development goal, so that's good (as opposed to Mathjax where I don't see such a statement - I might have missed it though). I have no idea what kind of setup would be required server-side rendering though, so I can't really judge it.

The one question that's on my mind is: How much of the SymPy pages can it render, and how quickly are these going to be fixed?

So, first impressions look good, but somebody with real JS knowledge should double-check that. And somebody with real knowledge about how the SymPy documentation is generated should check what's needed to integrate it, and see whether it's really a breeze or not.

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/5457B596.1080407%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to