The idea of this script it to allow the inlining of LaTeX style eqiations in your html. This allows one to easily add pretty math to ones web pages.
For example, one can write the Fourier transform inline,
by just writing
$\hat f(t) = \int_{-\infty}^\infty f(x)e^{-2\pi i x t}dt$ directly in ones HTML file. Also the LaTeX $$ form is supported, which produces an equation in its own paragraph, as 
The perl script can be found here: htmleq.gz It's free, so don't complain :) It's not licenced or anything! Do whatever you want with it, I don't really care (it only took me about 15 minutes to write).
Requirements: For this script to work:
Disclaimer: It's a pretty simple script, and it doesn't provide a lot of 'robustness'. I wrote it for myself, so your milage may vary.
Any suggestions/comments are welcome.
Here is an example of its usage. First we have an input file that is HTML, but contains inlined equations.
test.in
<html>
<header><title>Just a test!</title></header>
<body>
<p>Hello there, $X_n=2$, and therefore:
$$ \frac{X_1}{X_i} = 1 $$
<p>Thank you very much!
</body>
</html>
Then we can either invoke this by hand, or with a simple make file:
.SUFFIXES: .html .in TARGETS=test.html all : $(TARGETS) clean : rm -f $(TARGETS) .in.html: htmleq.pl $<
Which then produces the following output html:
<html> <header><title>Just a test!</title></header> <body> <p>Hello there,<img src="test.eq/eq0.png" /> and therefore: <p><img src="test.eq/eq1.png" /><p> <p>Thank you very much! </body> </html>
And also a subdirectory "./test.eq" containing eq0.png and eq1.png
That's it!