From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Re: [babel] Give a name to the plot Date: Fri, 04 Dec 2009 12:04:10 -0500 Message-ID: <87ws12r7qt.fsf@stats.ox.ac.uk> References: <874oo73bss.fsf@mundaneum.com> <87my1z3907.fsf@stats.ox.ac.uk> <87d42vcd1g.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGbZw-0007eU-8X for emacs-orgmode@gnu.org; Fri, 04 Dec 2009 12:04:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGbZr-0007X6-8u for emacs-orgmode@gnu.org; Fri, 04 Dec 2009 12:04:23 -0500 Received: from [199.232.76.173] (port=48458 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGbZr-0007Ws-1P for emacs-orgmode@gnu.org; Fri, 04 Dec 2009 12:04:19 -0500 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:49088) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGbZq-0007fZ-Q4 for emacs-orgmode@gnu.org; Fri, 04 Dec 2009 12:04:19 -0500 In-Reply-To: <87d42vcd1g.fsf@mundaneum.com> (=?utf-8?Q?=22S=C3=A9bastien?= Vauban"'s message of "Fri, 04 Dec 2009 10:18:51 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org <...> > A side question (now that I have more graphics appearing in my example > document): is there/would there/will there be a way to regenerate all the > graphics included in my document? Hi Seb, Currently we have org-babel-execute-buffer and org-babel-execute-subtree. By the way, if you're generating graphics, I just started playing with inline images in org buffers (e.g. org-babel results). Eric's emacs starter kit[1] contains this configuration[2] for using inline images in org. I haven't worked out how to get the images to refresh when the underlying file changes (any tips? All I've learned so far really is it's a good way to make emacs segfault.) but check it out if you haven't already. > I can imagine (that's how Carsten does see the things with the tables, if I > understand correctly) this never will or would be automatic upon opening of > file I guess you could use a hook, right? E.g. find-file-hook? Dan Footnotes: [1] http://github.com/eschulte/emacs-starter-kit [2] ** Support for viewing images This allows for the viewing of images in-line in Org-mode documents. #+begin_src emacs-lisp (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)) (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