Skip to content

Commit dbda330

Browse files
authored
Merge pull request #2677 from mpacer/mjax_labels
clear equation labels on typesetting so that labels don't stop equations from rendering
2 parents bbd2ac6 + e2405ce commit dbda330

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

notebook/static/base/js/utils.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,10 @@ define([
942942
}
943943
return $el.map(function(){
944944
// MathJax takes a DOM node: $.map makes `this` the context
945-
return MathJax.Hub.Queue(["Typeset", MathJax.Hub, this]);
945+
return MathJax.Hub.Queue(
946+
["Typeset", MathJax.Hub, this],
947+
["resetEquationNumbers",MathJax.InputJax.TeX]
948+
);
946949
});
947950
};
948951

0 commit comments

Comments
 (0)