From: Ken Mankoff <mankoff@gmail.com>
To: Grant Rettke <gcr@wisdomandwonder.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?
Date: Fri, 11 Jul 2014 20:28:20 -0400 [thread overview]
Message-ID: <m2wqbj8ln0.fsf@gmail.com> (raw)
In-Reply-To: <CAAjq1meJR7-+0rFRpjS46nupQ-TRzZq8LT2gXtL4X3aO0Rw_BA@mail.gmail.com>
Try (org-redisplay-inline-images). Note "re".
#+BEGIN_SRC <lang> :post (org-redisplay-inline-images)
#+END_SRC
#+RESULTS:
-k.
* On 2014-07-11 at 20:14, Grant Rettke wrote:
> Hi,
>
> The ability to use graphviz in an org document is stellar and makes it
> so much more productive to use org.
>
> Combined with inline image display, it is a powerhouse combo.
>
> After evaluating my source block, I would like to refresh the generated image.
>
> Thus far, I just call org-display-inline-image.
>
> What is the best way to automate it so that the images are always up to date?
>
> Kind regards,
>
> Grant Rettke | ACM, ASA, FSF, IEEE, SIAM
> gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
> “Wisdom begins in wonder.” --Socrates
> ((λ (x) (x x)) (λ (x) (x x)))
> “Life has become immeasurably better since I have been forced to stop
> taking it seriously.” --Thompson
next prev parent reply other threads:[~2014-07-12 0:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-12 0:14 How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed? Grant Rettke
2014-07-12 0:28 ` Ken Mankoff [this message]
2014-07-12 15:23 ` Grant Rettke
2014-07-14 15:26 ` Rick Frankel
2014-07-14 22:10 ` John Kitchin
2014-07-28 15:11 ` Sebastien Vauban
2014-07-28 15:19 ` Bastien
2014-08-04 14:18 ` Sebastien Vauban
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2wqbj8ln0.fsf@gmail.com \
--to=mankoff@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=gcr@wisdomandwonder.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.