all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Christopher Dimech <dimech@gmx.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: How to install Ditaa
Date: Tue, 24 Nov 2020 08:44:09 +0300	[thread overview]
Message-ID: <X7ydqVBSn57q1fso@protected.rcdrun.com> (raw)
In-Reply-To: <trinity-d8556a69-567e-483d-af63-c82ab98d4507-1606171772037@3c-app-mailcom-bs16>

* 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]]



      parent reply	other threads:[~2020-11-24  5:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-23 22:49 How to install Ditaa Christopher Dimech
2020-11-23 23:13 ` Arthur Miller
2020-11-23 23:54   ` Christopher Dimech
2020-11-24  1:42     ` Arthur Miller
2020-11-24  5:44 ` Jean Louis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X7ydqVBSn57q1fso@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=dimech@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.