From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederick Giasson Subject: [BUG] org-create-formula-image requires 'gs' when it doesn't look like to be necessary (causing issues on Windows) Date: Fri, 11 Nov 2016 09:07:28 -0500 Message-ID: <639f70ca-4ba1-aadf-2f07-6a8d18b0320d@fgiasson.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5CUT-0001SE-R9 for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 09:07:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5CUP-0003VP-QJ for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 09:07:37 -0500 Received: from s052.panelboxmanager.com ([72.55.186.33]:38085) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c5CUP-0003VI-Mk for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 09:07:33 -0500 Received: from mailnull by s052.panelboxmanager.com with sa-checked (Exim 4.87) (envelope-from ) id 1c5CUK-002S22-I1 for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 09:07:29 -0500 Received: from modemcable199.69-130-66.mc.videotron.ca ([66.130.69.199]:54596 helo=[192.168.0.199]) by s052.panelboxmanager.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1c5CUK-002S1l-Dy for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 09:07:28 -0500 Content-Language: en-US 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" To: emacs-orgmode@gnu.org Hi, I am a Windows user and I am testing the Org 9.x branch. I just discovered that I couldn't display inline latex anymore using C-c C-x C-l. I was getting that error: org-create-formula-image: Can’t find ‘gs’ (you need to install the programs: latex, dvipng and ghostscript.) A look at orl.el line #4079: "(defcustom org-preview-latex-process-alist", for "dvipng" we have a programs list: "("latex" "dvipng" "gs")" The problem here is that "gs" is not an executable that exists in Ghostscript for Windows nor I think it is necessary for that to work. I did remove it from the list of required parameters, then I restarted Emacs and everything is working fine now. Any thoughts on that? Should it be fixed? (I guess) Thanks, Fred