From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Julian M. Burgos" Subject: Re: Viewing pdf images Date: Tue, 21 Mar 2017 10:34:37 +0000 Message-ID: References: <52f1d2ee-b964-39ac-3c96-674ad7b6137e@yahoo.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]:48811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqH7s-00018q-90 for emacs-orgmode@gnu.org; Tue, 21 Mar 2017 06:34:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqH7n-0005sd-84 for emacs-orgmode@gnu.org; Tue, 21 Mar 2017 06:34:52 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:50536) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqH7m-0005qq-T8 for emacs-orgmode@gnu.org; Tue, 21 Mar 2017 06:34:47 -0400 In-reply-to: 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: "Doyley, Marvin M." Cc: "emacs-orgmode@gnu.org" , Norwid Behrnd I have the following in my .emacs file. For this to work you need to have your emacs compiled with imagemagick support (and have imagemagick installed, of course). It works well, although the images do not appear immediately the first time you toggle them because the conversion takes a little bit. #+BEGIN_SRC emacs-lisp (setq image-file-name-extensions (quote ("png" "jpeg" "jpg" "gif" "tiff" "tif" "xbm" "xpm" "pbm" "pgm" "ppm" = "pnm" "svg" "pdf" "bmp" "eps"))) (add-to-list 'image-type-file-name-regexps '("\\.eps\\'" . imagemagick)) (add-to-list 'image-file-name-extensions "eps") (add-to-list 'image-type-file-name-regexps '("\\.pdf\\'" . imagemagick)) (add-to-list 'image-file-name-extensions "pdf") (setq imagemagick-types-inhibit (remove 'PDF imagemagick-types-inhibit)) #+END_SRC Doyley, Marvin M. writes: > Doesn=E2=80=99t work. Emacs just Hangs :( >> On Mar 17, 2017, at 8:43 AM, Norwid Behrnd wrote: >> >> >> To include and display pdf files, perhaps the setup outlined here is >> still working (dates back 2014...) >> >> https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__emacs.stackexcha= nge.com_questions_390_display-2Dpdf-2Dimages-2Din-2Dorg-2Dmode&d=3DDwIC-g= &c=3Dkbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=3Ds3_3riAscdqtNAzgOuwY= B9g0dZVGcp8BNCy_RylYdxU&m=3DcQ2XAFEKpHWcRH33Hvyanl-V2rE3v-7glys69pwm8CY&s= =3Drmvwv-l1KvLkkUN0iG1d7bT6-MNbzQOFpz5U4-fLPt0&e=3D >> >> Cheers. >> >> >> >> On 03/17/2017 01:27 PM, Doyley, Marvin M. wrote: >>> Hi there, >>> >>> For manuscripts, my research group and I typically save images in pdf >>> format, much better resolution. It would be nice to view pdf images >>> when working in org-mode. Does anybody know how to view pdf images in >>> org-mode. >>> >>> Thanks, M >>> >>> PS We also work with svg images too, that would also love to view in >>> org-mode >>> -- Julian Mariano Burgos, PhD Hafranns=C3=B3knastofnun, ranns=C3=B3kna- og r=C3=A1=C3=B0gjafarstofnun h= afs og vatna/ Marine and Freshwater Research Institute Sk=C3=BAlagata 4, 121 Reykjav=C3=ADk, Iceland S=C3=ADmi/Telephone : +354-5752037 Br=C3=A9fs=C3=ADmi/Telefax: +354-5752001 Netfang/Email: julian.burgos@hafogvatn.is