Also, make sure imagemagick is installed.
Btw, you might find this useful for previewing babel-generated images:
(defun my-org-babel-redisplay-images ()
(when org-inline-image-overlays
(org-redisplay-inline-images)))
(add-hook 'org-babel-after-execute-hook
Hi,
> #+HEADER: :file latex.svg
> #+HEADER: :results drawer
> #+BEGIN_SRC latex
I think you're missing some headers to get it working. For example, I
use the following defaults to preview/export images generated with
tikz to html/markdown documents:
Consider this latex source block,
#+HEADER: :file latex.svg
#+HEADER: :results drawer
#+BEGIN_SRC latex
\begin{tikzpicture}
\draw[red] (0,0) circle (1cm);
\end{tikzpicture}
#+END_SRC
I would like to preview the result inline using