I wish an easy way to communicate mathematical equations with gmail.
我希望用gmail简单地传达数学方程式。
There's a javascript script called AsciiMath, which should translate Tex-like equations into standard mathML.
有一个名为AsciiMath的javascript脚本,它应该将类似Tex的方程式转换为标准的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.
我认为将这个脚本与GM一起使用会很好。我认为在发送电子邮件之前,此脚本会将您电子邮件中所有类似TeX的公式转换为MathML。因此,使用FF(或安装了MathPlayer的IE)的阅读器将能够轻松读取这些方程式。
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
.
理想情况下,我希望以某种方式将原始类似TeX的方程式保留在纯文本消息中,以便纯文本电子邮件客户端(例如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.
显然,这里最薄弱的环节是客户端软件,它很可能不支持MathML。如果我的通讯员使用Firefox和某种类型的网络邮件(这是非常合理的) - 它应该工作。
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.)?
您是否看到此方法存在任何技术问题(gmail过滤MathML,客户端无法正确解析它等)?
Any smarter ideas?
有更聪明的想法吗?
4 个解决方案
#1
GmailTeX does exactly what you want. It is pure javascript so it works in Firefox, Chrome, Opera.
GmailTeX完全符合您的要求。它是纯粹的JavaScript,因此它适用于Firefox,Chrome,Opera。
#2
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.
如何使用texify并将其转换为html图像或指向该图像的链接?这将节省一些解析和转换tex数学代码的工作,即使使用简单的邮件客户端也可以正常工作。
#3
Depending on whom you communicate with the easiest solution is sometimes to email raw tex.
根据您与谁沟通,最简单的解决方案有时会通过电子邮件发送原始tex。
#4
As far as I can figure out, GmailTeX (suggested in the top answer) does not work in Firefox anymore.
据我所知,GmailTeX(在顶部答案中建议)不再适用于Firefox。
I can suggest the browser plugin MathQuill for Gmail (also exists for Chrome), which allows to edit formulas within the Gmail compose window, and converts them into pictures. (Like GmailTeX in concept, but with an interactive editor.)
我可以推荐用于Gmail的浏览器插件MathQuill(也适用于Chrome),它允许在Gmail撰写窗口中编辑公式,并将它们转换为图片。 (与概念中的GmailTeX一样,但使用交互式编辑器。)
Disclaimer: I am the author of the plugin.
免责声明:我是该插件的作者。
#1
GmailTeX does exactly what you want. It is pure javascript so it works in Firefox, Chrome, Opera.
GmailTeX完全符合您的要求。它是纯粹的JavaScript,因此它适用于Firefox,Chrome,Opera。
#2
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.
如何使用texify并将其转换为html图像或指向该图像的链接?这将节省一些解析和转换tex数学代码的工作,即使使用简单的邮件客户端也可以正常工作。
#3
Depending on whom you communicate with the easiest solution is sometimes to email raw tex.
根据您与谁沟通,最简单的解决方案有时会通过电子邮件发送原始tex。
#4
As far as I can figure out, GmailTeX (suggested in the top answer) does not work in Firefox anymore.
据我所知,GmailTeX(在顶部答案中建议)不再适用于Firefox。
I can suggest the browser plugin MathQuill for Gmail (also exists for Chrome), which allows to edit formulas within the Gmail compose window, and converts them into pictures. (Like GmailTeX in concept, but with an interactive editor.)
我可以推荐用于Gmail的浏览器插件MathQuill(也适用于Chrome),它允许在Gmail撰写窗口中编辑公式,并将它们转换为图片。 (与概念中的GmailTeX一样,但使用交互式编辑器。)
Disclaimer: I am the author of the plugin.
免责声明:我是该插件的作者。