From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Beck Subject: org-create-formula-image-with-imagemagick conflicts with org-latex-pdf-process Date: Tue, 26 Feb 2013 07:09:39 +0100 Message-ID: <87fw0jsj18.fsf@sophokles.streitblatt.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UADjc-0005ex-AY for emacs-orgmode@gnu.org; Tue, 26 Feb 2013 01:09:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UADjZ-0005F7-GT for emacs-orgmode@gnu.org; Tue, 26 Feb 2013 01:09:52 -0500 Received: from mo6-p00-ob.rzone.de ([2a01:238:20a:202:5300::1]:46504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UADjZ-0005EZ-8X for emacs-orgmode@gnu.org; Tue, 26 Feb 2013 01:09:49 -0500 Received: from flo-laptop ([82.113.98.146]) by smtp.strato.de (josoe mo24) (RZmta 31.18 DYNA|AUTH) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id v00ad8p1Q40jO6 for ; Tue, 26 Feb 2013 07:09:44 +0100 (CET) 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 `org-create-formula-image-with-imagemagick' doesn't handle the case that `org-latex-pdf-process' is set to a function. To reproduce: - set `org-latex-pdf-process' to a function - (setq org-latex-create-formula-image-program 'imagemagick) this makes preview fail - set #+OPTIONS: latex:imagemagick => html export broken However, just calling this function from `org-create-formula-image-with-imagemagick' would not be a good idea. How about adding a new variable `org-latex-formula-pdf-process'? -- Florian Beck