Explorar o código

org-mime: use dvipng for inline images when export to html mail

* contrib/lisp/org-mime.el (org-mime-htmlize): Use dvipng for inline
  images when export to html mail.
Eric Schulte %!s(int64=13) %!d(string=hai) anos
pai
achega
0da82db252
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      contrib/lisp/org-mime.el

+ 2 - 0
contrib/lisp/org-mime.el

@@ -205,6 +205,8 @@ export that region, otherwise export the entire body."
          (org-export-htmlize-output-type 'inline-css)
          ;; makes the replies with ">"s look nicer
          (org-export-preserve-breaks org-mime-preserve-breaks)
+	 ;; dvipng for inline latex because MathJax doesn't work in mail
+	 (org-export-with-LaTeX-fragments "dvipng")
          ;; to hold attachments for inline html images
          (html-and-images
           (org-mime-replace-images