Is there some open source project I can refer to?
I'm using PHP.
Anyone knows?
Is there some open source project I can refer to?
I'm using PHP.
Anyone knows?
I've tried about half a dozen of the available solutions. The best I've seen is QuickLaTeX which has a WordPress plugin which could easily be adapted to other platforms. It has better vertical alignment than the other solutions. There is a list of most of the available solutions at http://sixthform.info/steve/wordpress/?p=59
Sure there is one good service or project avaiable. Its a latext implementation written in pure php have a look ;-)
The code is very clean and logical
Download the Wikipedia engine and analyze how it renders formulas.
That's a general "how do I implement..." solution: remember where you might have met the feature you're looking for, then download the sources and use them/their ideas.
If you're looking for a pure PHP script that renders TeX -- you'll fail: no one dares to implement a script of that complexity. Even if you find one, it won't support all the nice packages provided by the TeX community!
All solutions use command-line TeX builders. NEVER invent bicycles until you're sure your bicycle has a chance of becoming the best ;)
There's a service that was implemented with mathtex:
http://www.forkosh.dreamhost.com/mathtex.cgi?\sum_i^N%20\lim_{x%20\rightarrow%20k}x