emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] org-create-formula-image requires 'gs' when it doesn't loo


From: Nicolas Goaziou
Subject: Re: [O] [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

Hello,

Frederick Giasson <address@hidden> 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 
> 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)

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,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]