[O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
I'm trying to do an export by calling emacs from the command line like so: emacs -batch --visit=myfilename --funcall org-export-as-html The export works fine except the ditaa png from ditaa source block doesn't get created. I've run the export from within emacs and the ditaa png does get

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Carsten Dominik
Hi Herbert, On Jun 10, 2011, at 9:33 AM, Herbert Sitz wrote: I'm trying to do an export by calling emacs from the command line like so: emacs -batch --visit=myfilename --funcall org-export-as-html maybe you need to do emacs -batch --visit=myfilename --eval '(setq org-confirm-babel-evaluate

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Carsten Dominik carsten.dominik at gmail.com writes: On Jun 10, 2011, at 9:33 AM, Herbert Sitz wrote: I'm trying to do an export by calling emacs from the command line like so: emacs -batch --visit=myfilename --funcall org-export-as-html maybe you need to do emacs -batch

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Herbert Sitz hsitz at nwlink.com writes: Thanks for those tips, had forgotten about loading of settings, though .emacs was still getting loaded. . . That was a typo, meant to say, I thought .emacs was still getting loaded.

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Nick Dokos
Herbert Sitz hs...@nwlink.com wrote: Carsten Dominik carsten.dominik at gmail.com writes: On Jun 10, 2011, at 9:33 AM, Herbert Sitz wrote: I'm trying to do an export by calling emacs from the command line like so: emacs -batch --visit=myfilename --funcall org-export-as-html

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Nick Dokos nicholas.dokos at hp.com writes: Works fine for me here, so there is probably a syntax error in the lisp file(s) you load or the lisp code you eval - try using a minimal setup file as shown below: I do emacs -batch --visit=foo.org -l export.el --funcall org-export-as-html

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Nick Dokos
Herbert Sitz hs...@nwlink.com wrote: Nick Dokos nicholas.dokos at hp.com writes: Works fine for me here, so there is probably a syntax error in the lisp file(s) you load or the lisp code you eval - try using a minimal setup file as shown below: I do emacs -batch

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Nick Dokos nicholas.dokos at hp.com writes: That's a quoting problem (you are on Windoze, right?) The command line on Windoze sucks raw eggs (well, not just the command line, but I'm biased . You are correct, sir! Thanks, it is indeed a quoting problem. On Linux, I used two kinds of quotes