From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Frederick Giasson <fred@fgiasson.com>
Cc: Feng Shu <tumashu@163.com>, emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <87oa1mdpsv.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <639f70ca-4ba1-aadf-2f07-6a8d18b0320d@fgiasson.com> (Frederick Giasson's message of "Fri, 11 Nov 2016 09:07:28 -0500")
Hello,
Frederick Giasson <fred@fgiasson.com> 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
next prev parent reply other threads:[~2016-11-11 15:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-11 14:07 [BUG] org-create-formula-image requires 'gs' when it doesn't look like to be necessary (causing issues on Windows) Frederick Giasson
2016-11-11 14:08 ` Frederick Giasson
2016-11-11 15:00 ` Nicolas Goaziou [this message]
2016-11-11 15:02 ` Frederick Giasson
2016-11-11 16:49 ` Rick Frankel
2016-11-12 0:24 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oa1mdpsv.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=fred@fgiasson.com \
--cc=tumashu@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).