From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: org-mime Date: Mon, 13 May 2013 15:34:49 -0600 Message-ID: <87mwrypnra.fsf@gmail.com> References: <87ppwvzxzq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc0On-00046n-EC for emacs-orgmode@gnu.org; Mon, 13 May 2013 17:35:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uc0Ok-0004qm-Ku for emacs-orgmode@gnu.org; Mon, 13 May 2013 17:35:13 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:47392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc0Ok-0004qe-Fa for emacs-orgmode@gnu.org; Mon, 13 May 2013 17:35:10 -0400 Received: by mail-pa0-f52.google.com with SMTP id bg2so4965087pad.11 for ; Mon, 13 May 2013 14:35:09 -0700 (PDT) In-Reply-To: <87ppwvzxzq.fsf@gmail.com> (Joseph Vidal-Rosset's message of "Sun, 12 May 2013 23:31:21 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Joseph Vidal-Rosset Cc: emacs-orgmode@gnu.org Joseph Vidal-Rosset writes: > Hello, > > I just made a clean installation of org packages and contrib in order > to > be able to convert latex equations in gnus. But I meet the following > problem that I am going to describe: > > Generating a png image seems to work via M-x org-preview-latex-fragment > \begin{equation} ((A \to B) \to A) \to A \end{equation} > > But with M-x org-mime-htmlize, the png image is not loaded. Why? Your > help is welcome. > > - A while back Org-mode switched its method of exporting latex equations to HTML. Equations used to be exported as png images, however they are now exported as markup which may then be processed on the fly by client-side javascript. Most mail readers do not allow javascript in html email, and I doubt that the required javascript headers are included in the mail html mime part. I don't know if it is currently possible to do the javascript pre-processing as part of the HTML export, but that would probably be the best solution in this case. Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte