From: Nicolas Goaziou <n.goaziou@gmail.com>
To: feng shu <tumashu@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] bugfix: fix previewing latex fragments with imagemagick
Date: Sun, 14 Jul 2013 10:35:30 +0200 [thread overview]
Message-ID: <87a9lplest.fsf@gmail.com> (raw)
In-Reply-To: <87ehb1lf31.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 14 Jul 2013 10:29:22 +0200")
Correcting myself:
Nicolas Goaziou <n.goaziou@gmail.com> writes:
>
> feng shu <tumashu@gmail.com> writes:
>
>> (unless (and (org-check-external-command "latex" "" t)
>> - (org-check-external-command "dvipng" "" t))
>> + (org-check-external-command "dvipng" "" t)
>> + (org-check-external-command "convert" "" t))
>
> There's a missing `or':
>
> (or (org-check-external-command "dvipng" "" t)
> (org-check-external-command "convert" "" t))
Err. This is still wrong.
Use
(and (org-check-external-command "latex" "" t)
(org-check-external-command
(if (eq processing-type 'dvipng) "dvipng" "convert") "" t))
instead.
--
Nicolas Goaziou
next prev parent reply other threads:[~2013-07-14 8:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-14 7:02 [PATCH] bugfix: fix previewing latex fragments with imagemagick feng shu
2013-07-14 7:06 ` feng shu
2013-07-14 8:29 ` Nicolas Goaziou
2013-07-14 8:35 ` Nicolas Goaziou [this message]
2013-07-14 13:08 ` Feng Shu
2013-07-15 7:43 ` Nicolas Goaziou
2013-07-14 13:03 ` Feng Shu
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=87a9lplest.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tumashu@gmail.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).