Allow dot delimiters for \genfrac (they incorrectly produced errors)

This commit is contained in:
Davide P. Cervone 2011-12-27 15:02:27 -05:00
parent 2808c9cc27
commit b70caaf465
8 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -360,7 +360,7 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
GetDelimiterArg: function (name) {
var c = this.trimSpaces(this.GetArgument(name));
if (c == "") {return null}
if (!TEXDEF.delimiter[c]) {TEX.Error("Missing or unrecognized delimiter for "+name)}
if (TEXDEF.delimiter[c] == null) {TEX.Error("Missing or unrecognized delimiter for "+name)}
return this.convertDelimiter(c);
},