Re: [Orgmode] Need help on org-exp-blocks and dot

2011-01-20 Thread Bryan Emrys
Thank you Eric and Erik for the incredibly quick troubleshooting. I updated .emacs with the setenv command suggested by Eric, restarted emacs and everything now works as expected. Bryan On Thu, Jan 20, 2011 at 1:51 PM, Eric Schulte wrote: > back when I had to use a mac, I would just symlink path

Re: [Orgmode] Need help on org-exp-blocks and dot

2011-01-20 Thread Eric Schulte
back when I had to use a mac, I would just symlink paths into standard locations, e.g. ln -s /opt/local/bin/dot /usr/bin/dot Maybe not the most elegant solution, but it works reliably To do this the *right* way you can update the PATH environment variable *within* Emacs by doing something like

Re: [Orgmode] Need help on org-exp-blocks and dot

2011-01-20 Thread Erik Iverson
Bryan Emrys wrote: /usr/local/bin is also in /etc/paths if I echo $PATH, I get /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin How are you echoing path, starting up a terminal, or within Emacs M-x shell? What if you try M-x getenv PATH in Emacs?

Re: [Orgmode] Need help on org-exp-blocks and dot

2011-01-20 Thread Bryan Emrys
/usr/local/bin is also in /etc/paths if I echo $PATH, I get /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Thanks, Bryan On Thu, Jan 20, 2011 at 1:33 PM, Bryan Emrys wrote: > Eric, > > .profile has: > # MacPorts Installer addition on 2009-04-08_at_20

Re: [Orgmode] Need help on org-exp-blocks and dot

2011-01-20 Thread Bryan Emrys
Eric, .profile has: # MacPorts Installer addition on 2009-04-08_at_20:48:37: adding an appropriate PATH variable for use with MacPorts. export PATH=/opt/local/bin:/opt/local/sbin:$PATH # Finished adapting your PATH environment variable for use with MacPorts. On Thu, Jan 20, 2011 at 1:28 PM, Erik

Re: [Orgmode] Need help on org-exp-blocks and dot

2011-01-20 Thread Erik Iverson
Bryan Emrys wrote: Hi, Now getting an error message: /bin/bash: dot: command not found Hmm. Pathname issue? Absolutely. On the mac, dot is in /opt/local/bin/dot My .emacs file has: (setq load-path (cons "/opt/local/bin" load-path)) That won't add anything to your shell's path, it's ju

Re: [Orgmode] Need help on org-exp-blocks and dot

2011-01-20 Thread Bryan Emrys
Hi, Now getting an error message: /bin/bash: dot: command not found Hmm. Pathname issue? On the mac, dot is in /opt/local/bin/dot My .emacs file has: (setq load-path (cons "/opt/local/bin" load-path)) I can certainly just open a terminal window and run dot from the command line. Thanks for any

Re: [Orgmode] Need help on org-exp-blocks and dot

2011-01-20 Thread Eric Schulte
Hi Bryan, For generating dot graphics from Org-mode it is now suggested to use a normal code block rather than org-exp-blocks, for example the following should generate a graph when pressing C-c C-c on the block, and on export should include the resulting graph rather than the code block. from ht