将数学公式从 Word DocX 复制到 CkEditor

Copy a math formula from Word DocX to CkEditor

基本上我必须从 CKEditor 的 docx 文档中复制许多数学公式。 我尝试了很多方法,但找不到解决方案。

使用 Word 2013,我可以将公式复制为线性文本,得到这样的结果

z_(i,j)=100-((x_(i,j)-µ_j ))/s_j 10

从此开始math formula

在 CKEditor 中,我使用 mathjax 插件插入 laTeX 公式。

我该怎么做??? 谢谢!

来自他们网站上的 mathjax 文档:

MathJax allows you to include mathematics in your web pages, either using LaTeX, MathML, or AsciiMath notation, and the mathematics will be processed using javascript to produce HTML, SVG or MathML equations for viewing in any modern browser.

您提供的数学公式格式为 AsciiMath。您可能应该阅读有关它的文档:

http://docs.mathjax.org/en/latest/asciimath.html

然而,根据 ckeditor 网站的插件 (http://ckeditor.com/addon/mathjax),它只说它支持 TeX 公式,没有提到 AsciiMath,所以你可能不得不实际修改插件或只是转换你的方程式到 TeX 格式,这是一个非常简单的语法。

语法可以在这里找到: https://en.wikibooks.org/wiki/LaTeX/Mathematics