Open Iey4iej3 opened 2 years ago
This is indeed strange issue. When I change
$\mathcal{A}_U\rightarrow (P \underset{(\mathcal{A},\mathcal{M})}{\overset{L}{\otimes}} (\mathcal{A}_U,\mathcal{M}_U))^{\vee}\overset{L}{\underset{(\mathcal{A}_U,\mathcal{M}_U)}{\otimes}}(Q \underset{(\mathcal{A},\mathcal{M})}{\overset{L}{\otimes}} (\mathcal{A}_U,\mathcal{M}_U))$
to
\(\mathcal{A}_U\rightarrow (P \underset{(\mathcal{A},\mathcal{M})}{\overset{L}{\otimes}} (\mathcal{A}_U,\mathcal{M}_U))^{\vee}\overset{L}{\underset{(\mathcal{A}_U,\mathcal{M}_U)}{\otimes}}(Q \underset{(\mathcal{A},\mathcal{M})}{\overset{L}{\otimes}} (\mathcal{A}_U,\mathcal{M}_U))\)
(which will convert the whole inline math content to one picture, instead of mixture of text and images), it compiles correctly. The math expression also works outside of theorem.
I honestly don't know how to fix it. You may try to use the pic-m
option which forces image mode for all inline math, but this could look bad due to the wrong vertical alignment of these images. So it is better to require pictures just for selected content, using \(... \)
MWE:
compiled with
make4ht -f html5+dvisvgm_hashes foo.tex "svg"
, or withoutdvisvgm_hashes
. Neither works. However, there is no issue to producepng
images.