Awesome!  Many thanks.

I used to toggle so much between an image (charts/graphs) and Emacs
while writing about it but now.. wow!

Thanks again.
-- Manish

On Sat, Aug 23, 2008 at 4:30 AM, James TD Smith <[EMAIL PROTECTED]> wrote:
> On 2008-08-22 17:52:46(-0400), Lindsay Todd wrote:
>> Is there a way to link to a file containing an image, and have the
>> image display inline in org-mode?  I know that if the org file is
>> exported to HTML, it can be done so that the HTML file displays the
>> image inline -- but I'd kind of like to be able to see the linked
>> images from the org file itself, much like I can do with a muse file.
>> (Although if there were a file-wide property to control whether or not
>> that happens, it would be nice -- I could see maybe wanting to never
>> inline in some files.)
>
> You can do this using iimage; add the following to your .emacs:
>
> ;;iimage
> (require 'iimage)
> (setq iimage-mode-image-search-path (expand-file-name "~/"))
> ;;Match org file: links
> (add-to-list 'iimage-mode-image-regex-alist
>             (cons (concat "\\[\\[file:\\(~?" iimage-mode-image-filename-regex
>                           "\\)\\]")  1))
> (define-key org-mode-map [(control c) ?i] 'iimage-mode)
>
> You can then toggle inline display of images in an org buffer using C-c i.
>
> --
> |-<James TD Smith>-<email/[EMAIL PROTECTED]>-|
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to