From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mac Subject: Export ascii-images using ditaa when targeting HTML? Date: Thu, 6 Nov 2008 16:12:06 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ky7ab-0000N7-Cz for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 11:20:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ky7aY-0000MJ-R1 for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 11:20:09 -0500 Received: from [199.232.76.173] (port=46834 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ky7aY-0000ME-Iv for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 11:20:06 -0500 Received: from main.gmane.org ([80.91.229.2]:54889 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ky7aY-0001un-MR for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 11:20:06 -0500 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Ky7aU-0003ch-Uk for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 16:20:03 +0000 Received: from rota.kvaser.com ([195.22.86.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Nov 2008 16:20:02 +0000 Received: from xmfrw8002 by rota.kvaser.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Nov 2008 16:20:02 +0000 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 I would like to convert my ASCII-images inside my document.org before exporting the document to HTML. I've found this converter, ditaa, which is a java program that takes an ASCII text file and creates a png file (http://ditaa.sourceforge.net/). I intend to find my ASCII figure, save it as a separate text file, and run ditaa on it. In my document.org I'll comment the ASCII-art so it won't be exported and add a link so the image will be included in the html file. [[file:figure_1.png]] #+BEGIN_COMMENT V,mA | +-----+ |40140| +-----+ | | +----+ +--------|4561|----------> PC | +----+ +----+ |4060| +----+ | Relay Out #+END_COMMENT Before reinventing the wheel, anyone done anything similar, or have ideas?