Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


#65 Documentation

Victor Ivrii

Using MathJax in popular platforms

WordPress: Suggestion to hack theme is not the best. Instead use plug-in WP-hooks and put
<script type="text/javascript" src="path/to/MathJax/MathJax.js"></script>
in its settings

Tested up to WP 3.1 alpha

MediaWiki: Suggestion to hack theme is not the best. Instead use Extension:JsMath and configure it

SimpleMachines 2.0 RC3 (latest, tested with earlier)


insert line

echo "<script type='text/javascript' src='http://..../mathjax/MathJax.js' ></script>";

line 3286 (find the last </script> and insert line after)

Probably more savvy person can create module


  • Casey Stark
    Casey Stark

    Thanks for the tips. I will try to test these soon and add full instructions to the docs.

    Really these are temporary suggestions until someone makes real MathJax plugins for the popular platforms.

    • labels: --> Documentation
  • Victor Ivrii
    Victor Ivrii

    Our Dept uses jsMath and I use MathJax with SilverStripe CMS. There are different classes of pages belonging to different modules and one can create a new module from the scratch or basing on some other module. As page of the given type has a template one can add a load of MathJax or JsMath to it (so only pages of the correct type load it)

    F.e. see jsMath (MJ makes no different) inside of custom module Seminars built on the top of Event_Calendar


  • Victor Ivrii
    Victor Ivrii

    "makes real MathJax plugins for the popular platforms."

    WP-hooks is a real plugin which allows to hook-up any js to WP

    jsMath is also real mediawiki plugin and jsMath could be substituted for MJ

  • Casey Stark
    Casey Stark

    They are real plugins but they are not MathJax plugins. We are hoping to develop plugins that basically work as one-click installs and allow simple configuration through the platform's admin interface.

    Using WP-hooks is much smarter than customizing the theme, but it doesn't really lower the barrier for inexperienced users.