From mboxrd@z Thu Jan 1 00:00:00 1970 From: ishi soichi Subject: ditaa source gets disappeared by exporting html Date: Sat, 11 Oct 2014 12:13:54 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013d20443af28405051d0e58 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xcn82-0001W2-M4 for emacs-orgmode@gnu.org; Fri, 10 Oct 2014 23:13:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xcn80-0003QS-Kz for emacs-orgmode@gnu.org; Fri, 10 Oct 2014 23:13:58 -0400 Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:41317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xcn80-0003Py-Cp for emacs-orgmode@gnu.org; Fri, 10 Oct 2014 23:13:56 -0400 Received: by mail-la0-f51.google.com with SMTP id ge10so4255956lab.38 for ; Fri, 10 Oct 2014 20:13:54 -0700 (PDT) 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-orgmode@gnu.org --089e013d20443af28405051d0e58 Content-Type: text/plain; charset=UTF-8 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(?). Is there anyway to maintain the source of the image and export the image in html? soichi --089e013d20443af28405051d0e58 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
emacs 24.3
org-mode 8.2.6

Whe= n 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 |<=
/span>
           | Goo +------+---=3D--+ Shoo |
           \-----/             |      |
                               +------+
#+end_src

<= /div>
it successfully produces an image, which is visible in the export= ed html.
But the original source of the org file becomes,

#+RESULTS:
[[file:ditaa-seqboxes.png]]

In other words, the source is gone(?).

Is there anyway to maintain the source of the image and ex= port the image in html?

soichi

--089e013d20443af28405051d0e58--