# How is LaTeX implemented on this site?

1. Jan 8, 2005

I'm designing my website, where I plan to put up notes of whatever I'm studying. Since it would be really nice to place ideas as I do here at physicsforums.com, my question is: how do I implement LaTeX in my site?

I've read about latex2html, but it is not really the approach I intend to follow. Hopefully, there are other ways. I'm working on a flash website.

Any suggestion is highly appreciated.

Last edited: Jan 8, 2005
2. Jan 14, 2005

### Dr-NiKoN

$\pi$
Look at the source for this post

It's probably just a script that's called from the post-parser that runs the latex "code" and saves it as a png file.

Last edited: Jan 14, 2005
3. Jan 14, 2005

Thanks for your input. Well, it sounds like I gotta learn PHP to do all of this... right?

Last edited: Jan 14, 2005
4. Jan 14, 2005

### z-component

An alternative to using server-side scripting is using a desktop math typesetting program like MathType to create images. I believe you have to register that particular program after 30 days, but I am sure there are other programs out there that are free.

5. Jan 14, 2005

### chroot

Staff Emeritus
You ought to just write your notes in TeX and put pdfs on your site. That'd be the easiest route.

Yes, this site uses custom-written server-side PHP to pass stuff inside [ tex ] tags to latex, then to dvi2ps, then to a modified pstoimg. It spits out a png file, which is then dropped into a folder for storage.

- Warren

6. Jan 14, 2005