From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Fwd: puzzling org-mime-htmlize Date: Wed, 08 Jan 2014 14:23:02 -0500 Message-ID: <87eh4iffc9.fsf@alphaville.bos.redhat.com> References: <87ha9gi0o1.fsf@pku.edu.cn> <87sit02boz.fsf@gmail.com> <87lhyqzn5u.fsf@gmail.com> <87txdefq68.fsf@alphaville.bos.redhat.com> <878uuqcnpz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0yiz-0000la-CA for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 14:23:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0yis-0002if-TL for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 14:23:33 -0500 Received: from plane.gmane.org ([80.91.229.3]:39928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0yis-0002ia-MW for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 14:23:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W0yim-0002zl-Ov for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 20:23:20 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Jan 2014 20:23:20 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Jan 2014 20:23:20 +0100 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: emacs-orgmode@gnu.org Joseph Vidal-Rosset writes: > What is easy for you in one domain can be hard for other people, and > conversely for other domains. > > I'm back to Gnus finally and I am going to give you an example of what > works and what does not work with my org-mime-htmlize... > > * This title > > should work > > But the following formula > > $$ \neg \neg A \nvdash_{i} A $$ > > should not. > > Effectively : > > type="image/png" > filename="/tmp/ltxpng/latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png" > disposition=inline > id="<_tmp_ltxpng_latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png>"> > > > provokes this message : mm-insert-file-contents: Opening input file: > aucun fichier ou dossier de ce type, > /tmp/ltxpng/latex3088O8b_1791543855878815db07961548d62eeeb9ad27d0.png > > I hope that is what you expected from me... > Exactly. FWIW, it works fine for me, so it's not an org-mime (or oher org) problem. It is probably a problem in your setup: it seems that you cannot generate latex fragment images. Create a file, foo.org say, and insert the above content: --8<---------------cut here---------------start------------->8--- * This title should work But the following formula $$ \neg \neg A \nvdash_{i} A $$ should not. --8<---------------cut here---------------end--------------->8--- Split the window and visit the *Messages* buffer in one of the windows. Then do C-c C-x C-l in the foo.org window (or what amounts to the same thing, M-x org-preview-latex-fragment). Does it fail? What does the *Messages* buffer say? Nick