First I tried to ask this question on stackoverflow but it looks like that it's TeX specific.
I'm having a TeX file on server, and need to display it in web page. The first thing I was thinking about was MathJax javascript TeX renderer (it renders TeX inside browser). But it does not support stuff like renewcommand or \begin{theorem}...\end{theorem}. So it looks like everything should be compiled on server side.
And here are my questions:
- Compiling TeX to MathML will be the easiest way for me... Still I can't find TeX to MathML converter? Can you advise me an adequate TeX to MathML converter?
- Does MathML covers common part of tex stuff?
- Is it possible to change automaticaly (e.g. with some utility) stuff like
\begin{theorem}...\end{theorem}to something that can be compiled without any packages (so that I can path TeX to MathJAX interpriter).