From e2405cebe94a43b3ad6e3e68eb526ab7f09e8043 Mon Sep 17 00:00:00 2001 From: M Pacer Date: Thu, 20 Jul 2017 15:29:43 -0700 Subject: [PATCH] clear equation labels on typesetting so that labels don't block renders --- notebook/static/base/js/utils.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/notebook/static/base/js/utils.js b/notebook/static/base/js/utils.js index 17ccc8e72c..39e757ebda 100644 --- a/notebook/static/base/js/utils.js +++ b/notebook/static/base/js/utils.js @@ -942,7 +942,10 @@ define([ } return $el.map(function(){ // MathJax takes a DOM node: $.map makes `this` the context - return MathJax.Hub.Queue(["Typeset", MathJax.Hub, this]); + return MathJax.Hub.Queue( + ["Typeset", MathJax.Hub, this], + ["resetEquationNumbers",MathJax.InputJax.TeX] + ); }); };