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
3
votes
0 answers

MathJAX first load within Angular app

I read about something similar in another post but I didn't understand how to solve this problem. I am using MathJAX in an Angular app, but the equation is not rendered properly the first time the page is loaded. I am loading the library:
Mirko G.
  • 107
  • 1
  • 11
3
votes
1 answer

How do I change LaTeX to MathML using MathJax in Node.js?

I'm trying to render math equations from user input server side using MathJax in Node.js. I'm using a separate library (mathjs) to turn the input into LaTeX, but after spending an hour looking at the MathJax docs I'm no closer to turning the LaTeX…
Thomas Foster
  • 1,303
  • 1
  • 10
  • 23
3
votes
2 answers

Python Sympy MathML: mathml vs print_mathml

What am I not understanding? The following code works fine: from sympy.printing.mathml import print_mathml s = "x**2 + 8*x + 16" print_mathml(s) But this generates an error: from sympy.printing.mathml import mathml s = "x**2 + 8*x + 16" print…
Fred Tyler
  • 31
  • 1
  • 2
3
votes
3 answers

Is there a library for Visual C++ that renders math formulas?

I've been looking all over, but I can't find anything free that will let me simply display math formulas on a window. I found one for Visual C++.net, but no APIs. Are there any out there?
Mark
  • 51
  • 1
  • 4
3
votes
2 answers

Convert MathML to Latex

Inspired by this post, I tried to convert the MathML example, which looks like this: x y to Latex using xsltproc. First I downloaded…
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
3
votes
1 answer

MathML is not rendered and displayed below the textarea

I have a page which contains a textarea. The user will input mathML inside it and when the user clicks on the output button, MathML should be rendered and displayed below the textarea. But rendering is not happening. Textarea may contain more than…
3
votes
1 answer

MathML generation algorithm for Javascript. Any recommended references

I am trying to build code that can generate MathML for Traditional Math Input. I am using JavaScript for coding. Are there any references or recommended readings I can go through to get a grasp of required algorithm? I am reading W3C standards for…
JMD
  • 337
  • 4
  • 16
3
votes
3 answers

What the best way to get up to speed on MathML and its usage in the world?

What the best way to get up to speed on MathML and its usage in the world? In particular I mean: What do you use for rendering/editing it Is it used in any commercial/open source applications that you can point me to Is it popular and used a…
Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
3
votes
1 answer

Mathematical equation editor in Rails

I'm creating a simple blog using ruby on rails 4. I want to be able to write mathematical equations with it. I'd appreciate if you could help me with any of these questions: Is there a gem/plugin/etc which I can use to add an editor for…
user2725109
  • 2,286
  • 4
  • 27
  • 46
3
votes
4 answers

Lightweight markup language for math

Is there an easy markup language for math equations? I am developing an application for undergrads and I was looking for something less complex than LaTex and easier to write than MathML.
jbochi
  • 28,816
  • 16
  • 73
  • 90
3
votes
2 answers

MathML not working

I have tried to display a simple equation but it doesn't work. My code is as follow (html5): a i
David Duran
  • 1,786
  • 1
  • 25
  • 36
3
votes
0 answers

How to generate an image from mathML (or latex) code using php

I'm developing a small web application (using Apache-MySQL-PHP) that can display text and then transform it in PDF (the text is stored in a database as HTML code). The problem is that the text I want to display and convert into PDF contains…
ChemClaude
  • 51
  • 1
  • 4
3
votes
1 answer

How to convert Open Xml Math Equation to MathML

How can i convert OpenXml math equation (m:OMathPara tag) to MathML. Does there exist any converter library? My problem is importing data from MS Word and saving it in database and viewing in webpage. I have already imported as text with openxml but…
Khurshid
  • 954
  • 7
  • 19
3
votes
2 answers

MathML in Android

I am aware about Android webkit doesn't support MathML. but I am working on on Maths related project and my client has send some thousands of MathML files. I have tried with "MathJax" it works but its Internet based and rending speed is very slow,…
Mac
  • 1,153
  • 2
  • 20
  • 34
3
votes
1 answer

Convert Content MathML to infix/math notation string in javascript

How do I convert Content MathML (example below), in to an infix or math notation string. For example converting this: compartment
user1027169
  • 2,627
  • 3
  • 27
  • 50