|
From: | Nicolas Goaziou |
Subject: | Re: [O] [PATCH] bugfix: fix previewing latex fragments with imagemagick |
Date: | Sun, 14 Jul 2013 10:35:30 +0200 |
Correcting myself: Nicolas Goaziou <address@hidden> writes: > > feng shu <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |