Hi Eric S Fraga,
Eric S Fraga wrote:
> I don't display images in my Emacs so cannot verify that this will work
> unfortunately (I don't even know how to get Emacs to display images, for
> that matter...).
For the sake of completeness about this last point, this is some code I have
in my staging area (of my .emacs file):
#+begin_src emacs-lisp
(require 'iimage)
;; This allows for the viewing of images in-line in Org mode
;; documents.
(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))
(defun org-toggle-iimage-in-org ()
(interactive)
(let ((turning-on (not iimage-mode)))
(set-face-underline-p 'org-link (not turning-on))
(iimage-mode (or turning-on 0)))))
#+end_src
Best regards,
Seb
--
Sebastien Vauban