有类似在 header.html 中加载 cancel.js 的方式吗?使得 epub 支持 \(\bcancel{///}\)
目前我的书籍 📚模版 ElegantBookdown 在 Travis CI 上给出的警告信息如下
/usr/bin/pandoc +RTS -K512m -RTS ElegantBookdown.utf8.md --to epub3 --from markdown+autolink_bare_uris+tex_math_single_backslash --output ElegantBookdown.epub --number-sections --filter /usr/bin/pandoc-citeproc
[WARNING] Could not convert TeX math '\bcancel{///}', rendering as TeX:
\bcancel{///}
^
unexpected "{"
expecting "%", "\\label", "\\nonumber" or whitespace
然后 epub 没有渲染出数学公式
网上搜到一个相关帖子 https://github.com/crypto101/book/issues/62 但是没有看到相关的解答,epub 是否支持嵌入更多的 JS 库(或者它能够识别的数学公式库)