I promised to publish today a package of some new (and old) demo tools - plugins, filters scripts and for rendering mathematical notations and graphs - so here some documentation about downloading and using them:
I created two packages that work with all versions of moodle 2.X. The larger package http://korpelainen.net/mpluga.zip has 3 folders:
and if you unzip the package inside your test moodle 2 site (or download first from moodle.org the latest version of some moodle 2.X) only one core file will be overwritten, lib/dragmath/applet/Config.xml, because I added there new Export format with
<Format displayName="GoogleTex" fileName="GoogleTex"></Format>
and did not want to use another dragmath folder (then no core files would have been overwritten).
Inside filter folder you should find following moodle 2.X filters: geogebra (updated by Christoph Reinisch), jsxgraph (originally from jsxgraph-team and modified by me), math and mathml (by me), mathtran (updated by Jean-Michel Vedrine) and finally inside tex folder 3 new files that are needed for moving and rendering asciisvg graph, fmath and texviewer fallback images to/from moodledata subfolders (outside webroot).
Inside lib folder are the main libraries: in common some asciimathml scripts, in dragmath 2 modified files, in editor folder the main tool - tinymath editor with all the plugins - and other folders are for geonext, jsxgraph, jquery and MathJax.
Here is the only difference between package mpluga.zip and the lighter package http://korpelainen.net/mplugb.zip which does not have MathJax included. If you want you can download the latest version of mathJax directly from Github - it should go to folder lib/MathJax.
Finally in theme folder you get two moodle 2 themes - 'mathstandard' which is a modification of core standard theme and layout files have inside head tags included all demo script tags from file theme/mathstandard/layout/extras.php - and the other theme 'stylist' has a little more advanced tools for selections, I haven't however updated it for some time to check the recent tags (bug fixes) of standard/base themes.
Once the files are in correct folders it's time to go to your site, login and if nothing happens click Notifications link from your site administration menu. In fresh installs settings are checked during install process (or if you upgrade previous version of moodle). If it's a new site no filters are enabled, editor is tinymce and theme is standard theme so you need to change some settings to get plugins and filters functional. If you need the plugins with all themes one option is to go to
Site administration > Appearance > Additional HTML > Within HEAD
and add the necessary script tags (pointing to external or local scripts) there with absolute paths
and then enable needed filters from Site administration > Plugins > Filters > Manage filters
and select tinymath editor to default editor from Site administration > Plugins > Text editors > Manage editors
Personally I prefer theme based selection instead of site wide selection because you may want to use different settings in different courses and if you for example enable course themes from
Site administration > Appearance > Themes > Theme settings
you can use right away theme mathstandard or stylist or some of your customized themes on courses with different plugins or editors and let other courses stay away from math plugins
So the other option is to select theme mathstandard or stylist from Site administration > Appearance > Themes > Theme selector and you are ready to test plugins without any additional tags in Site administration > Appearance > Additional HTML > Within HEAD and those themes make the editor selection for you as well - you still need to enable filters. MATH FILTER can be disabled, plugins can use settings from math filter even if it is disabled. I have tested settings from two levels: from settings of MATH FILTER you can change some settings of plugins and enable/disable demo plugins in tinymat editor toolbar
From settings of TINYMATH EDITOR you can also chage some demo plugin settings:
Remember to save changes from the bottom of long setting list! If something goes wrong try default settings under each box.
Once you turn editing on and start testing, you should see the editor content area with the following buttons:
and if you enable the other included plugins from math filter settings other plugin go to 3rd row that can be toggled with the top left button in toolbar. They are worth testing too, although partly buggy and unfinished and wiris editor is also included but since it is not free you need to get a valid license after 2000 test images so it's hidden by default. Fmath plugins reguire flash and are closed code (although free to use) so they are disabled by default. Asciimath plugin and mathml plugins are for a large part unfinished.
to get to Editor mode
and there (after chages) you can move the img tags to the yellow box over Insert button to add the google chart api graphs to your site.
Note also that in Geonext plugin when you create a new graph you need to click top left button to create a new graph in applet if no new graph is automatically opened (do not press Insert image)
and once the applet is open you can use all the nice tools of Geonext to create jsxgraphs - the tool looks very much like Geogebra applet and I hope I can create a similar tool for adding Geogebra strings once Geogebra 4 (mobile) is officially stable.
In googletex plugin people may be confused when they try to create colored backgrounds - and need to untick transparent background first!
and for example in mathJax plugin (and other similar looking plugins) it is easy to get confused with many boxes and outputs - this is a thing that should be further improved to avoid "mixed syntax" (and a couple of my plugins have relics from other plugins since I have been trying to fit them all to one math plugin )