emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-babel-execute:dot -- why doesn't this work?


From: Matt Price
Subject: Re: [O] org-babel-execute:dot -- why doesn't this work?
Date: Thu, 24 Sep 2015 08:46:49 -0400



On Thu, Sep 24, 2015 at 7:10 AM, Matt Price <address@hidden> wrote:


On Thu, Sep 24, 2015 at 12:00 AM, Nick Dokos <address@hidden> wrote:
Matt Price <address@hidden> writes:

-----
it looks about right until the very end; Manually running "dot /tmp/babel-2749DTL/dot-2749Nkt -Tpng -o /home/matt/example-diagram.png" from a shell works fine. However, the result of:

(org-babel-eval
     (concat cmd
         " " (org-babel-process-file-name in-file)
         " " cmdline
         " -o " (org-babel-process-file-name out-file)) "")

is "nil".  Any idea why that might be? 


Just a quick addendum.  Pausing during debugging and running

(with-temp-file in-file )
(org-babel-eval
 "dot /tmp/babel-2749DTL/dot-2749Nkt -Tpng -o /home/matt/example-diagram.png"  "") 

from a scratch buffer also works.  So I am really confused -- maybe there is something wrong with ob-dot itself?

Again, many thanks,
Matt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]