Michel Mouly wrote:
However, when I looked to the details, I found (to my taste) too many limitations with the followed approach. Then I wrote an extension to outputpage.php to replace the call to texvc by calls to pdflatex then imagemagick convert. This has reached the stage of minimal functionality (translation and caching). This allows me to have full maths, without having to remember what is supported or not, or modified, compared to LaTeX. In addition, we intend to use it for small music scores (using Mu- sixTeX or possibly PMX), and I have in mind some other uses of LaTeX.
Is your version safe against DoS attacks with long scripts? Is it safe against running TeX commands that access files? OTOH, does it allow inclusion of additional TeX packages (like Xypic) with a simple modification to the code opening up the package? If so, then some of us (me and AxelBoldt, I guess) might well prefer your code to the current texvc -- at least when producing PNG output instead of HTML.
Please understand that I'm not trying to (re)open a debate. I've read the "math markup" page on meta.wikipedia (and music markup as well), and I'm aware of (some of) the drawbacks of the approach I followed. I mentionned what I did just in conformance with GPL: if there is any interest in this small piece of code (which I doubt, it's rather trivial!), just say it.
I'd like to see the diff to see just what you took away from texvc.
-- Toby