emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Juri Artamonov <jartamonov@gmail.com>
To: Erik Iverson <eriki@ccbr.umn.edu>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Ditaa usage
Date: Wed, 22 Sep 2010 16:40:53 +0300	[thread overview]
Message-ID: <AANLkTikHhkjmvNedcVXejNSvN+RN6Xy-WfrdRzDBTybx@mail.gmail.com> (raw)
In-Reply-To: <4C9A01ED.2010503@ccbr.umn.edu>


[-- Attachment #1.1: Type: text/plain, Size: 4358 bytes --]

Erik,

I would love to update but I have emacsW32 installed and don't know how to
update orgmode inside of it.

Perhaps you can advice or maybe it's even better to reinstall first emacs
and then orgmode. What do you think?

Thank you,
                       Juri.

On Wed, Sep 22, 2010 at 4:17 PM, Erik Iverson <eriki@ccbr.umn.edu> wrote:

> On 09/22/2010 08:08 AM, Juri Artamonov wrote:
>
>> 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.
>>
>
> From your previous post, looks like you're using a fairly old version
> of org-mode.  using source code blocks like ditaa is much simplified
> in org-mode 7.01, so just upgrade to that and you'll be all set.
>
>
>
>> 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 <jw.hendy@gmail.com
>> <mailto:jw.hendy@gmail.com>> wrote:
>>
>>    Do you have the necessary lines for babl as described here:
>>    http://orgmode.org/worg/org-contrib/babel/languages.php#configure
>>
>>    <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
>>    <jartamonov@gmail.com <mailto: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_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 <mailto:Emacs-orgmode@gnu.org>
>>
>>        http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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
>

[-- Attachment #1.2: Type: text/html, Size: 6465 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-09-22 13:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22 12:06 Ditaa usage Juri Artamonov
2010-09-22 12:23 ` John Hendy
2010-09-22 13:08   ` Juri Artamonov
2010-09-22 13:17     ` Erik Iverson
2010-09-22 13:40       ` Juri Artamonov [this message]
2010-09-22 13:56         ` Giovanni Ridolfi
2010-09-22 17:24         ` Achim Gratz
2010-09-22 18:25           ` John Hendy

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=AANLkTikHhkjmvNedcVXejNSvN+RN6Xy-WfrdRzDBTybx@mail.gmail.com \
    --to=jartamonov@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eriki@ccbr.umn.edu \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).