Undefined control sequence \ket
I have this extension working, mostly - stuff like this works fine and produces the expected output:
latexmath:[V = \left(\frac{max-min}{max}\right)]
However, \ket...
doesn't work (e.g. latexmath:[\ket{e}]
) and produces this error in the output "Undefined control sequence \ket"
Presumably this is because the mathjax physics package isn't loaded? The autoload docs say that it loads everything except this package? I've looked at the code, and tried lots of things, but I don't know enough about MathJax to figure out how to enable this package.
What do I have to change in @djencks\asciidoctor-mathjax\lib\asciidoctor-mathjax.js
(or elsewhere) to load extra packages, or otherwise configure the MathJax instance?
I was expecting something like this somewhere, but asciidoctor-mathjax.js
doesn't look anything like that example?
Thanks for your work on this extension!