From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Ditaa usage Date: Wed, 22 Sep 2010 07:23:46 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0894436396==" Return-path: Received: from [140.186.70.92] (port=55726 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyOMY-0007Kz-Ip for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 08:23:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyOMW-00067x-Si for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 08:23:50 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:34926) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyOMW-00067j-KP for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 08:23:48 -0400 Received: by bwz10 with SMTP id 10so515198bwz.0 for ; Wed, 22 Sep 2010 05:23:47 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Juri Artamonov Cc: emacs-orgmode --===============0894436396== Content-Type: multipart/alternative; boundary=0016e6d7ef8e97daab0490d83719 --0016e6d7ef8e97daab0490d83719 Content-Type: text/plain; charset=ISO-8859-1 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 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. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > --0016e6d7ef8e97daab0490d83719 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Do you have the necessary lines for babl as described here:=A0http://orgmo= de.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 <jartamonov@gmail.com> wro= te:
Hello Guys,

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

I have the following in my org file.

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

#+results:
file:task_states.png

init.el<= br>contains reference to ditaa library.

(setq org-ditaa-jar-path &qu= ot;~/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 fil= e into HTML?

Thank you,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Juri.


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


--0016e6d7ef8e97daab0490d83719-- --===============0894436396== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0894436396==--