Re: [O] problem with babel and dot

2016-02-13 Thread Eric S Fraga
Okay, I have figured this out and here is the solution in case anybody else wants to do something like this: 1. create a very simple dot src block: #+begin_src org ,#+name: generate-graph ,#+begin_src dot :var graph="digraph {}" :file graph.pdf $graph ,#+end_src #+end_

Re: [O] problem with babel and dot

2016-02-12 Thread Eric S Fraga
I've had a suggestion to use ":wrap src dot" for my elisp code, to avoid using internal API calls. This is a good suggestion but I cannot figure out how to actually accomplish what I want. Basically, I want to #+call: a src block which takes my tables as arguments, uses my elisp code to generate