diff --git a/notebook/static/notebook/js/mathjaxutils.js b/notebook/static/notebook/js/mathjaxutils.js index 3c1c7a03a..cfbe266d8 100644 --- a/notebook/static/notebook/js/mathjaxutils.js +++ b/notebook/static/notebook/js/mathjaxutils.js @@ -30,11 +30,6 @@ define([ linebreaks: { automatic: true } }, }); - MathJax.Hub.Register.StartupHook("MathMenu Ready", function () { - var renderers = MathJax.Menu.menu.Find("Math Settings").submenu.Find("Math Renderer").submenu; - // disable SVG output, which we don't ship - renderers.Find("SVG").disabled = true; - }); MathJax.Hub.Configured(); } else if (window.mathjax_url !== "") { // Don't have MathJax, but should. Show dialog. diff --git a/setupbase.py b/setupbase.py index 7bfce0bc4..77554b738 100644 --- a/setupbase.py +++ b/setupbase.py @@ -165,9 +165,6 @@ def find_package_data(): if os.path.exists(mj_out): for output in os.listdir(mj_out): - if output == 'SVG': - # strip SVG output - continue path = pjoin(mj_out, output) static_data.append(pjoin(path, '*.js')) autoload = pjoin(path, 'autoload') @@ -180,6 +177,7 @@ def find_package_data(): mj('extensions'), mj('jax', 'input', 'TeX'), mj('jax', 'output', 'HTML-CSS', 'fonts', 'STIX-Web'), + mj('jax', 'output', 'SVG', 'fonts', 'STIX-Web'), ]: for parent, dirs, files in os.walk(tree): for f in files: