Skip to content

Commit

Permalink
Repack and combine. mathjax#534
Browse files Browse the repository at this point in the history
  • Loading branch information
fred-wang committed Nov 11, 2013
1 parent 9702afb commit ef36d4b
Show file tree
Hide file tree
Showing 1,079 changed files with 15,450 additions and 3,663 deletions.
23 changes: 6 additions & 17 deletions MathJax.js

Large diffs are not rendered by default.

42 changes: 14 additions & 28 deletions config/AM_HTMLorMML-full.js

Large diffs are not rendered by default.

33 changes: 11 additions & 22 deletions config/AM_HTMLorMML.js

Large diffs are not rendered by default.

65 changes: 22 additions & 43 deletions config/Accessible-full.js

Large diffs are not rendered by default.

56 changes: 19 additions & 37 deletions config/Accessible.js

Large diffs are not rendered by default.

42 changes: 14 additions & 28 deletions config/MML_HTMLorMML-full.js

Large diffs are not rendered by default.

33 changes: 11 additions & 22 deletions config/MML_HTMLorMML.js

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions config/MMLorHTML.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
/*
* /MathJax/config/MMLorHTML.js
*
*
* Copyright (c) 2009-2013 The MathJax Consortium
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

(function(c,g){var f="2.2";var a=MathJax.Hub.CombineConfig("MMLorHTML",{prefer:{MSIE:"MML",Firefox:"HTML",Opera:"HTML",Chrome:"HTML",Safari:"HTML",other:"HTML"}});var e={Firefox:3,Opera:9.52,MSIE:6,Chrome:0.3,Safari:2,Konqueror:4};var b=(g.version==="0.0"||g.versionAtLeast(e[g]||0));var d=(g.isFirefox&&g.versionAtLeast("1.5"))||(g.isMSIE&&g.hasMathPlayer)||(g.isSafari&&g.versionAtLeast("5.0"))||(g.isOpera&&g.versionAtLeast("9.52"));c.Register.StartupHook("End Config",function(){var h=(a.prefer&&typeof(a.prefer)==="object"?a.prefer[MathJax.Hub.Browser]||a.prefer.other||"HTML":a.prefer);if(b||d){if(d&&(h==="MML"||!b)){if(MathJax.OutputJax.NativeMML){MathJax.OutputJax.NativeMML.Register("jax/mml")}else{c.config.jax.unshift("output/NativeMML")}c.Startup.signal.Post("NativeMML output selected")}else{if(MathJax.OutputJax["HTML-CSS"]){MathJax.OutputJax["HTML-CSS"].Register("jax/mml")}else{c.config.jax.unshift("output/HTML-CSS")}c.Startup.signal.Post("HTML-CSS output selected")}}else{c.PreProcess.disabled=true;c.prepareScripts.disabled=true;MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4000);c.Startup.signal.Post("MathJax not supported")}})})(MathJax.Hub,MathJax.Hub.Browser);MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js");

(function(c,g){var f="2.3";var a=MathJax.Hub.CombineConfig("MMLorHTML",{prefer:{MSIE:"MML",Firefox:"HTML",Opera:"HTML",Chrome:"HTML",Safari:"HTML",other:"HTML"}});var e={Firefox:3,Opera:9.52,MSIE:6,Chrome:0.3,Safari:2,Konqueror:4};var b=(g.version==="0.0"||g.versionAtLeast(e[g]||0));var d=(g.isFirefox&&g.versionAtLeast("1.5"))||(g.isMSIE&&g.hasMathPlayer)||(g.isSafari&&g.versionAtLeast("5.0"))||(g.isOpera&&g.versionAtLeast("9.52"));c.Register.StartupHook("End Config",function(){var h=(a.prefer&&typeof(a.prefer)==="object"?a.prefer[MathJax.Hub.Browser]||a.prefer.other||"HTML":a.prefer);if(b||d){if(d&&(h==="MML"||!b)){if(MathJax.OutputJax.NativeMML){MathJax.OutputJax.NativeMML.Register("jax/mml")}else{c.config.jax.unshift("output/NativeMML")}c.Startup.signal.Post("NativeMML output selected")}else{if(MathJax.OutputJax["HTML-CSS"]){MathJax.OutputJax["HTML-CSS"].Register("jax/mml")}else{c.config.jax.unshift("output/HTML-CSS")}c.Startup.signal.Post("HTML-CSS output selected")}}else{c.PreProcess.disabled=true;c.prepareScripts.disabled=true;MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4000);c.Startup.signal.Post("MathJax not supported")}})})(MathJax.Hub,MathJax.Hub.Browser);MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js");
15 changes: 9 additions & 6 deletions config/Safe.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
/*
* /MathJax/config/Safe.js
*
*
* Copyright (c) 2009-2013 The MathJax Consortium
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

MathJax.Hub.Register.StartupHook("End Config",function(){if(!MathJax.Hub.config.extensions){MathJax.Hub.config.extensions=[]}MathJax.Hub.config.extensions.push("Safe.js")});MathJax.Ajax.loadComplete("[MathJax]/config/Safe.js");

63 changes: 21 additions & 42 deletions config/TeX-AMS-MML_HTMLorMML-full.js

Large diffs are not rendered by default.

54 changes: 18 additions & 36 deletions config/TeX-AMS-MML_HTMLorMML.js

Large diffs are not rendered by default.

54 changes: 18 additions & 36 deletions config/TeX-AMS-MML_SVG-full.js

Large diffs are not rendered by default.

48 changes: 16 additions & 32 deletions config/TeX-AMS-MML_SVG.js

Large diffs are not rendered by default.

45 changes: 15 additions & 30 deletions config/TeX-AMS_HTML-full.js

Large diffs are not rendered by default.

39 changes: 13 additions & 26 deletions config/TeX-AMS_HTML.js

Large diffs are not rendered by default.

72 changes: 24 additions & 48 deletions config/TeX-MML-AM_HTMLorMML-full.js

Large diffs are not rendered by default.

63 changes: 21 additions & 42 deletions config/TeX-MML-AM_HTMLorMML.js

Large diffs are not rendered by default.

48 changes: 38 additions & 10 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ MathJax.Hub.Config({
// jax that prevents it from operating properly).
//
errorSettings: {
message: ["[Math Processing Error]"], // HTML snippet structure for message to use
messageId: "MathProcessingError", // ID of snippet for localization
message: ["[",["MathProcessingError","Math Processing Error"],"]"],
style: {color: "#CC0000", "font-style":"italic"} // style for message
},

Expand Down Expand Up @@ -293,7 +292,7 @@ MathJax.Hub.Config({
// as listed below). You can add to (or remove from) this list to prevent
// MathJax from processing mathematics in specific contexts.
//
skipTags: ["script","noscript","style","textarea","pre","code"],
skipTags: ["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],

//
// This is the class name used to mark elements whose contents should
Expand Down Expand Up @@ -380,7 +379,7 @@ MathJax.Hub.Config({
// as listed below). You can add to (or remove from) this list to prevent
// MathJax from processing mathematics in specific contexts.
//
skipTags: ["script","noscript","style","textarea","pre","code"],
skipTags: ["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],

//
// This is the class name used to mark elements whose contents should
Expand Down Expand Up @@ -433,20 +432,23 @@ MathJax.Hub.Config({

//
// Controls whether mml2jax inserts MathJax_Preview spans to make a
// preview available, and what preview to use, whrn it locates
// mathematics on the page. The default is "alttext", which means use
// the <math> tag's alttext attribute as the preview (until it is
// processed by MathJax), if the tag has one. Set to "none" to
// preview available, and what preview to use, when it locates
// mathematics on the page. The default is "mathml" which means use
// the <math> tag as the preview (until it is processed by MathJax).
// Set to "alttext", to use the <math> tag's alttext attribute as the
// preview, if the tag has one. Set to "none" to
// prevent the previews from being inserted (the math will simply
// disappear until it is typeset). Set to an array containing the
// disappear until it is typeset). Set to "altimg" to use an image
// described by the altimg* attributes of the <math> element.
// Set to an array containing the
// description of an HTML snippet in order to use the same preview for
// all equations on the page (e.g., you could have it say "[math]" or
// load an image).
//
// E.g., preview: ["[math]"],
// or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]]
//
preview: "alttext"
preview: "mathml"

},

Expand Down Expand Up @@ -700,6 +702,10 @@ MathJax.Hub.Config({
EqnChunkFactor: 1.5,
EqnChunkDelay: 100,

// This option indicates whether MathJax should try to correct the
// x-height of equations to match the size of the surrounding text.
matchFontHeight: true,

//
// These settings control automatic line breaking. It is off by
// default, so only explicit line breaks are performed (via
Expand Down Expand Up @@ -779,6 +785,10 @@ MathJax.Hub.Config({
//
minScaleAdjust: 50,

// This option indicates whether MathJax should try to correct the
// x-height of equations to match the size of the surrounding text.
matchFontHeight: true,

//
// This allows you to define or modify the styles used to display
// various math elements created by MathJax.
Expand Down Expand Up @@ -872,6 +882,10 @@ MathJax.Hub.Config({
EqnChunkFactor: 1.5,
EqnChunkDelay: 100,

// This option indicates whether MathJax should try to correct the
// x-height of equations to match the size of the surrounding text.
matchFontHeight: true,

//
// These settings control automatic line breaking. It is off by
// default, so only explicit line breaks are performed (via
Expand Down Expand Up @@ -962,6 +976,20 @@ MathJax.Hub.Config({
showFontMenu: false,
showContext: false,
showDiscoverable: false,

//
// These are the settings for the Annotation menu. If the <math> root has
// a <semantics> child that contains one of the following annotation
// formats, the source will be available via the "Show Math As" menu.
// Each format has a list of possible encodings.
//
semanticsAnnotations: {
"TeX": ["TeX", "LaTeX", "application/x-tex"],
"StarMath": ["StarMath 5.0"],
"Maple": ["Maple"],
"ContentMathML": ["MathML-Content", "application/mathml-content+xml"],
"OpenMath": ["OpenMath"]
},

//
// These are the settings for the Show Source window. The initial
Expand Down
17 changes: 10 additions & 7 deletions extensions/FontWarnings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ef36d4b

Please sign in to comment.