emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Viewing pdf images


From: Kaushal Modi
Subject: Re: [O] Viewing pdf images
Date: Wed, 05 Apr 2017 03:22:03 +0000

In case you are interested, I have now updated the solution on emacs.stackexchange to not use #+HEADER for this purpose: http://emacs.stackexchange.com/a/401/115

Earlier discussion on that: http://lists.gnu.org/archive/html/emacs-orgmode/2017-01/msg00260.html

The solution still does the exact same thing as before.

On Tue, Mar 21, 2017 at 8:37 PM Doyley, Marvin M. <address@hidden> wrote:
Thanks,

Much appreciated.

Cheers,
M
> On Mar 21, 2017, at 6:34 AM, Julian M. Burgos <address@hidden> wrote:
>
> 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’t work. Emacs just Hangs :(
>>> On Mar 17, 2017, at 8:43 AM, Norwid Behrnd <address@hidden> 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=http-3A__emacs.stackexchange.com_questions_390_display-2Dpdf-2Dimages-2Din-2Dorg-2Dmode&d=DwIC-g&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=s3_3riAscdqtNAzgOuwYB9g0dZVGcp8BNCy_RylYdxU&m=cQ2XAFEKpHWcRH33Hvyanl-V2rE3v-7glys69pwm8CY&s=rmvwv-l1KvLkkUN0iG1d7bT6-MNbzQOFpz5U4-fLPt0&e=
>>>
>>> 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óknastofnun, rannsókna- og ráðgjafarstofnun hafs og vatna/
> Marine and Freshwater Research Institute
> Skúlagata 4, 121 Reykjavík, Iceland
> Sími/Telephone : +354-5752037
> Bréfsími/Telefax:  +354-5752001
> Netfang/Email: address@hidden

--

Kaushal Modi


reply via email to

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