From mboxrd@z Thu Jan 1 00:00:00 1970 From: henry atting Subject: help on ditaa Date: Thu, 25 Feb 2010 20:28:50 +0100 Message-ID: <87d3ztqfm5.fsf@online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkjPU-0000Jl-Im for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 14:30:08 -0500 Received: from [140.186.70.92] (port=52919 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkjPS-0000Ih-8O for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 14:30:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NkjPR-0003e4-AK for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 14:30:06 -0500 Received: from lo.gmane.org ([80.91.229.12]:36210) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkjPR-0003dv-4Z for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 14:30:05 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NkjPQ-0004Xl-1o for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 20:30:04 +0100 Received: from dslb-188-102-096-074.pools.arcor-ip.net ([188.102.96.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2010 20:30:04 +0100 Received: from nsmp_02 by dslb-188-102-096-074.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2010 20:30:04 +0100 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: emacs-orgmode@gnu.org What exactly is the proper way to export code with ditaa? My knowledge must be fragmentary for only the code is exported but the conversion to images failes. I did something like this: Load the appropriate libs, like org-babel, org-babel-tangle, org-ditaa, org-exp-blocks, then set the variable `org-ditaa-jar-path' to the ditaa jar file. The according lines in my org file look like this: #+begin_src ditaa :file image.png :cmdline -r +---------+ | cBLU | | | | +----+ | |cPNK| | | | +----+----+ #+end_src henry -- http://literaturlatenight.de