[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] using pdf as output of src-block doesn't show an inline image
From: |
Arun Persaud |
Subject: |
Re: [O] using pdf as output of src-block doesn't show an inline image |
Date: |
Sun, 7 Feb 2016 18:27:13 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Hi
managed to get pdfs to display ;)
Here is what I added in my .emacs file:
(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))
(setq org-image-actual-width 600)
This works for me, but I always need to run org-display-inline-images by
hand after I changed something in my python code. That is, the images
don't update automatically, which they did for pngs. Any idea why that is?
Another question I have now, is if the above code messes up other modes,
I guess there was/is a reason to inhibit pdfs with imagemagick. How do I
make the above changes only apply to org-mode buffers?
Arun