mathml

Using mark of the web with MathML

試著忘記壹切 提交于 2019-12-11 18:28:11
问题 I have a program that is creating MathML documents on users computers that I would like them to be able to open with Internet Explorer. In order to do this you have to download the MathML player. This works fine, but every time the user tries to open a document they are shown a banner that says: To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer. Click here for options... I have done some

Word document to mathml?

≯℡__Kan透↙ 提交于 2019-12-11 17:32:40
问题 I have lots of word documents which contain math equations, some tables, and some expressions written in superscript and subscript. Is there a good tool besides MathType for converting my equations to mathml? 回答1: If the expressions are entered as mathzones in Word 2007 or later's in-build math formatter then Word includes a transformation to MathML built in, you can select (by an option in the ribbon) that if you cut and paste any math expression then they MathML version will be placed on

MathJax left align on render

爷,独闯天下 提交于 2019-12-11 12:52:41
问题 How do I left-align all MathJax equation "on-render" . When you set displayAlign: "left" , the equations would first be centered, then after 0.5s, they move to the left. So basically, it flashes to the left, which is visually unpleasant. Is there a way to make it appear on the left on render? This is the code I have now. <script type="text/x-mathjax-config"> MathJax.Hub.Config({ config: ["MMLorHTML.js"], jax: ["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS","output/NativeMML",

Parsing MathML Operators using ANTLR

空扰寡人 提交于 2019-12-11 12:46:27
问题 I'm trying to parse Presentation MathML and build an AST using ANTLR. I have most of the tags supported and I can build nodes for specific constructs. I'm having trouble with the operators. On this page; http://www.w3.org/TR/MathML3/appendixc.html There is a list of the operators, the form they appear in by default (prefix, infix or postifx) and a priority value, which gives the precedence of the operator. I could take each operator code and add it to my lexer and then write rules for unary,

Displaying MathML symbols inside a textarea

﹥>﹥吖頭↗ 提交于 2019-12-11 11:57:54
问题 I'm building what is basically a mathematic text editor in an HTML file. My goal is to allow the user to display numbers and MathML symbols in a textarea, but completely without the use of a physical keyboard. On the bottom of the page I have a mock keyboard made of buttons with numbers and arithmetic symbols. When the user clicks these buttons, the corresponding number or symbol will then appear inside the textarea. So far, I can get this to work with numbers, but not the MathML symbols. Is

Is there some equivalent in Java to Ruby's Nokogiri::XML::EntityDecl?

微笑、不失礼 提交于 2019-12-11 06:37:14
问题 I have an issue where I need to prepend a DTD containing ENTITYs bracketed in the definition to an existing XML document. For example, working from the specification for MathML in DAISY at http://www.daisy.org/projects/mathml/mathml-in-daisy-spec.html, say I am given this XML by an outside source: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE dtbook PUBLIC "-//NISO//DTD dtbook 2005-2//EN" "http://www.daisy.org/z3986/2005/dtbook-2005-2.dtd"> <dtbook xmlns="http://www.daisy.org/z3986/2005

Does LINQ to XML ignore includes from a DTD?

走远了吗. 提交于 2019-12-11 04:36:46
问题 I'm using the MathML DTD for parsing MathML using System.Xml.Linq. While the ordinary MathML stuff gets recognized fine, the MMLEXTRA include in the DTD gets ignored and I get errors. Here's the code I'm using: if (!string.IsNullOrWhiteSpace(mathML)) { try { const string preamble = "<!DOCTYPE mml:math PUBLIC \"-//W3C//DTD MathML 2.0//EN\"\n" + "\"http://www.w3.org/Math/DTD/mathml2/mathml2.dtd\" [\n" + "<!ENTITY % MATHML.prefixed \"INCLUDE\">\n" + "<!ENTITY % MATHML.prefix \"mml\"> \n" + "]>";

How to convert mathml to an image?

十年热恋 提交于 2019-12-11 03:48:40
问题 I need to convert mathml to image. I tried mathml-image service, but I unable to upgrade python as it needs python 3.4 . So, I dropped trying that way of conversion. I have knowledge in php, so Is there any php script to do this task? Or some other way of conversion also would be great enough. For example: Mathml <math display='block'><mrow><mrow><msub><mo>∫</mo><mrow><mi>D</mi></mrow></msub><mrow><mo>(</mo><mo>∇⋅</mo><mi>F</mi><mo>)</mo></mrow><mi>d</mi><mrow><mi>V</mi></mrow></mrow><mo>=<

Can we get MathML output from MathJax

拥有回忆 提交于 2019-12-09 13:34:57
问题 I was wondering if there are ways to convert MathJax output to MathML . I read through several articles that saying MathJax supports MathML . I can also see the option ' Show MathML ' when I right click the MathJax formulas. My question is, can I get the MathML output to the webpage from MathJax ? I am not familiar with MathJax and I am not sure how it works. Any resources or tutorial pages would have been nice! 回答1: @Peter, I think the OP may be asking how to get a MathML string from MathJax

MathML, Latex or similar for web-based WYSIWYG editor [closed]

瘦欲@ 提交于 2019-12-09 06:08:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I am looking for a web-based WYSIWYG (or WYSIWYM) editor like TinyMCE or WMD Editor (used to write this question) that supports users to write mathematical formulas. I have looked at LaTeX a little bit but it has a learning curve and I am not sure if support for MathML is extensive. Ideally I would also like to