Page 1 of 1

mathml 3

Posted: Thu Mar 04, 2021 5:07 pm
by Vegan

Code: Select all

<math xmlns="http://www.w3.org/1998/Math/MathML"><mfrac><mrow><mi mathvariant="italic">a</mi><mi mathvariant="italic">b</mi></mrow><mrow><mi mathvariant="italic">a</mi><mi mathvariant="italic">b</mi></mrow></mfrac></math>
That is the output from MSFT Equation version 4, this program is free

So any suggestions on how to fix the wordpress block to recognize this as valid?

Re: mathml 3

Posted: Thu Mar 04, 2021 9:03 pm
by Benjamin
What is it blocking? Maybe add a custom shortcode or something.

Re: mathml 3

Posted: Fri Mar 05, 2021 9:24 am
by Vegan
I tried a a chunk of code and WP installed a new Gutenberg block but that is the extent of it. Microsoft Equation is very old now. So is MathML.

https://wordpress.org/plugins/mathml-block/

This the plugin that Gutenberg was programmed to grab

\begin{bmatrix} a \\ b \end{bmatrix}

is an example of the code that works as desired, notice no mathml tags but yet this is described as mathml
so i griped for manual as the syntax is different


Microsofts tool

https://www.microsoft.com/en-ca/downloa ... x?id=15702

Web based solver is new and I have not checked it out

https://math.microsoft.com/en

Re: mathml 3

Posted: Wed May 12, 2021 12:51 pm
by Vegan
Turns out that Latex is the syntax used so the MathML is misidentified with Wordpress. JetPack has Latex support for self hosted hosts.