Browse Source

added support for ditaa source blocks

Eric Schulte 16 years ago
parent
commit
5527d419a1
2 changed files with 6 additions and 3 deletions
  1. 1 0
      lisp/org-babel-init.el
  2. 5 3
      org-babel.org

+ 1 - 0
lisp/org-babel-init.el

@@ -58,6 +58,7 @@
 (require 'org-babel-sh)
 (require 'org-babel-sh)
 (require 'org-babel-lisp)
 (require 'org-babel-lisp)
 (require 'org-babel-R)
 (require 'org-babel-R)
+(require 'org-babel-ditaa)
 
 
 (provide 'org-babel-init)
 (provide 'org-babel-init)
 ;;; org-babel-init.el ends here
 ;;; org-babel-init.el ends here

+ 5 - 3
org-babel.org

@@ -1944,7 +1944,7 @@ This is currently working only with emacs lisp as in the following
 example in the [[* emacs lisp source reference][emacs lisp source reference]].
 example in the [[* emacs lisp source reference][emacs lisp source reference]].
 
 
 
 
-** TODO Add languages [0/5]
+** TODO Add languages [1/6]
 I'm sure there are many more that aren't listed here.  Please add
 I'm sure there are many more that aren't listed here.  Please add
 them, and bubble any that you particularly care about up to the top.
 them, and bubble any that you particularly care about up to the top.
 
 
@@ -1957,11 +1957,11 @@ This could probably be added to [[file:lisp/org-babel-script.el][org-babel-scrip
 
 
 *** TODO java
 *** TODO java
 
 
-*** STARTED ditaa
+*** DONE ditaa
 (see [[* file result types][file result types]])
 (see [[* file result types][file result types]])
 
 
 #+srcname: implementing-ditaa
 #+srcname: implementing-ditaa
-#+begin_src ditaa :results replace file :file blue.png
+#+begin_src ditaa :results replace file :file blue.png :cmdline -r
 +---------+
 +---------+
 | cBLU    |
 | cBLU    |
 |         |
 |         |
@@ -1974,6 +1974,8 @@ This could probably be added to [[file:lisp/org-babel-script.el][org-babel-scrip
 #+resname: implementing-ditaa
 #+resname: implementing-ditaa
 [[file:blue.png][blue.png]]
 [[file:blue.png][blue.png]]
 
 
+*** TODO gnuplot
+(see [[* file result types][file result types]])
 *** TODO dot
 *** TODO dot
 (see [[* file result types][file result types]])
 (see [[* file result types][file result types]])