-
New
mathjax-config
option forbs4_book
andgitbook
to control MathJax config string (thanks, @bwu62, #1472). The option can be set either in the YAML metadata or as a variable inpandoc_args
. Currently tested and supported settings:- If empty, defaults to original
TeX-MML-AM_CHTML
which renders all equations in common HTML. - If set to
TeX-AMS-MML_HTMLorMML
renders equations in HTML + CSS (which may look nicer for some equations). - If set to
TeX-MML-AM_SVG
renders equations in SVG.
- If empty, defaults to original
-
Fixed the bug that
render_book()
fails due tofile.rename()
being unable to rename files across different disk volumes (thanks, @Giqles @katrinabrock, #804).