You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an org-mode file, I want that the following plantuml source block can generate an inline image automatically which executing org-babel-execute-src-block (or press C-cC-c).
#+BEGIN_SRC plantuml :file test_uml.png :cmdline -charset UTF-8
title Example Sequence Diagram
activate Client
Client -> Server: Session Initiation
note right: Client requests new session
activate Server
Client <-- Server: Authorization Request
note left: Server requires authentication
Client -> Server: Authorization Response
note right: Client provides authentication details
Server --> Client: Session Token
note left: Session established
deactivate Server
Client -> Client: Saves token
deactivate Client
#+END_SRC
But I failed with the following output image test_uml.png which is actually an ASCII file:
$ head test_uml.png
Usage: java [options] <mainclass> [args...]
(to execute a class)
or java [options] -jar <jarfile> [args...]
(to execute a jar file)
or java [options] -m <module>[/<mainclass>] [args...]
java [options] --module <module>[/<mainclass>] [args...]
(to execute the main class in a module)
or java [options] <sourcefile> [args]
(to execute a single source-file program)
Configurations
Emacs: 28.2 (aarch64-apple-darwin21.6.0, Carbon Version 165 AppKit 2113.6)
org-mode: 9.5.5
plantuml-mode-version: 20190905.838
The plantuml configuration clip is as the following:
Summary
In an
org-mode
file, I want that the following plantuml source block can generate an inline image automatically which executingorg-babel-execute-src-block
(or pressC-cC-c
).But I failed with the following output image
test_uml.png
which is actually an ASCII file:Configurations
The plantuml configuration clip is as the following:
I checked every variable (e.g.,
plantuml-jar-path
,plantuml-default-exec-mode
), and I confirm that they are correctly assigned.The text was updated successfully, but these errors were encountered: