Skip to main content

TinyMCE ASCIIMATH Plugin for Plone

Project description

Introduction

A TinyMCE plugin for Plone to enter ASCIIMath in the TinyMCE Wysiwyg Editor.

It is based on the TinyMCE plugin written by David Lippman as part of the IMathAS project: http://www.imathas.com/. A demo of the IMathAS version of the plugin is available here: http://www.imathas.com/editordemo/demo.html

For FullMarks (and Plone), the plugin has been modified to always render MathML and not use any fallbacks that generate images server-side. Instead it uses MathJax for cross-browser rendering of MathML.

Additionally it uses the latest version (ver 2.0) of the ASCIIMATH javascript library by Peter Jipsen available here: http://mathcs.chapman.edu/~jipsen/mathml/asciimath.html

This plugin was developed as part of the FullMarks project funded by the Shuttleworth Foundation, an open educational repository of model questions and answers. See http://www.fullmarks.org.za and http://github.com/fullmarks for more information.

NOTE: This plugin depends on fullmarks.mathjax that includes the full MathJax library containing all the fonts necessary to render math properly in your browser. The total size of this package is 17MB.

Installation

  1. Add as an egg to your buildout and rerun buildout:

    [buildout]
    eggs =
        fullmarks.tinymceplugins.asciimath
  2. Navigate to Add-ons in the Site Setup area of your Plone site.

  3. Activate the TinyMCE ASCIIMATH plugin

Changelog

1.2

  • Embed MatHML source in hidden CDATA section alongside ASCIIMATH. NOTE: Plone 3’s safe_html transform swallows CDATA, Plone 4 works correctly.

1.1

  • use jq instead of $ to invoke jquery to remain compatible with Plone 3

1.0

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fullmarks.tinymceplugins.asciimath-1.2.zip (62.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page