From 7dd41188205cda51b3afc76088de8d43c23a43c0 Mon Sep 17 00:00:00 2001 From: Daniel Caixinha <2683004+dcaixinha@users.noreply.github.com> Date: Thu, 3 Oct 2019 14:28:45 +0100 Subject: [PATCH] Add instructions to PlantUML README to set exec-mode accordingly --- CHANGELOG.develop | 2 ++ layers/+lang/plantuml/README.org | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.develop b/CHANGELOG.develop index 1922d6538..8d2465d4a 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -2305,6 +2305,8 @@ Other: the =php= layer's =php-backend= variable to =lsp= **** PlantUML - Added a missing prefix: =compile= +- Added instructions for compiling the image locally by setting + =plantuml-default-exec-mode= to =jar= (thanks to Daniel Caixinha) **** Platinum - Added the =.plum= extension to the platinum modes (thanks to Sylvain Benner) - Remove automatic indentation on paste (thanks to Sylvain Benner) diff --git a/layers/+lang/plantuml/README.org b/layers/+lang/plantuml/README.org index 9e7bf7b23..9a97a200f 100644 --- a/layers/+lang/plantuml/README.org +++ b/layers/+lang/plantuml/README.org @@ -58,6 +58,12 @@ and configure the =plantuml-jar-path= respectively: To get the full range of =Plantuml= compilations working, you will also need the native package [[http://graphviz.org/][graphviz]] installed on your system. +Additionally, to compile the image locally, you need to set =plantuml-default-exec-mode= to =jar=, e.g.: + +#+BEGIN_SRC emacs-lisp + (setq plantuml-default-exec-mode 'jar) +#+END_SRC + * Org-Babel Integration To enable the execution of embedded plantuml code blocks within [[http://orgmode.org/][Org-Mode]] documents, define a value for =org-plantuml-jar-path= in your =~/.spacemacs=: