From 2b1bdb32a1041838e845025fa97d3124bfdd8e02 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Mon, 11 Apr 2022 20:37:15 -0700 Subject: [PATCH] Get PlantUML back to working in org mode documents Changed the name of a function, and didn't realize it broke my snippets until I tried to use it. --- ha-org-plantuml-example.png | Bin 0 -> 8602 bytes ha-org.org | 61 ++++++++++++++++++++++----- snippets/org-mode/activity-diagram | 2 +- snippets/org-mode/component-diagram | 2 +- snippets/org-mode/deployment-diagram | 2 +- snippets/org-mode/object-diagram | 2 +- snippets/org-mode/plantuml | 5 ++- snippets/org-mode/sequence-diagram | 2 +- snippets/org-mode/state-diagram | 2 +- snippets/org-mode/timing-diagram | 2 +- snippets/org-mode/use-case-diagram | 2 +- 11 files changed, 62 insertions(+), 20 deletions(-) create mode 100644 ha-org-plantuml-example.png diff --git a/ha-org-plantuml-example.png b/ha-org-plantuml-example.png new file mode 100644 index 0000000000000000000000000000000000000000..7b77a766df09a918144a11ae0a3ee487cf6c5a63 GIT binary patch literal 8602 zcmaKScQ~A1w>HsR5KPn%U1Wl&Q4=+c-i_WFMDHVF^d4o9L>Ik986`SFlpq)_YLw_@ z^nONu@B5x}zU%wGe`e3Mul?-3Wo?YJ<{s8oOcuUOb{-xsqC7k zP`=N!w}CE9sBWd-jdN_ndoO|KK(0DtveSyXENkd?eLbD!MV4h~zEbC6`+2DA16E17 zN+r1iM}fpMrv{r%!Gpv!CFX`)Ba%pbg@i=92hQ@av7q=>8#0_U2X3rmB^l9~Oyb_I z1I}w(>img7xo7#`3khqONmbSQVuv{hTVn#-Sp=3`4P=NIwwexMeVt$rw=zb%AD@1*?7&X z+;$LlfZz4?eR!V@P_FYj6hA~(At{>R+yfkb^TLJfBSm+ea*L^;&5D#lVbWN1jeSP4 z;Af_)KPt^Sv6Q2Q>`(!T4sI|@DsedMQibE`CeAdkQ?z4Dz^IP4X3ji|AC_Eomv@kIhafA=xUS@*rY`a$A{nmPyt)LW z@6Y6}>-_da7yg7d8muxfH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{!|YK~Nlu&q8|N;I84uRMgHi2?5L_hfBhwU*)S|Mz zqt?=bl=4}ppXE)#cXsb3(QG$SzfakVyK@ct0%69XYWlaI6W$4zNc$V55+TX9sxKEf zV!9>Ac9d|6v8c12*dn-BzQuDLFw)pTv8Kt~9$uS1D!g5X76>Ts%I&#z{|a zyyCxfcT;j!tozFTy1=#xo@pEwjCY+>M(@D4-K1?vr#$FX=6Dt6JPlDUFF27rBFS3` z-4@2$?=8sztTUv)%4p4*?o7OhqT8|7Dd+qaM&gC=mg;*})C{RCEosYJSB2f(l~hhN zTlSj#3@Q3#Fe6XDHUlZ!H8XK*m>);X_JTsVVRdCCu^BL*F#8`n0UIw?f!-Ic(59{6 z(6kV8#1}4FT2l?m6uo+LY?912Oqxu6nv8?pot54Ldz|>NwW&>4r%Pk^UQ2It$Sbv5 z*02ca^GPhyzZW||S@vjo$Jz^pOuY%;wuvO3horH<4uMlcLua~QUboc*5S2k^i^zz2 z^`)O9Pn%4KEoIA@I*6lR=xI=YN={AC8hZ27?yuK1Kv^N<(vs?Y5@yf8_z8)Wc=NEH zyaaaL;f=VI3avj^4L?Re@2)PG{vX53_%qg+Dm@6>Mk##0m71NjAWpGj|b03#Mm&I zVVE86RVY42Fgtmm`-PE4lLhe;2st)6`r6=M9mL<%eI=z){Zk{HJ!ldAF9{4qIaS#T IX*1Y=0qc=}u>b%7 literal 0 HcmV?d00001 diff --git a/ha-org.org b/ha-org.org index 4aefbdd..28bdc0a 100644 --- a/ha-org.org +++ b/ha-org.org @@ -349,7 +349,7 @@ And turn on ALL the languages: (css . t) (plantuml . t))) #+END_SRC - +*** Graphviz The [[https://graphviz.org/][graphviz project]] can be written in org blocks, and then rendered as an image: #+NAME: ob-graphviz #+BEGIN_SRC emacs-lisp :tangle no @@ -377,6 +377,56 @@ For example: #+ATTR_ORG: :width 400px #+RESULTS: [[file:support/ha-org-graphviz-example.png]] +*** PlantUML +Need to install and configure Emacs to work with [[https://plantuml.com/][PlantUML]]. Granted, this is easier now that [[http://orgmode.org/worg/org-contrib/babel][Org-Babel]] natively supports [[http://eschulte.github.io/babel-dev/DONE-integrate-plantuml-support.html][blocks of plantuml code]]. First, [[https://plantuml.com/download][download the Jar]]. + +#+BEGIN_SRC sh + curl -o ~/bin/plantuml.jar https://github.com/plantuml/plantuml/releases/download/v1.2022.4/plantuml-1.2022.4.jar +#+END_SRC + +After installing the [[https://github.com/skuro/plantuml-mode][plantuml-mode]], we need to reference the location: +#+BEGIN_SRC emacs-lisp + (use-package plantuml-mode + :straight (:host github :repo "skuro/plantuml-mode") + :init + (setq org-plantuml-jar-path (expand-file-name "~/bin/plantuml.jar"))) +#+END_SRC + +With some [[file:snippets/org-mode/plantuml][YASnippets]], I have = Bob: Authentication Request + Bob --> Alice: Authentication Response + + Alice -> Bob: Another authentication Request + Alice <-- Bob: Another authentication Response + @enduml + #+end_src + +#+ATTR_ORG: :width 800px +[[file:ha-org-plantuml-example.png]] *** Next Image When I create images or other artifacts that I consider /part/ of the org document, I want to have them based on the org file, but with a prepended number. Keeping track of what numbers are now free is difficult, so for a /default/ let's figure it out: @@ -395,15 +445,6 @@ When I create images or other artifacts that I consider /part/ of the org docume (setq largest (max largest (string-to-number (match-string-no-properties 1))))) (format "%s-%02d" prefix (1+ largest))))) #+END_SRC -*** In a PlantUML Block -To make the snippets more context aware, this predicate - -#+BEGIN_SRC emacs-lisp -(defun ha-org-nested-in-plantuml-block () - "Predicate is true if point is inside a Plantuml Source code block in org-mode." - (equal "plantuml" - (plist-get (cadr (org-element-at-point)) :language))) -#+END_SRC ** Keybindings Global keybindings available to all file buffers: #+NAME: global-keybindings diff --git a/snippets/org-mode/activity-diagram b/snippets/org-mode/activity-diagram index 36a4ff6..424f099 100644 --- a/snippets/org-mode/activity-diagram +++ b/snippets/org-mode/activity-diagram @@ -2,7 +2,7 @@ # contributor: Howard Abrams # name: activity-diagram # key: activity -# condition: (ha/org-nested-in-plantuml-block) +# condition: (ha-org-nested-in-plantuml-block) # group: plantuml # -- ' See details at https://plantuml.com/activity-diagram-betastart diff --git a/snippets/org-mode/component-diagram b/snippets/org-mode/component-diagram index 67a43d6..a18ce9a 100644 --- a/snippets/org-mode/component-diagram +++ b/snippets/org-mode/component-diagram @@ -2,7 +2,7 @@ # contributor: Howard Abrams # name: component-diagram # key: component -# condition: (ha/org-nested-in-plantuml-block) +# condition: (ha-org-nested-in-plantuml-block) # group: plantuml # -- ' See details at https://plantuml.com/component-diagram diff --git a/snippets/org-mode/deployment-diagram b/snippets/org-mode/deployment-diagram index fe65b4f..2d9d7a7 100644 --- a/snippets/org-mode/deployment-diagram +++ b/snippets/org-mode/deployment-diagram @@ -2,7 +2,7 @@ # contributor: Howard Abrams # name: deployment-diagram # key: deployment -# condition: (ha/org-nested-in-plantuml-block) +# condition: (ha-org-nested-in-plantuml-block) # group: plantuml # -- ' See details at https://plantuml.com/deployment-diagram diff --git a/snippets/org-mode/object-diagram b/snippets/org-mode/object-diagram index 3876004..1e8c6d1 100644 --- a/snippets/org-mode/object-diagram +++ b/snippets/org-mode/object-diagram @@ -2,7 +2,7 @@ # contributor: Howard Abrams # name: object-diagram # key: object -# condition: (ha/org-nested-in-plantuml-block) +# condition: (ha-org-nested-in-plantuml-block) # group: plantuml # -- ' See details at https://plantuml.com/object-diagram diff --git a/snippets/org-mode/plantuml b/snippets/org-mode/plantuml index 48e7a57..969ee27 100644 --- a/snippets/org-mode/plantuml +++ b/snippets/org-mode/plantuml @@ -7,10 +7,11 @@ #+begin_src plantuml :file ${1:`(file-name-base (buffer-file-name)))`-`(ha-org-next-image-number)`}.${2:png} :exports file :results file @startuml -!include plantuml-dark-theme.puml +!include https://raw.githubusercontent.com/ptrkcsk/one-dark-plantuml-theme/v1.0.0/theme.puml ' See details at https://plantuml.com/ $0 @enduml #+end_src -#+ATTR_ORG: :width 800px \ No newline at end of file +#+ATTR_ORG: :width 800px +[[file:$1.$2]] \ No newline at end of file diff --git a/snippets/org-mode/sequence-diagram b/snippets/org-mode/sequence-diagram index ed2340e..644cfe2 100644 --- a/snippets/org-mode/sequence-diagram +++ b/snippets/org-mode/sequence-diagram @@ -2,7 +2,7 @@ # contributor: Howard Abrams # name: sequence-diagram # key: sequence -# condition: (ha/org-nested-in-plantuml-block) +# condition: (ha-org-nested-in-plantuml-block) # group: plantuml # -- ' See details at https://plantuml.com/sequence-diagram diff --git a/snippets/org-mode/state-diagram b/snippets/org-mode/state-diagram index a231392..0542fe9 100644 --- a/snippets/org-mode/state-diagram +++ b/snippets/org-mode/state-diagram @@ -2,7 +2,7 @@ # contributor: Howard Abrams # name: state-diagram # key: state -# condition: (ha/org-nested-in-plantuml-block) +# condition: (ha-org-nested-in-plantuml-block) # group: plantuml # -- ' See details at https://plantuml.com/state-diagram diff --git a/snippets/org-mode/timing-diagram b/snippets/org-mode/timing-diagram index f413a94..be2c24c 100644 --- a/snippets/org-mode/timing-diagram +++ b/snippets/org-mode/timing-diagram @@ -2,7 +2,7 @@ # contributor: Howard Abrams # name: timing-diagram # key: timing -# condition: (ha/org-nested-in-plantuml-block) +# condition: (ha-org-nested-in-plantuml-block) # group: plantuml # -- ' See details at https://plantuml.com/timing-diagram diff --git a/snippets/org-mode/use-case-diagram b/snippets/org-mode/use-case-diagram index 888af47..7af3013 100644 --- a/snippets/org-mode/use-case-diagram +++ b/snippets/org-mode/use-case-diagram @@ -2,7 +2,7 @@ # contributor: Howard Abrams # name: use-case-diagram # key: use-case -# condition: (ha/org-nested-in-plantuml-block) +# condition: (ha-org-nested-in-plantuml-block) # group: plantuml # -- ' See details at https://plantuml.com/use-case-diagram