From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Sitz Subject: Re: Problem with ditaa when doing export from command line Date: Fri, 10 Jun 2011 19:18:16 +0000 (UTC) Message-ID: References: <44422493-1A8F-43B6-8051-945C794DFA57@gmail.com> <6075.1307722907@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QV7Dx-0004it-HS for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 15:18:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QV7Dw-0006zW-KX for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 15:18:29 -0400 Received: from lo.gmane.org ([80.91.229.12]:52244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QV7Dw-0006zO-61 for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 15:18:28 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QV7Dv-0008ES-8K for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 21:18:27 +0200 Received: from c-24-22-131-140.hsd1.wa.comcast.net ([24.22.131.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jun 2011 21:18:27 +0200 Received: from hsitz by c-24-22-131-140.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jun 2011 21:18:27 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nick Dokos 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 > > with export.el containing the following: > > --8<---------------cut here---------------start------------->8--- > setq org-confirm-babel-evaluate nil) > require 'ob-ditaa) > setq org-babel-temporary-directory "tmp") >setq org-ditaa-jar-path "/home/nick/elisp/org-mode/contrib/scripts/ditaa.jar") > --8<---------------cut here---------------end--------------->8--- > Nick -- Thanks very much, I did get it working with your help. However I could not get it to work if I used an --eval in the command line, had to move the assignment into setting.el to get it to work. Did you get it to work with an --eval statement in the command line? -- Herb