Closed pkra closed 6 years ago
It turns out that was due to the newly added None
output jax. Because the None
jax was being defined before the other jax are loaded, it became the default jax, and so when the initial typesetting is performed (that is supposed to force the loading of the input and output jax), no output jax is loaded. That means the SVG jax isn't loaded initially like it used to be, and so when mathjax-node sets the configuration for the SVG jax using the data you pass it, that configuration is overridden when the SVG jax loads.
A fix is to pospone defining the None
output jax until after the others are defined, so the SVG jax is used by default, and is loaded on the initial typeset, as before. I've pushed a branch that does that, and will make the corresponding PR.
==> Merged.
Reported on SO.
results in
Expected result: no defs/use elements but repeated paths.