-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difficulty configuring plantuml-mode despite scouring the README #137
Comments
I think it would help us help you if you gave an example of an Org file you have, the output or error you get and the expected results. For what it's worth this works for me:
(The "Executing" that by positioning cursor anywhere in the source block and hitting FWIW my PlantUML config (this week) is https://github.com/stig/dotfiles/blob/trunk/Emacs.org#plantuml
|
As far as I known |
Thank you both for your help. With it, I now have my expected environment, which is I can write PlantUML both in a major mode and in Org mode, and it behaves identically to writing GraphViz: one is able to preview (in the former), and generate results (in the latter). My path there was a little circuitous. I tried to follow @stig's config (that's fun to say), and after realizing (after @terlar's comment) that I am not to replace So, I removed all configuration of I do still have this issue (put here for completeness, but not related to
It works the second time. Maybe it has to do with the order that things are loaded... but I'm not that worried about it. What I'm stoked about is the major mode works flawlessly, and in Org mode it's "good enough." Again, thank you both for your help. |
Summary
I know that I am using the default
ob-plantuml
when trying to execute org-mode src blocks. However, I can not figure out how to haveplantuml-mode
override this.I found issue #53, and I feel like I almost have the knowledge, but I wonder if the README has changed since then. I also found this comment that seems inline with what I'm doing. Let me apologize for not being particularly adept at configuring Emacs, and mostly bumble around, but here is what I have:
I also tried the following function, which I found online, that loads languages on demand. This is what loads
ob-plantuml
(I had to remove the leading:
). But when removed, I getorg-babel-execute-src-block: No org-babel-execute function for plantuml!
. Which is... closer.What configuration am I missing to ensure that
plantuml-mode
is used and available when I execute the src block? Thanks, and apologies up front if this is a silly question. I very much appreciate the package and your time.The text was updated successfully, but these errors were encountered: