summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-10-19 08:29:03 -0600
committerEric Schulte <schulte.eric@gmail.com>2011-10-19 12:07:48 -0600
commit0da82db2526c47efa501faea94f5a8415f5b164e (patch)
treebcb90618e91a7507ba78ebf6b0b6ae983b7002e7
parent757453b98e942fc13c4d80d9c7ab4948591cccba (diff)
downloadorg-mode-0da82db2526c47efa501faea94f5a8415f5b164e.tar.gz
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.
-rw-r--r--contrib/lisp/org-mime.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/lisp/org-mime.el b/contrib/lisp/org-mime.el
index 8d06faa..ec638c1 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