Questions tagged [mathml]

An application of XML for describing mathematical notation and mathematical content

Mathematical Markup Language (MathML) is an application of XML for describing mathematical notations and capturing both its structure and content.

MathML deals not only with the presentation but also the meaning of formula components. Because the meaning of the equation is preserved separate from the presentation, how the content is communicated can be left up to the user.

  • "Presentation MathML" focuses on the display of an equation.
  • "Content MathML" focuses on the semantic meaning of the expression.

Inline MathML is also supported in HTML5 files in the upcoming versions of WebKit (Safari, Chrome), Gecko (Firefox) and Presto (Opera).

Useful references:

457 questions
9
votes
3 answers

What can be rendered in foreignObject element when SVG is embedded in HTML5?

HTML5 supports SVG via the svg element. Other languages can be embedded within SVG using the foreignObject element. HTML can be rendered in such, as can MathML. What else can be rendered with today's browsers? (Simple examples…
james.garriss
  • 12,959
  • 7
  • 83
  • 96
9
votes
2 answers

Copy equations from word in Mathml format

I have created a large number of mathematical equations in Word 2013 using the in-built equation editor. I need to enter these equations into a browser based editor(CKEditor with fmath plugin) which supports mathml. Is there a way to copy these…
Mancunia89
  • 295
  • 1
  • 6
  • 16
8
votes
5 answers

Looking for a self-contained equation rendering library

Is there such a thing as a small, self-contained library that will render an equation written in a text-based format (e.g. LaTeX or MathML) to an image (either vector or raster)? It would be preferable if it's in Python or Python-friendly. (One…
dF.
  • 74,139
  • 30
  • 130
  • 136
8
votes
2 answers

How to evaluate MathML expressions?

Given some MathML content: c a b and std::map cal; cal["a"] = 1.; cal["b"] = 2.; cal["c"] = 0; // does not matter what c is I…
sep
  • 3,409
  • 4
  • 29
  • 32
8
votes
3 answers

How to line break in MathML?

I'm working on a website to solve some kind of exercises that has a programming function appearance, so I need to write multiple lines, but I dont know how to make it, as it displays everything in a single like, maybe some CSS would make it? Any…
Dane411
  • 823
  • 1
  • 13
  • 27
8
votes
1 answer

Content MathML vs. OpenMath for model exchange

In my research group, we have different people doing algebraic modelling in different symbolic tools such as Symbolic Toolbox in Matlab and Sympy in Python. These models are then typically exported to C-code and copy-pasted-adapted into our own…
Joel
  • 1,295
  • 15
  • 30
7
votes
1 answer

Is there an official statement of when MathML will be available on the iPhone/iPad?

Everything I have found online shows rumours that WebKit development of MathML support is coming soon. Does anyone know where I might find an official statement of this work, and when (from an official source) this will happen? Thank you.
Jarvis
  • 681
  • 8
  • 33
7
votes
4 answers

Greasemonkey script for inserting math in gmail

I wish an easy way to communicate mathematical equations with gmail. There's a javascript script called AsciiMath, which should translate Tex-like equations into standard mathML. I thought that it would be nice to use this script with GM. I thought…
Elazar Leibovich
  • 32,750
  • 33
  • 122
  • 169
7
votes
3 answers

Which browsers do support MathML?

We are going to start working on TeX to MathML translator soon. So, I am wondering which browsers (and starting from what version) do officially support MathML? Thanks
ezpresso
  • 7,896
  • 13
  • 62
  • 94
7
votes
7 answers

how to add dynamic math to webpage

I'm a math teacher wanting to insert some dynamic math into a website. What I'd like to achieve is to have a button that a student can press to randomly vary a question so that it's the same type of question, but with different numbers. For…
Bill
  • 161
  • 1
  • 2
  • 5
6
votes
4 answers

Convert MathML to MathType in MS Word

I am writing a converter from XML&MathML to MS Word document. I'm using MFC and Word automation, so there's no problem in writing text like this: _Application app; COleVariant vtOpt(DISP_E_PARAMNOTFOUND, VT_ERROR), …
stanch
  • 315
  • 1
  • 3
  • 13
6
votes
1 answer

Is using the tag to write chemical equations semantically correct?

I have been writing chemical equations in HTML files using the element. For example, to display MnSO4, I would type: M n S O 4
6
votes
5 answers

MathML, Latex or similar for web-based WYSIWYG editor

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…
aleemb
  • 31,265
  • 19
  • 98
  • 114
6
votes
1 answer

Alternative for python-mathdom

I'd like to convert a MathML expression to an equation string in python, for which the MathDOM module should be good for. An example would be: A
Michael Schubert
  • 2,726
  • 4
  • 27
  • 49
6
votes
1 answer

Tradeoff between LaTex, MathML, and XHTMLMathML in an iOS app?

I plan to use Xcode to make an app for the iPhone that displays math equations that high school and college students often use. I do all my math with Mathematica, and it allows me to save such equations in three relevant formats. (1) LaTex (.tex); …
Ted Ersek
  • 193
  • 2
  • 5
1
2
3
30 31