Re: [O] ditaa source gets disappeared by exporting html
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
Re: [O] ditaa source gets disappeared by exporting html
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 e.fr...@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 +--+ +-+ +-+ +-+ |{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
[O] ditaa source gets disappeared by exporting html
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