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
4
votes
2 answers

How to load and Mathml formula into Libreoffice

I have a MATHML formula (generated by, i.e., http://www.mathtoweb.com/cgi-bin/mathtoweb_online.pl). I want to paste it into Libreoffice. How could I do that? Or even better, I want to convert it to an odf-formula standard.
Ivan Oseledets
  • 2,270
  • 4
  • 23
  • 28
3
votes
1 answer

Is there a way to convert ASCII MathML to LaTeX?

I would like to know if there is a way to convert ASCII MathML to LaTeX.
XinYi Chua
  • 281
  • 1
  • 6
  • 17
3
votes
1 answer

MathML formula looks vertically unaligned when compiling Markdown to HTML with Pandoc

I'm trying to create an HTML with a math formula, from the following markdown: // myFile.md This is a formula: $f(x) = y$ Then, I run the following command: $ pandoc --mathml myFile.md -o - The generated output, looks like follows:

This is…

sgmonda
  • 2,615
  • 1
  • 19
  • 29
3
votes
1 answer

What is the best way to index documents which contain mathematical expression in elastic search?

The problem here I am trying to solve is I have a bunch of documents which context mathematical expressions/formulas. I want to search the documents by the formula or expression. So far based on my research I'm considering to convert the…
shoaib1992
  • 410
  • 1
  • 8
  • 26
3
votes
1 answer

Does LINQ to XML ignore includes from a DTD?

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…
Dmitri Nesteruk
  • 23,067
  • 22
  • 97
  • 166
3
votes
0 answers

I want to use a text box to enter mathematical expressions

I would like to use a text box to enter mathematical expressions. Like the site below. https://www.mathpapa.com/factoring-calculator/ How can I embed such a formula bar?
pekochun
  • 487
  • 1
  • 3
  • 14
3
votes
1 answer

render latex / mathml with PySide

I have a small program that renders a typed equation on the fly using SymPy's 'pretty-printing' facility. This works fine but doesn't look very professional. As SymPy will produce latex or mml I was wondering whether these could be rendered…
Geddes
  • 1,191
  • 2
  • 11
  • 25
3
votes
0 answers

How to create Content MathML for screen-reader accuracy (WCAG 2.0 compliance)

I work in publishing, and I am trying to use MathML to display math in XML-based EPUB 3 publications. I am able to generate Presentation MathML using Microsoft Word's Equation Builder. However, accessibility standards require hidden Content MathML…
3
votes
0 answers

How to increase the size of a parallelogram in mathml correctly?

I'm trying to output a parallelogram svg by using MathJax,here is my source mathml,please try them on MathJax demo page: ABCD As you see…
YO K
  • 31
  • 5
3
votes
2 answers

HTML-only fallback for MathML

MathML is a web standard for writing mathematics in a way that can be easily zoomed without pixellating (just like SVG), copied and pasted, and read by screen readers. Chrome are refusing to implement it on the basis that a JavaScript polyfill…
Sora2455
  • 744
  • 7
  • 25
3
votes
1 answer

Converting Latex to MathML in HTML

I'm trying to convert latex code embedded in an HTML document (Intended to be used with a Javascript shim) into MathML. Pandoc seems like a great tool. Following this example: http://pandoc.org/demos.html, pandoc input.html -s --latexmathml -o…
Turtles Are Cute
  • 3,200
  • 6
  • 30
  • 38
3
votes
3 answers

Math notation font

Is there a font that can be used for math notation? I'm thinking there isn't. If that is the case, does anyone know what the simplest route is to having nice math notation in my iPad app? Update: Thank you for all the great responses. Looking at…
Joey
  • 7,537
  • 12
  • 52
  • 104
3
votes
1 answer

.NET component for Math ML which can edit formulas, render them as image

At the moment the most popular component MathML.Net is not available for download, I am wondering if there are other .Net components that can help with this issue (can edit formulas, render them as image)
Andrei.N
  • 31
  • 5
3
votes
0 answers

How to convert Powermath to mathml equations?

I want to convert all the powermath equations into mathml equation. Can anyone suggest a way to do this process? Thanks in advance.
parthi
  • 734
  • 1
  • 4
  • 13
3
votes
0 answers

How to convert mathml to an image?

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…
Learning
  • 848
  • 1
  • 9
  • 32