From: Henri-Paul Indiogine <hindiogine@gmail.com>
To: emacs-org <emacs-orgmode@gnu.org>
Subject: Re: ditaa
Date: Sat, 13 Aug 2011 01:00:48 -0700 [thread overview]
Message-ID: <CAG_r7O5prJ8wTSejwFO5EXfqPgvqAr6Wb6VBd9-sPa6YHj0bRw@mail.gmail.com> (raw)
In-Reply-To: <6671.1313218507@alphaville.dokosmarshall.org>
Greetings!
This is from my .emacs
(org-babel-do-load-languages
'org-babel-load-languages
'((R . t)
(ditaa . t)
.........
.........
(defun my-org-confirm-babel-evaluate (lang body)
(not (string= lang "ditaa"))) ; don't ask for ditaa
(setq org-confirm-babel-evaluate 'my-org-confirm-babel-evaluate)
This is what I obtain in the exported tex file:
\hyperref[home-henk-Dropbox-dissertation-work-flow.png]{file:/home/henk/Dropbox/dissertation/work-flow.png}
The ditaa code is between these lines:
#+CAPTION: Research work flow
#+LABEL: fig:workflow
#+begin_src ditaa :file /home/henk/Dropbox/dissertation/work-flow.png
:cmdline -r -s 1.0
......
#+end_src
If I execute the code (C-c C-c) I obtain the following:
ditaa version 0.9, Copyright (C) 2004--2009 Efstathios (Stathis) Sideris
Running with options:
round-corners
scale = 1.0
Reading file: /tmp/babel-4681Hni/ditaa-46811gs
Locale: en_CA
Dialog.bold
Rendering to file: /home/henk/Dropbox/dissertation/work-flow.png
Done in 5sec
The png file is created. The only issue is the faulty tex code that
is generated.
I have also noticed that the editing of the org file sometimes slows
down considerably. Maybe it has nothing to do with it, but it
happened after I started using ditaa. I am wondering about using TikZ
instead.
Thanks,
Henri-Paul
--
Henri-Paul Indiogine
Curriculum & Instruction
Texas A&M University
TutorFind Learning Centre
Email: hindiogine@gmail.com
Skype: hindiogine
Website: http://people.cehd.tamu.edu/~sindiogine
next prev parent reply other threads:[~2011-08-13 8:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-13 0:06 ditaa Henri-Paul Indiogine
2011-08-13 6:39 ` ditaa Sebastien Vauban
2011-08-13 6:55 ` ditaa Nick Dokos
2011-08-13 8:00 ` Henri-Paul Indiogine [this message]
2011-08-19 13:30 ` ditaa Eric Schulte
2011-08-19 15:52 ` ditaa Henri-Paul Indiogine
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=CAG_r7O5prJ8wTSejwFO5EXfqPgvqAr6Wb6VBd9-sPa6YHj0bRw@mail.gmail.com \
--to=hindiogine@gmail.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 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).