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

Close

#65 Documentation

open
nobody
5
2010-07-16
2010-07-16
Victor Ivrii
No

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)

Sources/Subs.php

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
Victor

Discussion

  • Casey Stark
    Casey Stark
    2010-07-16

    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
    2010-07-19

    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

    http://www.math.toronto.edu/cms/analysis-and-applied-math-seminar/2010-01-22?CalendarStart=2010-01-22

     
  • Victor Ivrii
    Victor Ivrii
    2010-07-21

    "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
    2010-07-21

    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.