Just have a look at errors produced by imgmath
https://yade-dev.gitlab.io/-/trunk/-/jobs/156037536/artifacts/public/formulation.html
from what I saw they occur in exactly the same places as errors in mathjax (and where pngmath worked). The only difference is that they are more informative, and only some of them relate to \def
Just have a look at errors produced by imgmath
https:/ /yade-dev. gitlab. io/-/trunk/ -/jobs/ 156037536/ artifacts/ public/ formulation. html
from what I saw they occur in exactly the same places as errors in mathjax (and where pngmath worked). The only difference is that they are more informative, and only some of them relate to \def