From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henri-Paul Indiogine Subject: Re: ditaa Date: Sat, 13 Aug 2011 01:00:48 -0700 Message-ID: References: <80sjp5olx6.fsf@somewhere.org> <6671.1313218507@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qs99e-0002qw-IA for emacs-orgmode@gnu.org; Sat, 13 Aug 2011 04:01:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qs99b-0003sY-IL for emacs-orgmode@gnu.org; Sat, 13 Aug 2011 04:01:14 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:36414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qs99b-0003sI-CM for emacs-orgmode@gnu.org; Sat, 13 Aug 2011 04:01:11 -0400 Received: by bkbzt4 with SMTP id zt4so2471573bkb.0 for ; Sat, 13 Aug 2011 01:01:10 -0700 (PDT) In-Reply-To: <6671.1313218507@alphaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-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