PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Vegan
Forum Regular
Posts: 574 Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:
Post
by Vegan » Thu Mar 04, 2021 5:07 pm
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?
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
Benjamin
Site Administrator
Posts: 6930 Joined: Sun May 19, 2002 10:24 pm
Post
by Benjamin » Thu Mar 04, 2021 9:03 pm
What is it blocking? Maybe add a custom shortcode or something.
Vegan
Forum Regular
Posts: 574 Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:
Post
by Vegan » Fri Mar 05, 2021 9:24 am
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
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
Vegan
Forum Regular
Posts: 574 Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:
Post
by Vegan » Wed May 12, 2021 12:51 pm
Turns out that Latex is the syntax used so the MathML is misidentified with Wordpress. JetPack has Latex support for self hosted hosts.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP