Merge pull request #1455 from dpvc/environment-fix
Fix TeX.Environment() to use the correct end environment.
This commit is contained in:
commit
1d849674e1
|
@ -258,7 +258,7 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
|||
});
|
||||
|
||||
TEX.Environment = function (name) {
|
||||
TEXDEF.environment[name] = ['BeginEnv','EndEnv'].concat([].slice.call(arguments,1));
|
||||
TEXDEF.environment[name] = ['BeginEnv',[null,'EndEnv']].concat([].slice.call(arguments,1));
|
||||
TEXDEF.environment[name].isUser = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user