From: Dan Davison <davison@stats.ox.ac.uk>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: [babel] Give a name to the plot
Date: Fri, 04 Dec 2009 12:04:10 -0500 [thread overview]
Message-ID: <87ws12r7qt.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <87d42vcd1g.fsf@mundaneum.com> ("Sébastien Vauban"'s message of "Fri, 04 Dec 2009 10:18:51 +0100")
<...>
> 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
prev parent reply other threads:[~2009-12-04 17:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 22:58 [babel] Give a name to the plot Sébastien Vauban
2009-12-03 23:58 ` Dan Davison
2009-12-04 9:18 ` Sébastien Vauban
2009-12-04 17:00 ` Eric Schulte
2009-12-04 17:04 ` Dan Davison [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ws12r7qt.fsf@stats.ox.ac.uk \
--to=davison@stats.ox.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=wxhgmqzgwmuf@spammotel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).