How to find out why a MathJax equation is not being rendered?

时间:2016-08-31 12:14:52

标签: mathjax

I am using MathJax with locally-defined macros to display equations (in documentation generated by sphinx). Recently, some of the equations are not shown properly anymore -- the source is shown in the frame, but not the actual formula. Most equations show up just fine, within the same page (https://woodem.org/theory/leapfrog.html): rendered webpage Is there a way to find out why MathJax does not display the first equation? All the macros used are defined (some of them are used in the second eq.), there is no message in the JS console, MathJax context menu (right-click on the eq frame) gives no hint.

1 个答案:

答案 0 :(得分:2)

效果是由noErrors扩展名(组合配置文件的一部分)引起的。由于保留组合配置效果更好,因此您可以在自定义内联配置中禁用扩展程序。

根据the documentation,添加到内联配置的TeX部分:

TeX: { ..., noErrors: { disabled: true } }

这将为您提供典型的LaTeX警告。 (在你的情况下,可能是关于只允许在类似表格的环境中使用的&符号。)