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: org-babel-default-header-args:latex '((:results . "file raw") (:exports . "results") (:cache . "yes") (:headers . ("\\usepackage{tikz}")) (:imagemagick . "yes") (:fit . "yes"))) Try adding them to you src block or to you config. :cache and :fit aren't necessary for your goal but desirable anyway. The others I think you will need them. Of course, if you're embedding your tikz environment in a document exported to latex, simply embed the fragment (that is, without the src block) and preview it with C-c C-x C-l. > When using the org-plus-contrib package from the org archive > (9.2.1-8-g1b1797-elpaplus), I don't know what is this, but could it be shipped with different babel defaults? Best regards -- Carlos