[TriLUG] Emacs Org Mode - Plant UML
vikram sai balaji ulaganathan via TriLUG
trilug at trilug.org
Thu Feb 16 09:32:36 EST 2017
Hi All,
I finally identified the issue and it seems that the org mode plantuml
settings were being set prior to init.el. So the simple idea presented was
to re-evaluate the org-mode after / during init.el. Bottom line the
sequence of variable setting was wrong and i used the override / rewrite
facility.
(with-eval-after-load 'org
(org-babel-do-load-languages
'org-babel-load-languages
'((plantuml . t)))
(setq org-plantuml-jar-path
(setq plantuml-jar-path (expand-file-name "~/plantuml.jar")))
)
Thanks Pete for the suggestion on emacs mailing list.
Thanks
Vikram
On Wed, Feb 15, 2017 at 1:12 AM, vikram sai balaji ulaganathan <
tayirvadai.vikram at gmail.com> wrote:
> Hi All,
> I am trying to write a documentation and i am having issues with creating
> UML diagram with plantuml from org mode of Emacs. I have installed
> ob-plantuml.el (as it arrives in the package) and also set the variables
> (setq org-plantuml-jar-path "<full path to jar>") in the init.el file. When
> i try to publish to html either using #+begin_src plantuml or #+begin_uml,
> it does not work as planned. The string i am entering is simply exported as
> is without it being sent to plantuml.jar before creating the html file. Has
> anyone successfully used plantuml / other uml creation software / custom
> command to execute with emacs org mode? I have done a lot of changes from
> multiple google pages including org-babel, etc and it still is not working.
>
> Any help here is much appreciated
> Thanks
> Vikram.
>
More information about the TriLUG
mailing list