emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Ditaa usage


From: John Hendy
Subject: Re: [Orgmode] Ditaa usage
Date: Wed, 22 Sep 2010 07:23:46 -0500

Do you have the necessary lines for babl as described here: http://orgmode.org/worg/org-contrib/babel/languages.php#configure

Namely:

----
;; active Babel languages
(org-babel-do-load-languages
 'org-babel-load-languages
 '((gnuplot . t)
   (ditaa . t)
   ))
----
You don't have to have gnuplot... just put whatever languages you want in the form "language . t" and you're set.

See if that helps.


John

On Wed, Sep 22, 2010 at 7:06 AM, Juri Artamonov <address@hidden> wrote:
Hello Guys,

I'm still learning how to correctly configure orgmode. One of the items is ditaa usage.

I have the following in my org file.

#+begin_src ditaa :file task_states.png :cmdline -r -s 0.8
 +--------+       +---------+       +--------+
     |        |       |         |       |        |
  +--+  TODO  +------>+  NEXT   +------>+  DONE  |
  |  | cRED   |       |  cBLU   |       | cGRE   |
  |  +--+-+---+       +--+---+--+       +--------+
 
#+end_src

#+results:
file:task_states.png

init.el
contains reference to ditaa library.

(setq org-ditaa-jar-path "~/lib/ditaa0_9.jar")

Could you please tell me what else do I need to configure in order to have graphics in result of exporting the file into HTML?

Thank you,
                        Juri.


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]