Greasemonkey script for inserting math in gmail

Posted by Elazar Leibovich on Stack Overflow See other posts from Stack Overflow or by Elazar Leibovich
Published on 2009-05-17T20:54:42Z Indexed on 2010/06/14 2:02 UTC
Read the original article Hit count: 387

Filed under:
|
|
|
|

I wish an easy way to communicate mathematical equations with gmail.

There's a javascript script called AsciiMath, which should translate Tex-like equations into standard mathML.

I thought that it would be nice to use this script with GM. I thought that before sending the email, this script would convert all the TeX-like equations in your email to MathML. Thus the reader which is using FF (or IE with MathPlayer installed) would be able to easily read those equations.

Ideally, I wish to somehow keep the original TeX-like equations in a plain-text message, so that it would be readable by plain text email clients, such as mutt.

Obviously the weakest link here is the client software, which most likely doesn't support MathML. Still if my correspondent is using Firefox and some kind of webmail (which is pretty reasonable) - it should work.

My question is, is it possible? Did anyone do that?

Do you see any technical problems with this approach (gmail filtering the MathML, client not parsing it correctly etc.)?

Any smarter ideas?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about email