This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Introduction

A TinyMCE plugin for Plone to render a function of a graph as SVG and it requires a browser that can render SVG.

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 SVG and not use any fallbacks that generate images server-side.

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.

Installation

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

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

  3. Activate the TinyMCE ASCIISvg plugin

Changelog

1.3

  • Prevent users from adding an invalid function to the graph. Show an error and ask them to re-enter the function.
  • use single quotes when adding equations to dropdown list since double quotes don’t work on Chrome.
  • use regexp syntax for string replacement since the global match flag (eg s.replace(substr, newsubstr, ‘g’) is not supported by Chrome.

1.2

  • use span rather than div as container to allow inline display of graphs
  • Embed svg source in hidden CDATA section alongside ASCIISvg script. NOTE: Plone 3’s safe_html transform swallows CDATA, Plone 4 works correctly.

1.1

  • use jq instead of $ to invoke jquery for Plone 3 compatibility

1.0

  • Initial release
Release History

Release History

1.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fullmarks.tinymceplugins.asciisvg-1.3.zip (76.7 kB) Copy SHA256 Checksum SHA256 Source Sep 13, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting