Update MathJax to Version 1.1-beta
This commit is contained in:
parent
27a99e0146
commit
7d3f9db8f0
543 changed files with 4509 additions and 5114 deletions
6
public/MathJax/extensions/TeX/HTML.js
vendored
6
public/MathJax/extensions/TeX/HTML.js
vendored
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ../SourceForge/trunk/mathjax/extensions/TeX/HTML.js
|
||||
* /MathJax/extensions/TeX/HTML.js
|
||||
*
|
||||
* Copyright (c) 2010 Design Science, Inc.
|
||||
*
|
||||
|
@ -12,7 +12,5 @@
|
|||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*/
|
||||
|
||||
MathJax.Unpack([
|
||||
['MathJax.','Hub.Register.StartupHook("TeX Jax Ready",function(){var b="1.0";var c=',0,'InputJax.TeX;var a=c.Definitions;a.macros.href="','HREF_attribute','";a.macros','["class','"]="','CLASS_attribute',5,'.style="','STYLE_attribute',5,'.cssId="','ID_attribute','";c.Parse.Augment({',4,':function(f){var e=this.GetArgument(f),d=this.GetArgumentMML(f);this.Push(d.With({','href:e}))},',8,':function(e){var f=this.GetArgument(e),d=this.GetArgumentMML(e);if(d',6,'"]!=null){f=d',6,'"]+" "+','f}this.Push(d.With','({"class":f}))},',11,20,'.style!=null){if(f.charAt(f.length-1)!==";"){f+=";"}f=d.style+" "+',25,'({style:f}))},',14,17,'id:e}))},GetArgumentMML:function(e){var d=this.ParseArg(e);if(d.inferred&&d.data.length==1){d=d.data[0]}else{delete d.inferred}return d}});',0,'Hub.Startup.signal.Post("TeX HTML Ready")});',0,'Ajax.loadComplete("[MathJax]/extensions/TeX/HTML.js");']
|
||||
]);
|
||||
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b="1.0";var c=MathJax.InputJax.TeX;var a=c.Definitions;a.macros.href="HREF_attribute";a.macros["class"]="CLASS_attribute";a.macros.style="STYLE_attribute";a.macros.cssId="ID_attribute";c.Parse.Augment({HREF_attribute:function(f){var e=this.GetArgument(f),d=this.GetArgumentMML(f);this.Push(d.With({href:e}))},CLASS_attribute:function(e){var f=this.GetArgument(e),d=this.GetArgumentMML(e);if(d["class"]!=null){f=d["class"]+" "+f}this.Push(d.With({"class":f}))},STYLE_attribute:function(e){var f=this.GetArgument(e),d=this.GetArgumentMML(e);if(d.style!=null){if(f.charAt(f.length-1)!==";"){f+=";"}f=d.style+" "+f}this.Push(d.With({style:f}))},ID_attribute:function(f){var e=this.GetArgument(f),d=this.GetArgumentMML(f);this.Push(d.With({id:e}))},GetArgumentMML:function(e){var d=this.ParseArg(e);if(d.inferred&&d.data.length==1){d=d.data[0]}else{delete d.inferred}return d}});MathJax.Hub.Startup.signal.Post("TeX HTML Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/HTML.js");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue