Skip to content

Commit

Permalink
plantuml: fixes to get jar to work
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraveiro committed Mar 10, 2024
1 parent 6db4c12 commit 936fc8e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/development.org
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ _p_rev _u_pper (mine) _=_: upper/lower _r_esolve
(add-to-list 'plantuml-java-args "-DPLANTUML_LIMIT_SIZE=16384")
(add-to-list 'plantuml-java-args "-DPLANTUML_SECURITY_PROFILE=UNSECURE")
(setq plantuml-jar-output-type-opt "png")
(add-to-list 'plantuml-jar-args "-Playout=elk")
;; (add-to-list 'plantuml-jar-args "-Playout=elk")
(add-to-list 'plantuml-jar-args "-v")

(if (eq system-type 'windows-nt)
Expand All @@ -359,9 +359,10 @@ _p_rev _u_pper (mine) _=_: upper/lower _r_esolve
(display-buffer plantuml-buffer-name)
;; copied from plantuml-jar-start-process, which uses stdin (e.g. -p)
(apply #'start-process
"PLANTUML" plantuml-buffer-name plantuml-executable-path
`(,@plantuml-executable-args
,(plantuml-jar-output-type-opt plantuml-output-type)
"PLANTUML" plantuml-buffer-name plantuml-java-command
`(,@plantuml-java-args
,plantuml-jar-path
,(plantuml-jar-output-type-opt plantuml-jar-output-type-opt)
,@plantuml-jar-args
,plantuml-diagram))))

Expand Down

0 comments on commit 936fc8e

Please sign in to comment.