all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Herbert Sitz <hsitz@nwlink.com>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with ditaa when doing export from command line
Date: Fri, 10 Jun 2011 19:18:16 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110610T211425-332@post.gmane.org> (raw)
In-Reply-To: 6075.1307722907@alphaville.americas.hpqcorp.net

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

  reply	other threads:[~2011-06-10 19:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10  7:33 Problem with ditaa when doing export from command line Herbert Sitz
2011-06-10  7:52 ` Carsten Dominik
2011-06-10 15:47   ` Herbert Sitz
2011-06-10 15:59     ` Herbert Sitz
2011-06-10 16:21     ` Nick Dokos
2011-06-10 19:18       ` Herbert Sitz [this message]
2011-06-10 19:42         ` Nick Dokos
2011-06-10 20:54           ` Herbert Sitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20110610T211425-332@post.gmane.org \
    --to=hsitz@nwlink.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.