From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Gauland Subject: Re: [babel] support plantuml Date: Thu, 26 Aug 2010 01:44:08 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=55700 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoRVx-0008PH-FN for emacs-orgmode@gnu.org; Wed, 25 Aug 2010 21:44:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoRVw-0006D6-B2 for emacs-orgmode@gnu.org; Wed, 25 Aug 2010 21:44:25 -0400 Received: from lo.gmane.org ([80.91.229.12]:43561) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoRVw-0006Ct-4O for emacs-orgmode@gnu.org; Wed, 25 Aug 2010 21:44:24 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OoRVr-0002Vk-8T for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 03:44:20 +0200 Received: from 114-134-6-5.rurallink.co.nz ([114.134.6.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Aug 2010 03:44:19 +0200 Received: from mikelygee by 114-134-6-5.rurallink.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Aug 2010 03:44:19 +0200 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 This looks very useful, but I'm having trouble getting it to work. Do you have an example? I tried this: #+BEGIN_SRC plantuml :file uml.png Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response #+END_SRC If I also change ' enduml' to '@uml' in this line: (with-temp-file in-file (insert (concat "@startuml\n" body "\n enduml"))) I can get an image if I evaluate the block manually (e.g., via 'C-c C-c' with the cursor on the BEGIN block), but when I export the file the image is invalid. Any suggestions would be appreciated. Thanks, Mike