From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: ditaa source gets disappeared by exporting html Date: Sat, 11 Oct 2014 09:40:41 +0100 Message-ID: <87fvev0zjq.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcsEb-0005Ul-0d for emacs-orgmode@gnu.org; Sat, 11 Oct 2014 04:41:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcsET-0001jD-G9 for emacs-orgmode@gnu.org; Sat, 11 Oct 2014 04:41:04 -0400 Received: from mail-db3on0108.outbound.protection.outlook.com ([157.55.234.108]:32399 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcsET-0001iR-8a for emacs-orgmode@gnu.org; Sat, 11 Oct 2014 04:40:57 -0400 In-Reply-To: (ishi soichi's message of "Sat, 11 Oct 2014 12:13:54 +0900") 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: ishi soichi Cc: emacs-orgmode@gnu.org On Saturday, 11 Oct 2014 at 12:13, ishi soichi wrote: > emacs 24.3 > org-mode 8.2.6 > > When I run org-html-export-to-html the following code, > > > #+begin_src ditaa :file ditaa-seqboxes.png > +------+ +-----+ +-----+ +-----+ > |{io} | |{d} | |{s} | |cBLU | > | Foo +---+ Bar +---+ Baz +---+ Moo | > | | | | | | | | > +------+ +-----+ +--+--+ +-----+ > | > /-----\ | +------+ > | | | | c1AB | > | Goo +------+---=--+ Shoo | > \-----/ | | > +------+ > #+end_src > > > it successfully produces an image, which is visible in the exported > html. > But the original source of the org file becomes, > > #+RESULTS: > [[file:ditaa-seqboxes.png]] > > In other words, the source is gone(?). Very strange. I have never heard of this happening to anybody with any version of org! In any case, your example works just fine when I export to HTML. In fact, the export commands should not change the original org file at all. The RESULTS line should only appear if you actually execute babel on the src block. You must be doing something more than what you are indicating in your email. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-431-g8e1359