Skip to content

Commit

Permalink
Merge pull request #1027 from mathjax/develop
Browse files Browse the repository at this point in the history
Release v2.5
  • Loading branch information
pkra committed Jan 30, 2015
2 parents a4b82c5 + a9dbd62 commit 55df93c
Show file tree
Hide file tree
Showing 2,303 changed files with 10,568 additions and 4,444 deletions.
4 changes: 2 additions & 2 deletions MathJax.js

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "mathjax/mathjax",
"type": "library",
"description": "MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers.",
"keywords": ["math", "js", "LaTeX", "MathML", "AsciiMath"],
"homepage": "http://www.mathjax.org/",
"license": "Apache-2.0",
"authors": [
{
"name": "Davide Cervone",
"homepage": "https://github.com/dpvc"
},
{
"name": "Christian Perfect",
"homepage": "https://github.com/christianp"
},
{
"name": "Peter Krautzberger",
"homepage": "https://github.com/pkra"
}
]
}
38 changes: 22 additions & 16 deletions config/AM_HTMLorMML-full.js

Large diffs are not rendered by default.

32 changes: 19 additions & 13 deletions config/AM_HTMLorMML.js

Large diffs are not rendered by default.

52 changes: 29 additions & 23 deletions config/Accessible-full.js

Large diffs are not rendered by default.

46 changes: 26 additions & 20 deletions config/Accessible.js

Large diffs are not rendered by default.

38 changes: 22 additions & 16 deletions config/MML_HTMLorMML-full.js

Large diffs are not rendered by default.

32 changes: 19 additions & 13 deletions config/MML_HTMLorMML.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions config/MMLorHTML.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* /MathJax/config/MMLorHTML.js
*
* Copyright (c) 2009-2014 The MathJax Consortium
* Copyright (c) 2009-2015 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 All @@ -16,4 +16,4 @@
* limitations under the License.
*/

(function(c,g){var f="2.4.0";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.5.0";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");
2 changes: 1 addition & 1 deletion config/Safe.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* /MathJax/config/Safe.js
*
* Copyright (c) 2009-2014 The MathJax Consortium
* Copyright (c) 2009-2015 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
52 changes: 29 additions & 23 deletions config/TeX-AMS-MML_HTMLorMML-full.js

Large diffs are not rendered by default.

46 changes: 26 additions & 20 deletions config/TeX-AMS-MML_HTMLorMML.js

Large diffs are not rendered by default.

46 changes: 26 additions & 20 deletions config/TeX-AMS-MML_SVG-full.js

Large diffs are not rendered by default.

42 changes: 24 additions & 18 deletions config/TeX-AMS-MML_SVG.js

Large diffs are not rendered by default.

40 changes: 23 additions & 17 deletions config/TeX-AMS_HTML-full.js

Large diffs are not rendered by default.

36 changes: 21 additions & 15 deletions config/TeX-AMS_HTML.js

Large diffs are not rendered by default.

58 changes: 32 additions & 26 deletions config/TeX-MML-AM_HTMLorMML-full.js

Large diffs are not rendered by default.

52 changes: 29 additions & 23 deletions config/TeX-MML-AM_HTMLorMML.js

Large diffs are not rendered by default.

25 changes: 21 additions & 4 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* ---------------------------------------------------------------------
*
* Copyright (c) 2009-2014 The MathJax Consortium
* Copyright (c) 2009-2015 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 @@ -169,10 +169,12 @@ MathJax.Hub.Config({
// These two parameters control the alignment and shifting of displayed equations.
// The first can be "left", "center", or "right", and determines the alignment of
// displayed equations. When the alignment is not "center", the second determines
// an indentation from the left or right side for the displayed equations.
// an indentation from the left or right side for the displayed equations. When
// the alignment is "center", the indent allows you to shift the center to the right
// or left (negative is left).
//
displayAlign: "center",
displayIndent: "0em",
displayIndent: "0",

//
// Normally MathJax will perform its starup commands (loading of
Expand Down Expand Up @@ -508,7 +510,7 @@ MathJax.Hub.Config({
//
// This is the amound of indentation (from right or left) for the tags.
//
TagIndent: ".8em",
TagIndent: "0.8em",

//
// This is the width to use for the multline environment
Expand Down Expand Up @@ -734,10 +736,25 @@ 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,

//
// When true, MathJax will not measure the widths or heights of the
// subexpressions as it creates its output, but instead will rely on
// its internal calculautions based on teh bounding boxes of the
// characters it uses, and will only take measurements when it
// absolutely has to. Since measurements cause display reflows, they
// slows down MathJax considerably, so without them MathJax runs
// faster, but can produce slightly less accurate character placements,
// especially in width fractions or roots.
//
noReflows: true,


//
// These settings control automatic line breaking. It is off by
// default, so only explicit line breaks are performed (via
Expand Down
2 changes: 1 addition & 1 deletion config/local/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* ---------------------------------------------------------------------
*
* Copyright (c) 2009-2014 The MathJax Consortium
* Copyright (c) 2009-2015 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
19 changes: 19 additions & 0 deletions extensions/CHTML-preview.js

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

4 changes: 2 additions & 2 deletions extensions/FontWarnings.js

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

0 comments on commit 55df93c

Please sign in to comment.