It is not fully documented because it was never fully finished. The
features mentioned do all work. Sorry about that.
The first thing to do is look at the page
http://svgkit.sourceforge.net/SVGLaTeX.html
and install the software under "Server-Side Software Requirements"
Then to test the server-side software look at "Basic Procedure". Start
by making a new TeX file called eqn.tex with the example content and run
the three commands.
Once this is working, you need to get the apache web server to run
python CGI scripts -- basically having a cgi-bin directory with the
right execution permissions on all the files. I don't remember how to
do this, but I'm sure the web knows.
Download the whole source code because you'll need the cgi-bin,
Mochikit, SVGKit, and test directories:
http://svgkit.sourceforge.net/download.html
Then put the latex2svg.py in your web server's cgi-bin directory, make
sure it is executable, and change all of the program locations to match
your server, like the variables bin_dir and latex_program. Also
results_dir is where the .tex, .dvi, and .svg files will end up being
created. And results_url is the web address location relative to the
cgi-bin directory where the browser can grab the resulting .svg from.
You can get latex2svg.py from the big SVGKit.zip or from
http://svgkit.svn.sourceforge.net/viewvc/svgkit/trunk/cgi-bin/latex2svg.py?revision=406
There is some code to see if the .svg file has already been created
based on the md5 checksum of the .tex source, but I seem to have
bypassed that (maybe for testing, I don't remember) in the line:
if True or not os.path.isfile(results_dir+svg_name):
Maybe if you remove "True or" the caching will work.
You also have to put SVGKit.js and SVGLaTeX.js in some directory that
apache serves web pages out of, and you may have to change the
SVGKit._cgi_dir variable in SVGKit.js to match your cgi-bin directory.
http://svgkit.svn.sourceforge.net/viewvc/svgkit/trunk/SVGKit/SVGLaTeX.js?revision=406
http://svgkit.svn.sourceforge.net/viewvc/svgkit/trunk/SVGKit/SVGKit.js?revision=406
In the tests directory, make sure latex_tests.html points properly to
the JavaScript files. Maybe it's best to make sure tests/svg_tests.html
is working first because the LaTeX stuff requires so many annoying paths
to be correct.
Let me know if this helped and if you get things to work. Also, if you
make any useful changes to any source, I'd be happy to incorporate them.