include SVG mathjax output

we now ship all mathjax output formats

We still strip down to a single font (STIX-Web)
Min RK 10 years ago
parent bb6368a545
commit b0772dd3c7

@ -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.

@ -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:

Loading…
Cancel
Save