הוספת כתיבה מתמטית לעורך TinyMCE – asciimath & asciisvg

First thing first, let see a demo – ASCIIMath and ASCIIsvg plugins for TinyMCE

  1. Download source: zip format.
  2. Install plugins (asciimath,asciisvg) under lib/editor/tinymce/tiny_mce/3.5.8/plugins/ (or any other tinymce version)
  3. Navigate to “Home / ► Site administration / ► Appearance / ► Additional HTML”(additionalhtmlhead) and add the following code: <script type=”text/javascript” src=”/lib/editor/tinymce/tiny_mce/3.5.8/plugins/asciimath/js/ASCIIMathMLwFallback.js”></script>  <script type=”text/javascript”> var AMTcgiloc = “http://www.imathas.com/cgi-bin/mimetex.cgi”;    //change me </script>
  4. Edit “lib/editor/tinymce/lib.php” and add the relevant “plugins: ‘xhtmlxtras,template,pagebreak,asciimath,asciisvg‘,”
  5. Add the plugin’s button to the TinyMCE toolbar on “Home / ► Site administration / ► Plugins / ► Text editors / ► TinyMCE HTML editor / ► General settings” (editor_tinymce | customtoolbar) : “,asciimath,asciimathcharmap,asciisvg

You Are ready to go 🙂

 

One thought on “הוספת כתיבה מתמטית לעורך TinyMCE – asciimath & asciisvg