Merge remote branch 'mathjax/master'

This commit is contained in:
Davide P. Cervone 2010-11-02 11:46:54 -04:00
commit 3dfd100a64
430 changed files with 394 additions and 392 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/config/MMLorHTML.js
* /MathJax/config/MMLorHTML.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -227,7 +227,7 @@ TeX input with MathML output
This example configures MathJax to use the ``tex2jax`` preprocessor
and TeX input processor, but the choice of output format is determined
by MathJax depending on the capabilities of the users's browser. The
by MathJax depending on the capabilities of the user's browser. The
is performed by the ``MMLorHTML.js`` configuration file that is loaded
in the `config`` array.
@ -244,7 +244,7 @@ plugin <http://www.dessci.com/en/products/mathplayer/>`_ installed
will use the NativeMML output processor, while all other browsers will
use the HTML-CSS output processor. Since native MathML support is
faster than MathJax's HTML-CSS processor, this will mean that the web
pages will display faster for Firefox and IE than they woudl
pages will display faster for Firefox and IE than they would
otherwise. This speed comes at the cost, however, as you are now
relying on the native MathML support to render the mathematics, and
that is outside of MathJax's control. There may be spacing or other
@ -325,7 +325,7 @@ For example,
}
});
is a configration that includes two settings for the MathJax Hub (one
is a configuration that includes two settings for the MathJax Hub (one
for `showProcessingMessages` and one of the `jax` array), and a
configuration object for the TeX input processor. The latter includes
a setting for the TeX input processor's `TagSide` option (to set tags

View File

@ -229,7 +229,7 @@ reasonably efficient to specify both input processors even if only one
<h3>TeX input with MathML output<a class="headerlink" href="#tex-input-with-mathml-output" title="Permalink to this headline"></a></h3>
<p>This example configures MathJax to use the <tt class="docutils literal"><span class="pre">tex2jax</span></tt> preprocessor
and TeX input processor, but the choice of output format is determined
by MathJax depending on the capabilities of the users&#8217;s browser. The
by MathJax depending on the capabilities of the user&#8217;s browser. The
is performed by the <tt class="docutils literal"><span class="pre">MMLorHTML.js</span></tt> configuration file that is loaded
in the <cite>config`</cite> array.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Config</span><span class="p">({</span>
@ -244,7 +244,7 @@ plugin</a> installed
will use the NativeMML output processor, while all other browsers will
use the HTML-CSS output processor. Since native MathML support is
faster than MathJax&#8217;s HTML-CSS processor, this will mean that the web
pages will display faster for Firefox and IE than they woudl
pages will display faster for Firefox and IE than they would
otherwise. This speed comes at the cost, however, as you are now
relying on the native MathML support to render the mathematics, and
that is outside of MathJax&#8217;s control. There may be spacing or other
@ -311,7 +311,7 @@ configuration options for the component.</p>
<span class="p">});</span>
</pre></div>
</div>
<p>is a configration that includes two settings for the MathJax Hub (one
<p>is a configuration that includes two settings for the MathJax Hub (one
for <cite>showProcessingMessages</cite> and one of the <cite>jax</cite> array), and a
configuration object for the TeX input processor. The latter includes
a setting for the TeX input processor&#8217;s <cite>TagSide</cite> option (to set tags

View File

@ -106,7 +106,7 @@ MathML that works in all modern browsers.</p>
<li><a class="reference internal" href="search.html"><em>Search</em></a></li>
</ul>
<hr class="docutils" />
<p>This version of the documentation was built August 26, 2010.</p>
<p>This version of the documentation was built November 02, 2010.</p>
</div>
</div>

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -227,7 +227,7 @@ TeX input with MathML output
This example configures MathJax to use the ``tex2jax`` preprocessor
and TeX input processor, but the choice of output format is determined
by MathJax depending on the capabilities of the users's browser. The
by MathJax depending on the capabilities of the user's browser. The
is performed by the ``MMLorHTML.js`` configuration file that is loaded
in the `config`` array.
@ -244,7 +244,7 @@ plugin <http://www.dessci.com/en/products/mathplayer/>`_ installed
will use the NativeMML output processor, while all other browsers will
use the HTML-CSS output processor. Since native MathML support is
faster than MathJax's HTML-CSS processor, this will mean that the web
pages will display faster for Firefox and IE than they woudl
pages will display faster for Firefox and IE than they would
otherwise. This speed comes at the cost, however, as you are now
relying on the native MathML support to render the mathematics, and
that is outside of MathJax's control. There may be spacing or other
@ -325,7 +325,7 @@ For example,
}
});
is a configration that includes two settings for the MathJax Hub (one
is a configuration that includes two settings for the MathJax Hub (one
for `showProcessingMessages` and one of the `jax` array), and a
configuration object for the TeX input processor. The latter includes
a setting for the TeX input processor's `TagSide` option (to set tags

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/FontWarnings.js
* /MathJax/extensions/FontWarnings.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/MathMenu.js
* /MathJax/extensions/MathMenu.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/MathZoom.js
* /MathJax/extensions/MathZoom.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/AMSmath.js
* /MathJax/extensions/TeX/AMSmath.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/AMSsymbols.js
* /MathJax/extensions/TeX/AMSsymbols.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/HTML.js
* /MathJax/extensions/TeX/HTML.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/autobold.js
* /MathJax/extensions/TeX/autobold.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/boldsymbol.js
* /MathJax/extensions/TeX/boldsymbol.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/mathchoice.js
* /MathJax/extensions/TeX/mathchoice.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/newcommand.js
* /MathJax/extensions/TeX/newcommand.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/noErrors.js
* /MathJax/extensions/TeX/noErrors.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/noUndefined.js
* /MathJax/extensions/TeX/noUndefined.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/unicode.js
* /MathJax/extensions/TeX/unicode.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/TeX/verb.js
* /MathJax/extensions/TeX/verb.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/jsMath2jax.js
* /MathJax/extensions/jsMath2jax.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/mml2jax.js
* /MathJax/extensions/mml2jax.js
*
* Copyright (c) 2010 Design Science, Inc.
*
@ -13,6 +13,6 @@
*/
MathJax.Unpack([
['MathJax.','Extension.mml2jax','={varsion:"1.0.3",config:{element:null,preview:"alttext"},','MMLnamespace',':"http://www.w3.org/1998/Math/MathML",','PreProcess',':function(','e){if(!','this.','configured','){',0,'Hub.Insert(','this.config',',(',0,'Hub.config.','mml2jax||{}));if(',13,'.Augment','){',0,12,'this,',13,19,')}',8,'InitBrowser','();',8,9,'=true}if(typeof(e)==="string"){e=document.getElementById(e)}if(!e){e=',13,'.element||document.body}','this.ProcessMathArray(e.getElementsByTagName','("math"));if','(e.getElementsByTagNameNS','){',8,'ProcessMathArray',37,'(',8,3,',"math"))}var d=document.getElementsByTagName("html")[0];if(d){for(var c=0,b=','d.attributes','.length;c<b;c++){var a=',46,'[c];if','(a.nodeName.substr(','0,6)==="xmlns:"&&a.nodeValue===',8,3,'){',35,50,'6)+":math"))}}}},',40,6,'b){var a;if(b.length){if(',8,'msieMathTagBug','){','for(a=b.length-1;a>=0;a--){','if(b[a].nodeName==="MATH"){',8,'msieProcessMath','(b[a])}else{','this.ProcessMath(b[a','])}}}else{',64,69,'])}}}},ProcessMath',6,'e){var d','=e.parentNode;var a=document.createElement("script");a.type="math/mml";','d','.insertBefore(','a,e);if(',8,'msieScriptBug','){var b=',8,'msieOuterHTML','(e);b=b.replace(/<\\?import .*?>/i,"").replace(/<\\?xml:namespace .*?\\/>/i,"");a.text=b.replace(/&nbsp;/g,"&#xA0;");d.removeChild(e)}else{var c=',0,'HTML.Element("span','");c.appendChild(e);',0,'HTML.addText(a,c.innerHTML)}','if(this.config.preview!=="none"){this.createPreview(e,a)}},',67,6,'e){var c',76,'c',78,'a,e);var b="",d;while','(e&&e.nodeName','!=="/MATH"){d=e;e=e.nextSibling;b+=','this.msieNodeHTML(d',');d','.parentNode.removeChild(','d)}if',99,'==="/MATH"){e',103,'e)}a.text=b+"</math>";',91,'msieNodeHTML',6,'d){var c,b,a;if(','d.nodeName==="#','text"||',113,'comment"){c=d.','nodeValue.replace','(/&/g,"&#x26;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}else{if(',8,'msieAttributeBug','){c="<"+d.','nodeName.toLowerCase','();for(b=0,a=',46,'.length;b<a;b','++){if(',46,'[b].','specified){c+=" "+',46,128,122,'()+"=";c+=\'"\'+',46,128,117,'(/\\"/g,\'\\\\"\')+\'"\'}}c+=">"}else{c=',8,'toLowerCase','(d.outerHTML);var e=c.split(/"/);for(b=0,a=e',125,'+=2){e[b]=e',128,139,'()}c=e.join(\'"\')}}return c},',84,6,'d){if(d.nodeName.charAt(0)==="#"){return ',101,')}if(!',8,120,'){return d.outerHTML}var c=',101,');for(var b=0,a=','d.childNodes',125,'++){c+=',8,84,'(',156,'[b])}c+="</"+d.',122,'()+">";return c},createPreview',6,'b,a){var c;if(',13,'.preview','==="alttext"){var d=b.getAttribute("alttext");if(d!=null){c=[',8,'filterText','(d)]}}else{if(',13,169,' instanceof Array){c=',13,169,'}}if(c){c=',0,87,'",{className',':',0,16,'preRemoveClass},c);a.parentNode',78,'c,a)}},',172,6,'a){return a},',28,':function(){',0,'Hub.Browser.Select({MSIE',6,'a',82,0,87,182,':"mathjax"});',0,12,0,1,',{',81,':true,',62,209,120,':(b.outerHTML.substr(12)!==\'"\')})}})}};',0,'Hub.Register.PreProcessor(["',5,'",',0,1,']);',0,'Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");']
['MathJax.Extension.mml2jax','={varsion:"1.0.4",config:{element:null,preview:"alttext"},','MMLnamespace',':"http://www.w3.org/1998/Math/MathML",','PreProcess',':function(','e){if(!','this.','configured','){','MathJax.Hub.','Insert(','this.config',',(',10,'config.','mml2jax||{}));if(',12,'.Augment','){',10,11,'this,',12,18,')}',7,'InitBrowser','();',7,8,'=true}if(typeof(e)==="string"){e=document.getElementById(e)}if(!e){e=',12,'.element||document.body}','this.ProcessMathArray(e.getElementsByTagName','("math"));if','(e.getElementsByTagNameNS','){',7,'ProcessMathArray',36,'(',7,2,',"math"))}var d=document.getElementsByTagName("html")[0];if(d){for(var c=0,b=','d.attributes','.length;c<b;c++){var a=',45,'[c];if','(a.nodeName.substr(','0,6)==="xmlns:"&&a.nodeValue===',7,2,'){',34,49,'6)+":math"))}}}},',39,5,'b){var a;if(b.length){if(',7,'msieMathTagBug','){','for(a=b.length-1;a>=0;a--){','if(b[a].nodeName==="MATH"){',7,'msieProcessMath','(b[a])}else{','this.ProcessMath(b[a','])}}}else{',63,68,'])}}}},ProcessMath',5,'e){var d','=e.parentNode;var a=document.createElement("script");a.type="math/mml";','d','.insertBefore(','a,e);if(',7,'msieScriptBug','){var b=',7,'msieOuterHTML','(e);b=b.replace(/<\\?import .*?>/i,"").replace(/<\\?xml:namespace .*?\\/>/i,"");a.text=b.replace(/&nbsp;/g,"&#xA0;");d.removeChild(e)}else{var c=','MathJax.HTML.Element("span','");c.appendChild(e);MathJax.HTML.addText(a,c.innerHTML)}','if(this.config.preview!=="none"){this.createPreview(e,a)}},',66,5,'e){var c',75,'c',77,'a,e);var b="",d;while','(e&&e.nodeName','!=="/MATH"){d=e;e=e.nextSibling;b+=','this.msieNodeHTML(d',');d','.parentNode.removeChild(','d)}if',95,'==="/MATH"){e',99,'e)}a.text=b+"</math>";',87,'msieNodeHTML',5,'d){var c,b,a;if(','d.nodeName==="#','text"||',109,'comment"){c=d.','nodeValue.replace','(/&/g,"&#x26;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}else{if(',7,'msieAttributeBug','){c="<"+d.','nodeName.toLowerCase','();for(b=0,a=',45,'.length;b<a;b','++){if(',45,'[b].','specified){c+=" "+',45,124,118,'()+"=";c+=\'"\'+',45,124,113,'(/\\"/g,\'\\\\"\')+\'"\'}}c+=">"}else{c=',7,'toLowerCase','(d.outerHTML);var e=c.split(/\\"/);for(b=0,a=e',121,'+=2){e[b]=e',124,135,'()}c=e.join(\'"\')}}return c},',83,5,'d){if(d.nodeName.charAt(0)==="#"){return ',97,')}if(!',7,116,'){return d.outerHTML}var c=',97,');for(var b=0,a=d.','childNodes',121,'++){c+=',7,83,'(d.',152,'[b])}c+="</"+d.',118,'()+">";return c},createPreview',5,'b,a){var c;if(',12,'.preview','==="alttext"){var d=b.getAttribute("alttext");if(d!=null){c=[',7,'filterText','(d)]}}else{if(',12,165,' instanceof Array){c=',12,165,'}}if(c){c=',85,'",{className',':',10,15,'preRemoveClass},c);a.parentNode',77,'c,a)}},',168,5,'a){return a},',27,':function(){',10,'Browser.Select({MSIE',5,'a',81,85,177,':"mathjax"});',10,11,0,',{',80,':true,',61,':(',85,'",{innerHTML:"<math><mi>x</mi></math>"}).',152,'.length!==1),',116,':(b.outerHTML.substr(12)!==\'"\')})}})}};',10,'Register.PreProcessor(["',4,'",',0,']);MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");']
]);

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/tex2jax.js
* /MathJax/extensions/tex2jax.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/extensions/toMathML.js
* /MathJax/extensions/toMathML.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/jax.js
* /MathJax/jax/element/mml/jax.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/Arrows.js
* /MathJax/jax/element/mml/optable/Arrows.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/BasicLatin.js
* /MathJax/jax/element/mml/optable/BasicLatin.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/CombDiacritMarks.js
* /MathJax/jax/element/mml/optable/CombDiacritMarks.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/CombDiactForSymbols.js
* /MathJax/jax/element/mml/optable/CombDiactForSymbols.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/Dingbats.js
* /MathJax/jax/element/mml/optable/Dingbats.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/GeneralPunctuation.js
* /MathJax/jax/element/mml/optable/GeneralPunctuation.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/GeometricShapes.js
* /MathJax/jax/element/mml/optable/GeometricShapes.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/GreekAndCoptic.js
* /MathJax/jax/element/mml/optable/GreekAndCoptic.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/Latin1Supplement.js
* /MathJax/jax/element/mml/optable/Latin1Supplement.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/LetterlikeSymbols.js
* /MathJax/jax/element/mml/optable/LetterlikeSymbols.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/MathOperators.js
* /MathJax/jax/element/mml/optable/MathOperators.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/MiscMathSymbolsA.js
* /MathJax/jax/element/mml/optable/MiscMathSymbolsA.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js
* /MathJax/jax/element/mml/optable/MiscMathSymbolsB.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/MiscTechnical.js
* /MathJax/jax/element/mml/optable/MiscTechnical.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/SpacingModLetters.js
* /MathJax/jax/element/mml/optable/SpacingModLetters.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/SuppMathOperators.js
* /MathJax/jax/element/mml/optable/SuppMathOperators.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/element/mml/optable/SupplementalArrowsB.js
* /MathJax/jax/element/mml/optable/SupplementalArrowsB.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/input/MathML/config.js
* /MathJax/jax/input/MathML/config.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/input/MathML/entities/a.js
* /MathJax/jax/input/MathML/entities/a.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/input/MathML/entities/b.js
* /MathJax/jax/input/MathML/entities/b.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/input/MathML/entities/c.js
* /MathJax/jax/input/MathML/entities/c.js
*
* Copyright (c) 2010 Design Science, Inc.
*

View File

@ -1,5 +1,5 @@
/*
* ../SourceForge/trunk/mathjax/jax/input/MathML/entities/d.js
* /MathJax/jax/input/MathML/entities/d.js
*
* Copyright (c) 2010 Design Science, Inc.
*

Some files were not shown because too many files have changed in this diff Show More