> Uwe Brauer writes: > This is expected. > dvipng previews expect .dvi files, not .pdf. You must use > ("latexmk -f -latex -output-directory=%o %f") > Except that latex does not produce the desired result, which indicates > that you are using some very strange package that is not compatible with > latex. Well, there are a couple of packages that explicitly state that they only work with pdflatex, nicematrix, todonotes and ocgx for example > I can only suggest using "imagemagick" process to use pdf -> png > conversion, but truly that should be a bug in the latex package. So --8<---------------cut here---------------start------------->8--- org-mime-org-html-with-latex-default is a variable defined in ‘org-mime.el’. Its value is ‘imagemagick’ Original value was ‘dvipng’ --8<---------------cut here---------------end--------------->8--- But this did not help the error continues, so it seems that dvipng is still used. -- I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel I strongly condemn Putin's war of aggression against Ukraine. I support to deliver weapons to Ukraine's military. I support the EU and NATO membership of Ukraine.