Using align brings the benefit when multiple math equations are in one
math directive, alignment is provided. We also use "aligned" to wrap the
equations since in this way all the equations will be given only one
label/tag, while previously only the first equation is labeled.
Until now when one of the 3 latexes (pdflatex, xelatex, lualatex) does
not exist, the test was skipped. This commit changes the behavior to
"unless none of the 3 latexes exists, don't skip the test".
There are currently two locations in the testing code running the same
code to spawn pdflatex. This commit puts these code into one single
function to reduce redundancy.
If \mathbb is used in math, which is commonly used to represent sets,
the output LaTeX won't compile. This commit fixes this issue by adding
amsfonts package in the setup of sphinx.ext.mathbase .
If svg files are embedded in <img> in html, all interactive features are
lost, which graphviz is able to produce. This commit replace <img> with
<object> for svg files.
Close#967
The latex output shows email addresses even the external links itself is
an email address. For example, for an email address me@example.com,
latex output will show it as "me@example.com (me@example.com)". This
commit fixes this issue by removing the "mailto:" prefix before
comparing the text and uri.