问题标签 [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.
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 ?
nicedit - 无法使用 nicedit 设置 mathtype
我下载了带有mathtype js插件文件的nicedit,但我无法设置编辑器我得到window.opener为空错误第二件事我在任何js文件中都找不到com.wiris.jsEditor类
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)
reactjs - 如何从字符串中渲染reactjs中的数学类型标签?
所以,我正在尝试使用react-html-parser
. 它能够呈现普通的 html,但不能呈现数学类型的标签。
有没有一个插件可以渲染它们。
以下是我的包含这两个内容的字符串。
"<p>Math test<br />↵<math xmlns="http://www.w3.org/1998/Math/MathML"><msqrt><mn>25</mn></msqrt></math> <math xmlns="http://www.w3.org/1998/Math/MathML"><msup><mn>2</mn><mn>3</mn></msup></math> <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>∪</mo><mn>2</mn></math> </p>↵"
谢谢。
c# - 如何检测 docx 文件中重复的 wmf 文件
有一个docx文件,其中包含一些重复的mathtype方程,如果用Office将其保存为html文件,这些方程可以转换为png文件,重复的方程只转换为一个png文件。
现在我想使用 open xml sdk 2.5 检测重复的方程,目前我可以获得 wmf 的文件名(对应于这些方程,使用 ImagePart.Uri.OriginalString),但找不到检测相等性的方法。
我也尝试了这个方法,检查每个 ImageData 的 CheckSum,对于大多数方程,它都有效;但是对于像“(”和“)”这样的简单方程,校验和是相同的。
我还尝试比较两个 wmf 文件(对应于方程式)的流,但即使是两个完全相同的方程式也会显示出差异。
reactjs - 如何使用 ReactJS 在 CKEditor 5 中使用 MathType 插件?
我已经安装了三个包:
- @ckeditor/ckeditor5-react
- @ckeditor/ckeditor5-build-classic
- @wiris/mathtype-ckeditor5/src/plugin
我可以设置简单的 ckeditor5,但不知道如何在这个编辑器中使用 MathType 插件。
这是我的示例代码:
谁能解释我如何使用它?谢谢。
javascript - 如何将数字或字符转换为 MathML 格式?
示例示例,
对于那些给定的输入,我想获得相应的 mathml 表达式。我这样做是因为mathtype.setMathML(99)
不起作用,应该是mathtype.setMathML(<math xmlns="http://www.w3.org/1998/Math/MathML"><mn>99</mn></math>)
我正在使用mathtype_web。