From mboxrd@z Thu Jan 1 00:00:00 1970 From: ishi soichi Subject: Re: ditaa source gets disappeared by exporting html Date: Sat, 11 Oct 2014 22:35:29 +0900 Message-ID: References: <87fvev0zjq.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c372862fe273050525bd5a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcwpY-00063x-7d for emacs-orgmode@gnu.org; Sat, 11 Oct 2014 09:35:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcwpX-0003iX-1n for emacs-orgmode@gnu.org; Sat, 11 Oct 2014 09:35:32 -0400 Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:64309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcwpW-0003iR-KR for emacs-orgmode@gnu.org; Sat, 11 Oct 2014 09:35:30 -0400 Received: by mail-lb0-f170.google.com with SMTP id u10so4520876lbd.15 for ; Sat, 11 Oct 2014 06:35:29 -0700 (PDT) In-Reply-To: <87fvev0zjq.fsf@ucl.ac.uk> 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 , emacs-orgmode@gnu.org --001a11c372862fe273050525bd5a Content-Type: text/plain; charset=UTF-8 thanks for your reply. It might have been my mistake. I have redone all org-mode configuration written in init.el, then now it seems to be working as I wanted it to. Though, I wasn't able to find the cause of what was happing. Thanks anyway. 2014-10-11 17:40 GMT+09:00 Eric S Fraga : > 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 > --001a11c372862fe273050525bd5a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=C2=A0thanks for your reply.

It might h= ave been my mistake.=C2=A0 I have redone all org-mode configuration written= in init.el, then now it seems to be working as I wanted it to.=C2=A0 Thoug= h, I wasn't able to find the cause of what was happing.

<= /div>
Thanks anyway.


2014-10-11 17:40 GMT+09:00 Eric S Fraga <= span dir=3D"ltr"><e.fraga@ucl.ac.uk>:
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
> +------+=C2=A0 =C2=A0+-----+=C2=A0 =C2=A0+-----+=C2=A0 =C2=A0+-----+ > |{io}=C2=A0 |=C2=A0 =C2=A0|{d}=C2=A0 |=C2=A0 =C2=A0|{s}=C2=A0 |=C2=A0 = =C2=A0|cBLU |
> | Foo=C2=A0 +---+ Bar +---+ Baz +---+ Moo |
> |=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2= =A0|=C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0|
> +------+=C2=A0 =C2=A0+-----+=C2=A0 =C2=A0+--+--+=C2=A0 =C2=A0+-----+ >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0|
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /-----\=C2=A0 =C2=A0 =C2=A0 |= =C2=A0 =C2=A0 =C2=A0 +------+
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0|=C2=A0 = =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 | c1AB |
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | Goo +------+---=3D--+ Shoo = |
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \-----/=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 |
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 +------+
> #+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.=C2=A0 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.=C2=A0 In fact, the export commands should not change the original org file at
all.=C2=A0 The RESULTS line should only appear if you actually execute babe= l
on the src block.=C2=A0 You must be doing something more than what you are<= br> indicating in your email.
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-431-g8e13= 59

--001a11c372862fe273050525bd5a--