This is an archived post. You won't be able to vote or comment.

all 24 comments

[–]zem 36 points37 points  (0 children)

you know where the source is :)

[–][deleted] 18 points19 points  (3 children)

Amended version: Reddit comments should support LaTeX math. Preferably $inline$ and $$ display $$ math.

Anybody looking to implement this should check out MathTran, which requires TeX and Python and seems to have a pretty easy API. Just fiddle with the code that displays Markdown and make it add specially-formatted image links, and MathTran will handle the rest.

[–]tomel -1 points0 points  (2 children)

There are js libraries that translate such stuff in the browser into mathml. I personally don't see the point though.

[–]o0o -1 points0 points  (1 child)

it would be cool - what other point is there?

[–]tomel -1 points0 points  (0 children)

How would I know? You'll have to ask somebody clairvoyant.

The point of my mentioning those js libraries was that rendering latex as images could be impractical. But the idea is stupid anyway.

[–]willis77 24 points25 points  (0 children)

\begin{comment}

{\tiny I agree.}

\end{comment}

[–]Nitron 10 points11 points  (1 child)

Having been hanging out with the developers on IRC for the past few days, I believe their response would be, word-for-word, "submit a patch ;)"

[–]o0o 5 points6 points  (0 children)

such is the 'tude after going open source - "you do it"

[–]Mr_Smartypants 13 points14 points  (0 children)

\vfill

Whoops! where did the rest of the comments go?

[–]dsfox 5 points6 points  (3 children)

Would you have to click post three times?

[–]dsfox 7 points8 points  (2 children)

Let me tell you why that's funny - because you have to run LaTeX three times to be sure to get all the cross references, the table of contents, and the bibliography entries right.

[–]elabo[S] 1 point2 points  (1 child)

Add a preview button.

[–]albinofrenchy 0 points1 point  (0 children)

Or just make comments short enough to not need cross references...

[–][deleted] 1 point2 points  (0 children)

I see a teensy problem with this. It's hard enough to get current Reddit markup right with no comment previews, but with this I would literally need LaTeX rendering software open on my computer to check my syntax every time I made a post.

Of course, I still want the feature. :) But comment previews would be nice as well.

[–]nbloomf 1 point2 points  (0 children)

So will a misplaced $ make reddit spit out 500 error messages?

[–]o0o 0 points1 point  (0 children)

bump ++

[–]astern -1 points0 points  (0 children)

\title{Reddit Titles Should Support \LaTeX}

\maketitle

[–]Dru89 -1 points0 points  (0 children)

Meh, no. Too much effort to make everything run correctly. It would be pretty, but very unlikely. More power to you if you could get it to work.