From 5fbf0b25319d3fe9cf8ca902c83403aa136c5500 Mon Sep 17 00:00:00 2001
From: Peter Krautzberger
Date: Wed, 27 Jan 2016 17:29:21 +0100
Subject: [PATCH 1/2] update for MathJax v2.6.0
---
Gruntfile.js | 36 ++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git a/Gruntfile.js b/Gruntfile.js
index e3db2c467..3326d1716 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -209,23 +209,41 @@ module.exports = function(grunt) {
svgOutput: [
"config/*SVG.js",
"config/*SVG-full.js",
- "unpacked/config/*HTMLorMML.js",
- "unpacked/config/*HTMLorMML-full.js",
+ "unpacked/config/*SVG.js",
+ "unpacked/config/*SVG-full.js",
"jax/output/SVG",
"unpacked/jax/output/SVG"
],
commonHtmlOutput: [
- "configs",
- "unpacked/config/",
+ "configs/*CHTML.js",
+ "configs/*CHTML-full.js",
+ "unpacked/config/*CHTML.js",
+ "unpacked/configs/*CHTML-full.js",
"jax/output/CommonHTML",
"unpacked/jax/output/CommonHTML",
"extensions/CHTML-preview.js",
"unpacked/extensions/CHTML-preview.js"
],
+ previewHtmlOutput: [
+ "configs",
+ "unpacked/config/",
+ "jax/output/PreviewHTML",
+ "unpacked/jax/output/PreviewHTML",
+ "extensions/fast-preview.js",
+ "unpacked/extensions/fast-preview.js"
+ "extensions/CHTML-preview.js",
+ "unpacked/extensions/CHTML-preview.js"
+ ],
+ plainSourceOutput: [
+ "configs",
+ "unpacked/config/",
+ "jax/output/PlainSource",
+ "unpacked/jax/output/PlainSource"
+ ],
// ## Locales
// Removes all locale files. Change this as needed to keep your preferred language.
// **NOTE.** English strings are hardcoded.
- // **NOTE.** If you fix th locale, drop the menu entry: http://docs.mathjax.org/en/latest/options/MathMenu.html#configure-mathmenu
+ // **NOTE.** If you fix the locale, drop the menu entry: http://docs.mathjax.org/en/latest/options/MathMenu.html#configure-mathmenu
locales: [
"localization",
"unpacked/localization"
@@ -243,6 +261,10 @@ module.exports = function(grunt) {
"config/Safe.js",
"unpacked/config/Safe.js"
],
+ a11yExtensions: [
+ "extensions/AssistiveMML.js",
+ "unpacked/extensions/AssistiveMML.js"
+ ],
miscExtensions: [
"extensions/FontWarnings.js",
"extensions/HelpDialog.js",
@@ -274,7 +296,9 @@ module.exports = function(grunt) {
"README-branch.txt",
"README.md",
"bower.json",
- "composer.json"
+ "composer.json",
+ ".npmignore",
+ "package.json"
]
}
});
From 91cf225965890890cc24ec9e5b31f5d8f12ef9c0 Mon Sep 17 00:00:00 2001
From: Peter Krautzberger
Date: Wed, 27 Jan 2016 17:31:31 +0100
Subject: [PATCH 2/2] update for MathJax v2.6.0
---
Gruntfile.js | 4 ----
1 file changed, 4 deletions(-)
diff --git a/Gruntfile.js b/Gruntfile.js
index 3326d1716..ff51da832 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -225,8 +225,6 @@ module.exports = function(grunt) {
"unpacked/extensions/CHTML-preview.js"
],
previewHtmlOutput: [
- "configs",
- "unpacked/config/",
"jax/output/PreviewHTML",
"unpacked/jax/output/PreviewHTML",
"extensions/fast-preview.js",
@@ -235,8 +233,6 @@ module.exports = function(grunt) {
"unpacked/extensions/CHTML-preview.js"
],
plainSourceOutput: [
- "configs",
- "unpacked/config/",
"jax/output/PlainSource",
"unpacked/jax/output/PlainSource"
],