How is LaTeX implemented on this site?

  • Context: LaTeX 
  • Thread starter Thread starter DivGradCurl
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion revolves around implementing LaTeX on personal websites, with a focus on various methods and tools available for rendering mathematical expressions. Participants explore both server-side and client-side options, as well as the practicality of different approaches.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant inquires about methods to implement LaTeX on their website, expressing a preference against using latex2html and mentioning that they are working on a flash website.
  • Another participant suggests that the site likely uses a script that processes LaTeX code and converts it into PNG images.
  • A participant expresses concern about needing to learn PHP to implement the suggested methods.
  • Another alternative proposed is using desktop math typesetting programs like MathType to create images, although it requires registration after a trial period.
  • A participant recommends writing notes in TeX and uploading PDFs as a simpler solution, while providing a detailed explanation of the site's current implementation involving custom PHP scripts and image generation.
  • One participant agrees that uploading PDFs is a practical approach and indicates a willingness to learn more about PHP server-side scripting.

Areas of Agreement / Disagreement

Participants generally agree that using PDFs is a simpler method for sharing notes, but there are multiple competing views on the best way to implement LaTeX, with no consensus on a single approach.

Contextual Notes

Some participants express uncertainty about the necessity of learning PHP and the effectiveness of various tools, indicating that the discussion includes unresolved preferences and assumptions about the best implementation methods.

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
[itex]\pi[/itex]
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 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K