Commit Graph

15 Commits

Author SHA1 Message Date
Damyon Wiese 89ceede3bf MDL-60458 Mathjax: Restore the accessible config
Undo the changes to the accessible config that were introduced by the previous library upgrade.
2017-10-25 12:30:14 +08:00
David Mudrák 9e6df843a0 MDL-60209 mathjax: Do not load broken accessibility extensions
The Accessible.js config loads accessibility-menu extension which in
turn loads mathjax-sre.js library. There is a bug in this library
https://github.com/zorkow/speech-rule-engine/issues/182 that makes it
fail in RequireJS environments. This has been reported upstream as
https://github.com/mathjax/MathJax/issues/1854

As an immediate solution for now, this patch changes the default MathJax
configuration so that it does not load accessibility extensions at all.
2017-10-12 22:11:45 +02:00
David Mudrák b7ab8e4e9b MDL-60209 mathjax: Use MathJax 2.7.2 by default 2017-10-09 12:31:20 +02:00
Damyon Wiese 51742ffdc4 MDL-58722 mathjax: Update to 2.7.1 and remove a11y
2.7.1 bundles the accessibility and mchem extensions so we no longer need to bundle them and apply custom config.
2017-04-27 16:57:03 +08:00
Damyon Wiese 21b4989ac4 MDL-58461 filter_mathjaxloader: Update defaults
Also included a version bump for Moodle in order to trigger a filter upgrade.
2017-04-11 09:19:02 +08:00
Simey Lameze acf17832d6 MDL-56017 filters: Update MathJax to version 2.7 2016-10-18 13:29:30 +08:00
Dan Poltawski 8ce58c99f0 MDL-53572 mathjax: always load mathjax using https
It's considered an anti-pattern now to use protocol relative urls and
reduces a setting.

(Also fixed an incorrectly placed 3.1.0 upgrade marker)
2016-08-02 15:55:23 +01:00
Adrian Greeve 1f8ab584e9 MDL-52752 filters: Update MathJax to version 2.6 2016-03-21 14:10:00 +08:00
Damyon Wiese b1a55c5ffb MDL-48543 Mathjax: Update default config for JAWS Math player
JAWS Maths player does not recognise the math content when manually specifying the config for MathJax.
If you use one of the default config files it works.
So - we switch our config to the Accessible.js config that it is based off anyway.
There are no features changes with this approach.

Conflicts:
	filter/mathjaxloader/version.php
2015-02-17 10:54:12 +08:00
Adrian Greeve 01dfdf7e41 MDL-48760 maths filters: Upgrade to mathjax 2.5 2015-02-13 14:26:11 +08:00
Damyon Wiese 0b51b466a1 MDL-46748 MathJax filter: Update setting default for https cdn url. 2014-08-11 12:02:35 +08:00
Damyon Wiese 894e20395d MDL-43856 MathJax: Add a setting for additional delimiters to support e.g. ASCIIMATH 2014-04-04 13:30:08 +08:00
Damyon Wiese 441f94b263 MDL-43856 MathJax: Coding style cleanups. 2014-04-03 14:36:42 +08:00
Damyon Wiese cc90cedc85 MDL-43856 MathJax: Improvements to the MathJax filter
* Remove all traces of mathjax from the atto equation editor - it is filter agnostic
* Add a M.core.event module for core events that can be published/subscribed to by plugins (loose coupling)
* Add a FILTER_CONTENT_UPDATED event so plugins can tell the filter system when nodes are added to the page
* Implement a listener for this event in the MathJax filter
* Fire this event from the equation editor and from the glossary filter
* Add a nolink tag to the mathjax filter, so equations will not be processed by the other filters
* Add a smarter throttle function to the equation editor preview updates (Y.throttle is dumb)
2014-04-03 14:36:36 +08:00
Damyon Wiese 7f6753151e MDL-43856 MathJax: Add a mathjax loader filter. 2014-04-03 14:36:16 +08:00