I do indeed get an error on the Javascript console: "Uncaught SyntaxError: Unexpected token ILLEGAL".
Turns out that both 1.5.2 and 1.5.3.dev generate this code:
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [\(\)],
displayMath: [\[\]],
ignoreClass: "nostem|nolatexmath"
},
asciimath2jax: {
delimiters: [\$\$],
ignoreClass: "nostem|noasciimath"
},
TeX: { equationNumbers: { autoNumber: "none" } }
});
Whereas the 1.5.0 release notes at
http://asciidoctor.org/release-notes/asciidoctor-1-5-0/ contain the following code:
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
ignoreClass: "nostem|nolatexmath"
},
asciimath2jax: {
delimiters: [["\\$", "\\$"]],
ignoreClass: "nostem|noasciimath"
},
TeX: { equationNumbers: { autoNumber: "none" } }
});
Any idea why the square bracket and backslash are not repeated in my case?
MT
--