## WordPress Math Publisher Plugin Support

Ron Fredericks writes: This is just a short post to point my readers to a new mathematics publishing plugin available from ECI’s Blog Center. This plugin offers a simple alternative to the more standard approaches: XML’s MathML and Math into LaTeX.

**WordPress Math Publisher plugin home page**

www.embeddedcomponents.com/blogs/wordpress/wpmathpub/

**Usage**

An example of how it can be used is your blog posts:

Results in:

where:

is defined as a

is defined as b

**References:**

Pascal Brachet’s phpmathpublisher

Home: www.xm1math.net/phpmathpublisher/

Usage: www.xm1math.net/phpmathpublisher/doc/help.html

Matteo Bertini’s WordPress plugin called PHP Math Publisher

www.slug.it/naufraghi/programmazione-web/wpmathpublisher

Randy Morrow’s WordPress plugin called Axiom

wordpress.org/extend/plugins/axiom/#post-2794

Technorati Tags: Ron Fredericks, Embedded Components, WP Math Pub, wpmathpub, math, mathematics, publish, plugin, phpmathpublisher, axiom, MathML, LaTeX

March 30th, 2008 at 9:28 pm

How to Display Math Symbols in WordPress…Ron Fredericks writes: Have you ever wanted to include math equations in your blog posts or lecture materials? Here is an easy and slick way to get the job done. Use Embedded Components new WordPress plugin called WordPress Math Publisher, or wp…

March 30th, 2008 at 9:51 pm

The difference between MathML, LaTeX, and PHP Math Publisher…

Each of these methods may be used to display mathematical equations on a web page. Both MathML and LaTeX follow standards that have communities of users around them. Unfortunately they both require some significant overhead to use and/or view.

My new plugin called WordPress Math Pub, is based on the PHP Math Publisher library by Pascal Brachet. MathML and LaTeX are not used. This library is an open-source library that converts plain text into image links to mathematical PNG images. The PHP Math Publisher library is a relatively new method for publishing mathematic equations and symbols. It has its own simple text-based syntax that is easy to learn and embed into any web page. New math images are created automatically on the fly from within your WordPress main loop as needed during content display.

April 12th, 2008 at 8:26 pm

Sorry for not getting back to you. I’ve been out of the loop for a while. The thing with word press is the it’s tough for me to figure out how to post the plug-in on their site. I want to give my plug-in away for free (Free Software style). So please don’t think I’m hiding, I’ve just been having trouble with subversion.

Randy

April 14th, 2008 at 7:04 am

Hi Randy:

Here were the steps I took to complete my WordPress plugin:

1) Prepare the special readme.txt with wiki markdown tags such that the WordPress landing page has all content needed: description, installation, FAQ, screenshots, other notes.

2) Follow their SVN beginners guide to stuffing the trunk subdirectory on my local PC with all my plugin code. I had two problems with this initially:

a) This plugin requires the use of an img/ subdirectory that must be on the blogger’s system, but empty subdirectories are ignored (during the download process by a new user trying to aquire my plugin) unless you load something in there. So I put a dummy image in the img/ directory just so users will get that directory. I included the directory structure in my screenshots to help new users quickly understand the details surrounding my plugin, in case they forgot to upload all supporting files and subdirectories onto their server:

http://wordpress.org/extend/plugins/wpmathpub/screenshots/

b) When I tried to commit my initial code to the WordPress repository, several errors were encountered by the SVN CI command. The only help I found was a reference on some site “that an engineer should not upload too much code at once or problems may occur” – and yup problems did occur. To solve these errors, I repeated a series of “stat, del, cp, and ci” statements (not always in that order), until the stat command gave no errors. Then I did a download from my new wordpress.org landing page to see what files I was missing as a result of my “get rid of the SVN errors at all cost” technique. I then did one more round of cp, stat, and ci SVN commands to complete the process.

I hope that helps,

Ron

May 10th, 2008 at 12:52 am

I tried the plugin but it interferes somewhat with the editor (both tinymce as well as fckeditor). The

May 12th, 2008 at 7:35 am

Hi Roderik:

Can you provide some detail on how wpmathpub plugin interferes with your use of the editors?

So far the only issue has been in the use of greater than “>” and less than “<" symbols - as these are converted by html aware editors to "& gt;" and "& lt;". This conversion of html symbols can be circumvented by switching from "edit" mode to "code" mode. Bes regards, Ron

May 13th, 2008 at 8:46 pm

Switching to code mode does not circumvent it for me. When you edit in code, click save and check what is there, < and > were inserted. The only way might be to turn of the visual editor as a whole in the user settings. However that is quite annoying since I want to write the articles itself in the visual editor.

I think it might work if you write a filter for wordpress that converts the html encoded characters if they are inside a math block.

May 13th, 2008 at 8:48 pm

& lt; and & gt; instead of in last message

May 13th, 2008 at 10:08 pm

Hi Roderik:

Thank you for your polite and accurate feedback.

I agree with you that it should be fairly simple to implement the html entities replacement – as you suggest above. I will use our conversation here to drive the next release. It will take me a week or so to get back to this project with a formal update release on the wordpress.org site.

Ron

March 5th, 2020 at 2:10 pm

?????Embedded Components and Tools Blog Center » Blog Archive » WordPress Math Publisher Plugin Support

March 15th, 2020 at 4:22 pm

?? ?????Embedded Components and Tools Blog Center » Blog Archive » WordPress Math Publisher Plugin Support

March 16th, 2020 at 6:31 pm

???????Embedded Components and Tools Blog Center » Blog Archive » WordPress Math Publisher Plugin Support