From 0da82db2526c47efa501faea94f5a8415f5b164e Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 19 Oct 2011 08:29:03 -0600 Subject: [PATCH] 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. --- contrib/lisp/org-mime.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/lisp/org-mime.el b/contrib/lisp/org-mime.el index 8d06faab6..ec638c166 100644 --- a/contrib/lisp/org-mime.el +++ b/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