问题标签 [mathtype]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
1520 浏览

java - 读取 MathType 对象,将 MathType 对象转换为图像

我有一个 docx 文件,其中包含由 mattype 创建的数学公式。有没有办法使用 java、poi 读取其内容?或者将所有由 mathtype 创建的公式转换为图像?

下面的示例文档: 在此处输入图像描述

0 投票
2 回答
1171 浏览

vba - 适用于 VBA 的 MathType 7 SDK

我正在尝试为 VBA 找到 MathType 7 SDK。我发现有一个 MathType SDK,但它不再支持 MathType 7(如http://docs.wiris.com/en/mathtype/mathtype_desktop/mathtype-sdk中所述)。是否有 MathType 7 SDK 可用于VBA ?

0 投票
1 回答
46 浏览

svg - 公式 svg 文件因浏览器而异

我有一个 svg 文件它来自 word 文件 mathtype。
我使用它显示在浏览器上。
然而,在 Internet Explorer 中,它与原始文件显示得相当好,但在其他浏览器(chrome、firefox)中,它与原始文件不匹配。大括号中的错误。与下图相同

- 使用 chrome 浏览器- 使用 Internet Explorer 浏览器,这是内容文件 svg
在此处输入图像描述


在此处输入图像描述


谁有这方面的经验请帮帮我!

0 投票
1 回答
502 浏览

markdown - 如何从从 OMML 转换为 MathType 的方程中删除菱形问号?

0 投票
1 回答
91 浏览

nicedit - 无法使用 nicedit 设置 mathtype

我下载了带有mathtype js插件文件的nicedit,但我无法设置编辑器我得到window.opener为空错误第二件事我在任何js文件中都找不到com.wiris.jsEditor类

0 投票
0 回答
185 浏览

math - 我们如何解决moodle filter wiris错误?

我得到以下异常:

未捕获的 DOMException:无法在“范围”上执行“选择节点”:给定节点没有父节点。

在 ntselectNode (/theme/yui_combo.php?3.15.0/datatype-xml-parse/datatype-xml-parse-min.js&3.15.0/io-xdr/io-xdr-min.js&3.15.0/io-form/ io-form-min.js&3.15.0/io-upload-iframe/io-upload-iframe-min.js&3.15.0/queue-promote/queue-promote-min.js&3.15.0/io-queue/io-queue- min.js&3.15.0/event-simulate/event-simulate-min.js&m/-1/editor_atto/rangy/rangy-min.js&3.15.0/handlebars-base/handlebars-base-min.js&3.15.0/handlebars-compiler /handlebars-compiler-min.js&3.15.0/timers/timers-min.js&m/-1/editor_atto/editor/editor-min.js&m/-1/editor_atto/plugin/plugin-min.js&m/-1/atto_title/ button/button-min.js&m/-1/atto_bold/button/button-min.js&m/-1/atto_italic/button/button-min.js&m/-1/atto_unorderedlist/button/button-min.js&m/-1/ atto_orderedlist/button/button-min.js&m/-1/atto_link/button/button-min.js&m/-1/atto_image/button/button-min.js&m/-1/atto_media/button/button-min.js&m/-1/atto_managefiles/button/button- min.js&m/-1/atto_underline/button/button-min.js&m/-1/atto_strike/button/button-min.js:62:2509)

0 投票
0 回答
237 浏览

reactjs - 如何从字符串中渲染reactjs中的数学类型标签?

所以,我正在尝试使用react-html-parser. 它能够呈现普通的 html,但不能呈现数学类型的标签。

有没有一个插件可以渲染它们。

以下是我的包含这两个内容的字符串。

"<p>Math test<br />↵&lt;math xmlns="http://www.w3.org/1998/Math/MathML"><msqrt><mn>25</mn></msqrt></math>&nbsp;<math xmlns="http://www.w3.org/1998/Math/MathML"><msup><mn>2</mn><mn>3</mn></msup></math>&nbsp;&nbsp;<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>&#8746;</mo><mn>2</mn></math>&nbsp;</p>↵"

谢谢。

0 投票
0 回答
23 浏览

c# - 如何检测 docx 文件中重复的 wmf 文件

有一个docx文件,其中包含一些重复的mathtype方程,如果用Office将其保存为html文件,这些方程可以转换为png文件,重复的方程只转换为一个png文件。

现在我想使用 open xml sdk 2.5 检测重复的方程,目前我可以获得 wmf 的文件名(对应于这些方程,使用 ImagePart.Uri.OriginalString),但找不到检测相等性的方法。

我也尝试了这个方法,检查每个 ImageData 的 CheckSum,对于大多数方程,它都有效;但是对于像“(”和“)”这样的简单方程,校验和是相同的。

我还尝试比较两个 wmf 文件(对应于方程式)的流,但即使是两个完全相同的方程式也会显示出差异。

0 投票
3 回答
2548 浏览

reactjs - 如何使用 ReactJS 在 CKEditor 5 中使用 MathType 插件?

我已经安装了三个包:

  1. @ckeditor/ckeditor5-react
  2. @ckeditor/ckeditor5-build-classic
  3. @wiris/mathtype-ckeditor5/src/plugin

我可以设置简单的 ckeditor5,但不知道如何在这个编辑器中使用 MathType 插件。

这是我的示例代码:

谁能解释我如何使用它?谢谢。

0 投票
1 回答
72 浏览

javascript - 如何将数字或字符转换为 MathML 格式?

示例示例,

对于那些给定的输入,我想获得相应的 mathml 表达式。我这样做是因为mathtype.setMathML(99)不起作用,应该是mathtype.setMathML(<math xmlns="http://www.w3.org/1998/Math/MathML"><mn>99</mn></math>) 我正在使用mathtype_web