[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Wow -- adding images to an org file
From: |
Chris Thompson |
Subject: |
[Orgmode] Re: Wow -- adding images to an org file |
Date: |
Fri, 7 May 2010 02:16:12 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Nathan Neff <nathan.neff <at> gmail.com> writes:
>
> I just saw Andreas's screenshot here:
>
> http://orgmode.org/worg/org-screenshots.php
>
> If you zoom in to his screenshot,
> http://orgmode.org/img/screenshots/org_andreas.jpg
>
> You can see how he adds images to his org files.
> All that I had to do was put this into my emacs init file:
>
> (defun org-dblock-write:image (params)
> (let ((file (plist-get params :file)))
> (clear-image-cache file)
> (insert-image (create-image file) )))
>
> Then, put this in an org-file:
>
> #+BEGIN: image :file "~/Documents/personal/foo.png"
> #+END
>
> And run C-c C-c (or is it C-c C-x C-u)?
>
> Anyway, Cool stuff!
>
> --Nate
>
Another way to have images in org-mode documents is to use the "iimage"
minor mode, which handles inline images:
http://www.netlaputa.ne.jp/~kose/Emacs/iimage.html
For additional documentation:
http://orgmode.org/worg/org-configs/org-config-examples.php#sec-2_2
It's pretty nifty.
-- Chris