emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: 9.5: coping with loss of ditaa.jar
Date: Mon, 11 Oct 2021 18:09:07 -0400	[thread overview]
Message-ID: <87zgrfkyd8.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 871r4txnau.fsf@gmail.com

Tim Cross <theophilusx@gmail.com> writes:

> Another alternative which I just found is the ditaa version on github,
> which has SVG support. See https://github.com/stathissideris/ditaa. If
> you click on the 'release' link on the right, there is the most recent
> release, which includes a link to a standalone ditaa.jar file.
>
> I've not tried this version, but suspect it will work fine (assuming
> they use semantic versioning, which indicates the API has not
> changed). 
>
>
>

Perfect! Thank you for pointing that out.

I downloaded that, installed java-11-openjdk from the Fedora repos and
tried the standard example:

--8<---------------cut here---------------start------------->8---
#+begin_src ditaa :file example.svg :results file drawer
    +--------+   +-------+    +-------+
    |        | --+ ditaa +--> |       |
    |  Text  |   +-------+    |diagram|
    |Document|   |!magic!|    |       |
    |     {d}|   |       |    |       |
    +---+----+   +-------+    +-------+
        :                         ^
        |       Lots of work      |
        +-------------------------+
#+end_src

#+RESULTS:
:results:
[[file:example.svg]]
:end:
--8<---------------cut here---------------end--------------->8---

It worked perfectly on Fedora 34.

Thanks!
-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler



  reply	other threads:[~2021-10-11 22:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-03  4:25 9.5: coping with loss of ditaa.jar Jarmo Hurri
2021-10-03 11:39 ` Max Nikulin
2021-10-03 16:32   ` Dr. Arne Babenhauserheide
2021-10-03 16:50     ` Colin Baxter
2021-10-04 11:43 ` Eric S Fraga
2021-10-04 13:28   ` Tim Cross
2021-10-04 14:02     ` Eric S Fraga
2021-10-04 11:59 ` Eric S Fraga
2021-10-10  4:52 ` Jarmo Hurri
2021-10-10  5:52   ` Colin Baxter 😺
2021-10-11  9:53     ` Jarmo Hurri
2021-10-10  7:58   ` Tim Cross
2021-10-11 10:20     ` Jarmo Hurri
2021-10-10  9:01   ` Tim Cross
2021-10-11 22:09     ` Nick Dokos [this message]
2021-10-10 16:32   ` Thomas S. Dye
2021-10-11  9:58     ` Jarmo Hurri

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87zgrfkyd8.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@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 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).