admin管理员组文章数量:1347167
I wish an easy way to municate 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?
I wish an easy way to municate 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?
Share Improve this question asked May 17, 2009 at 20:54 Elazar LeibovichElazar Leibovich 33.7k36 gold badges127 silver badges175 bronze badges4 Answers
Reset to default 6GmailTeX does exactly what you want. It is pure javascript so it works in Firefox, Chrome, Opera.
What about using texify and converting it just to a html image or a link to that image? This would save some work with parsing and converting the tex math code and wold work fine even with simple mail clients.
As far as I can figure out, GmailTeX (suggested in the top answer) does not work in Firefox anymore.
I can suggest the browser plugin MathQuill for Gmail (also exists for Chrome), which allows to edit formulas within the Gmail pose window, and converts them into pictures. (Like GmailTeX in concept, but with an interactive editor.)
Disclaimer: I am the author of the plugin.
Depending on whom you municate with the easiest solution is sometimes to email raw tex.
本文标签: javascriptGreasemonkey script for inserting math in gmailStack Overflow
版权声明:本文标题:javascript - Greasemonkey script for inserting math in gmail - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743833060a2546882.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论