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

Inserting MathMl , Tex or LaTex equation in MS word .docs?

I've been looking for some dll for .Net in C# for inserting any of MathMl , Tex or LaTex equations in MS Word, I tried some like DocX but they failed, do you know any? or any hint how to it? thanks
ePezhman
  • 4,010
  • 7
  • 44
  • 80
5
votes
5 answers

converting a latex code to mathml or svg code in python

Is there any python code that allow take a latex code (for equations) and parse it to mathml or svg code ? A simple function that take as argument a string (the latex code) and output a string (the svg or mathml code) would be perfect. PS. I've…
shn
  • 5,116
  • 9
  • 34
  • 62
5
votes
3 answers

How do i accept MathML?

i discovered today that Windows 7 comes with a very impressive MathPanel utility, for performing handwriting recognition of equations: Which is fine. (Here i've entered the formula for the part of the sRGB color space gamma conversion) But now i…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
5
votes
1 answer

Deserializing recursive XML using Serde in Rust

I'm trying to deserialize MathML using Serde and Quick-XML in Rust. I'm having trouble trying to write the structs because of the recursive nature of MathML. Here's a minimal, reproducible example: use quick_xml; use…
Pranav Ballaney
  • 185
  • 1
  • 6
  • 13
5
votes
1 answer

Algorithm/Tool to convert pMathML to cMathML?

Does any one know of any known algorithm and/or open source project that converts presentation mathml to content mathml? Javascript is preferable if there is any open source project. But any other language is appreciated too. If not, do you have…
chepukha
  • 2,371
  • 3
  • 28
  • 40
5
votes
1 answer

MathJax or similar: render arbitrary HTML element inside expression?

I have a specific need regarding mathematical expression rendering in a web application, and while I've so far been mostly looking at MathJax, I'm certainly not wedded to it. What I need is the ability to render a mathematical expression where one…
DanM
  • 7,037
  • 11
  • 51
  • 86
5
votes
3 answers

how to use MathML in HTML

I'm trying to displaying math formula on a web page. But when I write html code like following Binomial Theorem

Binomial…

wallah
  • 1,964
  • 5
  • 27
  • 48
5
votes
4 answers

Displaying Mathml equations

My browser, Firefox 3.6, seems to display the Mathml equations in the W3C test suite just fine. But if I copy the code into my webpage, like from here, all Firefox produces is something like x y x y instead of how it correctly rendered the W3C…
wrongusername
  • 18,564
  • 40
  • 130
  • 214
5
votes
2 answers

how exactly is the math tag used in Elm?

Here's just a generic div with some nonsense math in it. Does not render properly div [] [ math [] [text "$\\int_a^b \frac{2}{3}$"] and here's what comes out $\int_a^b \frac{2}{3}$ so I am not understanding how math works in Elm. …
john mangual
  • 7,718
  • 13
  • 56
  • 95
5
votes
2 answers

Funding for MathML rendering library

I have an unfinished MathML rendering library written in C++. I ceased development a few months ago due to lack of time. The library [still] uses the TrueType version (unsupported) of the STIX fonts beta [version 1.0 of the STIX fonts (OpenType…
MAthlonX3
  • 51
  • 4
5
votes
2 answers

Run Javascript on the body of a Gmail message

I want to display LaTeX math in the gmail messages that I receive, so that for example $\mathbb P^2$ would show as a nice formula. Now, there are several Javascripts available (for example, this one, or MathJax which would do the job, I just need to…
saturn
  • 313
  • 1
  • 4
  • 9
5
votes
2 answers

Rendering MathML on svg using d3.js

I am trying to render MathML equations on svg using d3.js. Can anyone help me getting a quadratic equation on svg. I tried doing it using foreign object with no success.
Ronak Bhandari
  • 328
  • 1
  • 3
  • 15
5
votes
0 answers

Coloring LaTeX equations placed in rmarkdown tables

In the report created by rmarkdown and knitr packages I would like to create a 1 by 2 table, each of the cells of which will host a LaTeX equation. In the equations, individual elements must option for a custom color, producing something…
andrey
  • 2,029
  • 2
  • 18
  • 23
5
votes
1 answer

Rendering MathJax/MathML at compilation/preprocessing time, to create an HTML file without MathML?

I have some webpages, which make heavy use of MathJax (or MathML?) that I would like to convert into ebooks and display on my kindle, which does not support enough javascript, nor MathML. So I would like to preprocess the .html files, possibly by…
Jason Gross
  • 5,928
  • 1
  • 26
  • 53
5
votes
2 answers

Type Math Equation in Textbox

Is there any solution in ASP.NET/C# or Jquery for writing math equations as MathML is not very well supported by browsers. Thanks
Shakeeb Ahmed
  • 1,778
  • 1
  • 21
  • 37
1 2
3
30 31