LEGAL ANNOUNCEMENT: Du to legal issue, we are coming back to our regular license
There are several ways to use PlantUML and Emacs together :
plantuml.jar from http://www.plantuml.com and save it at
plantuml-mode via melpa.
4.) put some uml in your org file e.g.
(setq org-plantuml-jar-path (expand-file-name "/home/you/path/to/plantuml.jar"))
(add-to-list 'org-src-lang-modes '("plantuml" . plantuml))
(org-babel-do-load-languages 'org-babel-load-languages '((plantuml . t)))
5.) export e.g. with
#+begin_src plantuml :file my-diagram.png
title Authentication Sequence
Alice->Bob: Authentication Request
note right of Bob: Bob thinks about it
Bob->Alice: Authentication Response
C-c C-e h o
You will find the needed macro at the following address http://www.emacswiki.org/emacs/IanYang
Once installed, embed PlantUML code in Emacs org-mode is used like this:
While the org file is exported to HTML or other formats, PlantUML is called to generate image and replace the block in place.
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Thanks to Ian Yang for the work done.
This method, however, is considered obsolete:
;; OBSOLETED, use ob-plantuml.el bundled in org instead.( A citation from https://www.emacswiki.org/emacs/org-export-blocks-format-plantuml.el )