From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [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 16:00:48 +0100 Message-ID: <87oa1mdpsv.fsf@nicolasgoaziou.fr> References: <639f70ca-4ba1-aadf-2f07-6a8d18b0320d@fgiasson.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5DJx-00089o-Ik for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 10:00:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5DJw-0007Rs-Q4 for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 10:00:49 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:55485) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c5DJw-0007R2-Jg for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 10:00:48 -0500 In-Reply-To: <639f70ca-4ba1-aadf-2f07-6a8d18b0320d@fgiasson.com> (Frederick Giasson's message of "Fri, 11 Nov 2016 09:07:28 -0500") 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: Frederick Giasson Cc: Feng Shu , emacs-orgmode@gnu.org Hello, Frederick Giasson writes: > 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=20 > C-l. I was getting that error: > > > org-create-formula-image: Can=E2=80=99t find =E2=80=98gs=E2=80=99 (yo= u 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) Do you mean that "gs" could be removed from all entries in `org-preview-latex-process-alist'? I'm Cc'ing Feng Shu, who implemented the new LaTeX preview mechanism. He hopefully knows why this dependency was introduced in the first place. Regards, --=20 Nicolas Goaziou