From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juri Artamonov Subject: Re: Ditaa usage Date: Wed, 22 Sep 2010 16:08:34 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0097550399==" Return-path: Received: from [140.186.70.92] (port=58814 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyP3y-0003dS-8p for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 09:08:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyP3t-0008EW-Aw for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 09:08:42 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:58713) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyP3t-0008EH-3X for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 09:08:37 -0400 Received: by iwn33 with SMTP id 33so905095iwn.0 for ; Wed, 22 Sep 2010 06:08:36 -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: John Hendy , emacs-orgmode --===============0097550399== Content-Type: multipart/alternative; boundary=00504501416fe570000490d8d7a8 --00504501416fe570000490d8d7a8 Content-Type: text/plain; charset=ISO-8859-1 Hello John, if I add what you provided then I have "Warning (initialization): An error occurred while loading `c:/emacs/.emacs.d/init.el': Symbol's function definition is void: org-babel-do-load-languages" message. I have added this for now: (setq org-ditaa-jar-path "~/lib/ditaa0_9.jar") (setq org-babel-load-languages (quote ((emacs-lisp . t) (dot . t) (ditaa . t) (R . t) (python . t) (ruby . t) (gnuplot . t) (clojure . t) (sh . t)))) In result I don't have error message on initialization but after export I have at least area with where the lines are shown exactly the same as I wrote in org file but without any converting to the image. Maybe I need something to install additionally or add something else to the configuration? Thank you, Juri. On Wed, Sep 22, 2010 at 3:23 PM, John Hendy wrote: > 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 >> >> > --00504501416fe570000490d8d7a8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello John,

if I add what you provided then I have

"War= ning (initialization): An error occurred while loading `c:/emacs/.emacs.d/i= nit.el':
Symbol's function definition is void: org-babel-do-load= -languages"

message.

I have added this for now:

(setq org-ditaa-jar-p= ath "~/lib/ditaa0_9.jar")

(setq org-babel-load-languages (= quote ((emacs-lisp . t)
=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 (d= ot . t)
=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 (ditaa . t)
=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 (R . t)
=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 (python . t)
=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 (ruby . t)
=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 (gnuplot . = t)
=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 (clojure . t)
=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 (sh . t))))

In result I don't = have error message on initialization but after export I have at least area = with where the lines are shown exactly the same as I wrote in org file but = without any converting to the image.

Maybe I need something to install additionally or add something else to= the configuration?

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

On W= ed, Sep 22, 2010 at 3:23 PM, John Hendy <jw.hendy@gmail.com> wrote:
Do you have the n= ecessary lines for babl as described here:=A0http://or= gmode.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 Ar= tamonov <jartamonov@gmail.com> 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_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@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



--00504501416fe570000490d8d7a8-- --===============0097550399== 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 --===============0097550399==--