LaTeX How is LaTeX implemented on this site?

  • Thread starter Thread starter DivGradCurl
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The discussion revolves around implementing LaTeX on a personal website intended for sharing study notes. The original poster seeks alternatives to latex2html and expresses a preference for a flash website. Suggestions include using a script that converts LaTeX code into PNG images, which may require learning PHP for server-side scripting. Another option mentioned is utilizing desktop math typesetting programs like MathType, though it requires registration after a trial period. A simpler solution proposed is to write notes in TeX and upload PDFs directly to the site. The consensus leans towards using PDFs for ease, while some participants emphasize the potential of custom PHP solutions for dynamic LaTeX rendering.
DivGradCurl
Messages
364
Reaction score
0
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. :smile:
 
Last edited:
Physics news on Phys.org
\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:
Thanks for your input. Well, it sounds like I got to learn PHP to do all of this... right?
 
Last edited:
thiago_j said:
Thanks for your input. Well, it sounds like I got to learn PHP to do all of this... right?

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. :smile:
 
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
 
Yes, I agree with you that it's just easier to put up pdf's; that's what I'm going to do for the time being. Anyhow, I'll try to learn more about PHP server-side scripting. Thank you guys for your advice. :smile:
 

Similar threads

Replies
4
Views
2K
Replies
8
Views
2K
Replies
1
Views
3K
Replies
5
Views
3K
Replies
2
Views
2K
Replies
10
Views
4K
Replies
8
Views
3K
Replies
3
Views
2K
Back
Top