$plugin_name
$plugin_name : string
The ID of this plugin.
The admin-specific functionality of the plugin.
Defines the plugin name, version, and hooks
enable_mathjax()
Enable MathJax and some extra functionality on admin pages.
This allows us to show a live preview of titles and abstracts containing mathematical formulas and save their MathML representation when a post is saved. This would be very hard (impossible?) to do with just php, so we have to resort to running some code in the browser of the person adding the manuscript to the website. Concretely, the following adds a live preview and MathML output to all text fields of with css class "preview_and_mathml". The MathML output is itself a textfield and gets and id that is derived from that of the input field. When the post is saved its content hence ends up in POST and can be captured by our PHP code in the custom post types.
To be added to the 'admin_head' action.