help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to install Ditaa


From: Jean Louis
Subject: Re: How to install Ditaa
Date: Tue, 24 Nov 2020 08:44:09 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Christopher Dimech <dimech@gmx.com> [2020-11-24 01:51]:
  :PROPERTIES:
  :CREATED:  [2020-11-24 Tue 08:43]
  :ID:       4fc01194-bdbd-4d54-9bb0-327aeb79fbb1
  :END:
> 
> Anybody knows how to install ditaa?  Have installed it, but now I
> have no idea how to execute a file with ditaa.

You enable ditaa ind variable org-babel-load-languages. Normally I do
C-c C-c if I wish to export single block and I do it on the block or
line end_src. But that is only for testing, I am using ditaa and
plantuml to export PDF files with the output.

>From ditaa examples:

** exporting a ditaa example
   :PROPERTIES:
   :DATE:     2011-07-19
   :CREATED:  [2020-11-24 Tue 08:43]
   :ID:       962ad1cb-e751-4ef6-8dbb-1fae57ff3888
   :END:

#+begin_src ditaa :file blue.png :cmdline -r
/---------------\
|    test       |
|        {cBLU} |
\---------------/
#+end_src

#+RESULTS:
[[file:blue.png]]

#+name:
[[file:blue.png]]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]