Kyle,
Thanks for the excellent sleuthing. Nailed it.
I took your second suggestion, and ended up with the following (for
those interested), which works like a charm:
=
(setq org-startup-with-inline-images t)
(require 'subr-x)
(defun ded:org-babel-inline-dis
Daniel E. Doherty writes:
> Nick,
>
> Thanks for trying this out. I tried this again using emacs -Q with both
> emacs27 and emacs28, and I still get the same result, i.e., it produces
> the link but does not display it inline. Both versions supported
> display of SVG graphics files.
Hmm, I see
On Tue, Apr 06 2021, Nick Dokos wrote:
FWIW, this works fine for me: Org mode version 9.4.4
(release_9.4.4-231-gf46925 @ /home/nick/elisp/org-mode/lisp/)
The only things I had to do was 1) to make the above into a tree by
adding a headline (otherwise, I guess org-mark-subtree would complain:
"Daniel E. Doherty" writes:
> I have a hook function (cribbed from Emacs Stack Exchange) to re-display
> inline images in the current subtree after execution of a source block
> if the header argument contains, ':results graphics'. As its last
> action, it calls:
>
> (org-display-inline-image
I have a hook function (cribbed from Emacs Stack Exchange) to re-display
inline images in the current subtree after execution of a source block
if the header argument contains, ':results graphics'. As its last
action, it calls:
(org-display-inline-images nil nil beg end)
where beg and end