(My first question ever on SO)
Goal: to generate an
svg out of a
tikz block in orgmode with a minimal working example.
I have tried everything within my limited knowledge and I've broken down a supposedly minimal example to this.
#+begin_src latex :imagemagick yes :file circle.svg
\fill[yellow] (0,0) circle (3cm);
However, instead of producing a yellow circle, my snippet creates an
svg version of the body of the source block (see below):
I've changed the header arguments, changed the extension, I even installed Emacs (Doom Emacs) and Orgmode again and still can't get this to work. I don't know what else to try.
I've used as guide:
If someone could just paste a simple example that works on their machine I would really appreciate it so I could be sure that this thing actually works.
I've seen countless examples of how to manipulate output and other things related to svg and orgmode: the resonant
by-backend macro so depending on the export you leave the tikz as is or transform it to svg (my next goal) -
-- I can't get that macro to work either, but that's for the future me ---.
However, I can't manage to create a simple working example to create an
svg from a
tikz source code block in the first place. I need help please.
I did as much research as possible before posting this question, however I am aware that it may not be enough so I will edit accordingly if necessary.