1

Error message:

Restricted shell escape. PlantUML cannot be called. Start pdflatex/lualatex with -shell-escape. @startuml start :Hello world; :This is on defined on several **lines**; stop @enduml

Lines of code:

\usepackage{plantuml}

\begin{plantuml}
  @startuml
  start
  :Hello world;
  :This is on defined on
  several **lines**;
  stop
  @enduml
\end{plantuml}

PS! I am using latex-workshop with VS Code.

1
  • 1
    I succeded compilation with "PLANTUML_JAR=/usr/share/plantuml/plantuml.jar lualatex --shell-escape <my TeX file>. ix.io/3aSr is my TeX-file and ix.io/3aSr is my log file.
    – gigiair
    Apr 26, 2021 at 6:39

0

You must log in to answer this question.

Browse other questions tagged .