Skip to content

Commit

Permalink
MathJax 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
distler committed Dec 8, 2013
1 parent f53f49c commit aa2f456
Show file tree
Hide file tree
Showing 25,991 changed files with 16,904 additions and 4,209 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
25 changes: 7 additions & 18 deletions public/MathJax/MathJax.js

Large diffs are not rendered by default.

44 changes: 15 additions & 29 deletions public/MathJax/config/AM_HTMLorMML-full.js

Large diffs are not rendered by default.

35 changes: 12 additions & 23 deletions public/MathJax/config/AM_HTMLorMML.js

Large diffs are not rendered by default.

67 changes: 23 additions & 44 deletions public/MathJax/config/Accessible-full.js

Large diffs are not rendered by default.

58 changes: 20 additions & 38 deletions public/MathJax/config/Accessible.js

Large diffs are not rendered by default.

44 changes: 15 additions & 29 deletions public/MathJax/config/MML_HTMLorMML-full.js

Large diffs are not rendered by default.

35 changes: 12 additions & 23 deletions public/MathJax/config/MML_HTMLorMML.js

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions public/MathJax/config/MMLorHTML.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
/*
* /MathJax/config/MMLorHTML.js
*
* Copyright (c) 2012 Design Science, Inc.
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* Copyright (c) 2009-2013 The MathJax Consortium
*
* 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.1";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("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");
19 changes: 19 additions & 0 deletions public/MathJax/config/Safe.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* /MathJax/config/Safe.js
*
* Copyright (c) 2009-2013 The MathJax Consortium
*
* 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");
65 changes: 22 additions & 43 deletions public/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js

Large diffs are not rendered by default.

56 changes: 19 additions & 37 deletions public/MathJax/config/TeX-AMS-MML_HTMLorMML.js

Large diffs are not rendered by default.

56 changes: 19 additions & 37 deletions public/MathJax/config/TeX-AMS-MML_SVG-full.js

Large diffs are not rendered by default.

50 changes: 17 additions & 33 deletions public/MathJax/config/TeX-AMS-MML_SVG.js

Large diffs are not rendered by default.

47 changes: 16 additions & 31 deletions public/MathJax/config/TeX-AMS_HTML-full.js

Large diffs are not rendered by default.

41 changes: 14 additions & 27 deletions public/MathJax/config/TeX-AMS_HTML.js

Large diffs are not rendered by default.

74 changes: 25 additions & 49 deletions public/MathJax/config/TeX-MML-AM_HTMLorMML-full.js

Large diffs are not rendered by default.

65 changes: 22 additions & 43 deletions public/MathJax/config/TeX-MML-AM_HTMLorMML.js

Large diffs are not rendered by default.

52 changes: 42 additions & 10 deletions public/MathJax/config/default.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */

/*************************************************************
*
* MathJax/config/default.js
Expand All @@ -9,7 +12,7 @@
*
* ---------------------------------------------------------------------
*
* Copyright (c) 2009-2012 Design Science, Inc.
* Copyright (c) 2009-2013 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -234,7 +237,7 @@ MathJax.Hub.Config({
// jax that prevents it from operating properly).
//
errorSettings: {
message: ["[Math Processing Error]"], // HTML snippet structure for message to use
message: ["[",["MathProcessingError","Math Processing Error"],"]"],
style: {color: "#CC0000", "font-style":"italic"} // style for message
},

Expand Down Expand Up @@ -289,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 @@ -376,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 @@ -429,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 @@ -696,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 @@ -775,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 @@ -868,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 @@ -958,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
5 changes: 4 additions & 1 deletion public/MathJax/config/local/local.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */

/*************************************************************
*
* MathJax/config/local/local.js
Expand All @@ -9,7 +12,7 @@
*
* ---------------------------------------------------------------------
*
* Copyright (c) 2009 Design Science, Inc.
* Copyright (c) 2009-2013 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit aa2f456

Please sign in to comment.