emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Export ascii-images using ditaa when targeting HTML?
@ 2008-11-06 16:12 Mac
  2008-11-12  1:57 ` Eric Schulte
  2008-11-12  1:59 ` Eric Schulte
  0 siblings, 2 replies; 28+ messages in thread
From: Mac @ 2008-11-06 16:12 UTC (permalink / raw)
  To: emacs-orgmode


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?

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2008-11-14 16:02 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-06 16:12 Export ascii-images using ditaa when targeting HTML? Mac
2008-11-12  1:57 ` Eric Schulte
2008-11-12  8:14   ` Mac
2008-11-12  9:44     ` Mac
2008-11-12 10:00     ` Carsten Dominik
2008-11-12 10:17       ` Mac
2008-11-14 14:54   ` Bernt Hansen
2008-11-14 15:51     ` Carsten Dominik
2008-11-14 16:02       ` Bernt Hansen
2008-11-12  1:59 ` Eric Schulte
2008-11-12  6:45   ` Carsten Dominik
2008-11-12  9:53     ` Mac
2008-11-12 13:54   ` Sebastian Rose
2008-11-12 15:59     ` Carsten Dominik
2008-11-12 18:33       ` Sebastian Rose
2008-11-12 18:42         ` Sebastian Rose
2008-11-12 19:18           ` Bernt Hansen
2008-11-12 19:41             ` Sebastian Rose
2008-11-12 19:47               ` Bernt Hansen
2008-11-12 20:33                 ` Sebastian Rose
2008-11-12 18:53         ` Eric Schulte
2008-11-12 19:13           ` Sebastian Rose
2008-11-12 19:30             ` Eric Schulte
2008-11-12 20:31               ` Sebastian Rose
2008-11-12 20:47                 ` Eric Schulte
2008-11-12 21:54                   ` Sebastian Rose
2008-11-12 23:01                   ` Carsten Dominik
2008-11-12 22:42   ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).