Open orbita2d opened 5 months ago
A better mapping would be to some kind of \ensuremath
Great example and diagnostic - thank you for the report. Please feel welcome to file other similar cases when you encounter them.
Workaround:
\let\oldsi\si
\renewcommand{\si}[1]{\text{\oldsi{#1}}}
\let\oldSI\SI
\renewcommand{\SI}[2]{\text{\oldSI{#1}{#2}}}
in the preamble.
Example:
What I expect to happen: a = 10 Å
rendered as an svg. As these macros are supposed to work in both math and text modes https://texdoc.org/serve/siunitx/0
What happens instead: Throws with
The relevant line from latexmlimg.tex