[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problem with ditaa when doing export from command line
From: |
Herbert Sitz |
Subject: |
Re: [O] Problem with ditaa when doing export from command line |
Date: |
Fri, 10 Jun 2011 19:18:16 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
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
>
> 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