Skip to content

Commit

Permalink
Ensure that plantuml is only called if shell-escape is active (by ena…
Browse files Browse the repository at this point in the history
…bling it only via main-minted-german.tex)
  • Loading branch information
koppor committed Mar 9, 2018
1 parent d413cd5 commit 9fe740c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions latexhints-english.tex
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,12 @@ \section{UML diagrams using tikz-uml}
\end{figure}
\end{center}

\section{UML diagramme using PlantUML}
\section{UML diagrams using PlantUML}

In case \lualatex{} is used and PlantUML is installed, UML diagrams can be defined using PlantUML.

\IfFileExists{plantuml.sty}{\input{latexhints-english-plantuml}}{}

% Only works if "--shell-escape" is activated. Please activate only if you are sure, your compilation settings are correct
%\IfFileExists{plantuml.sty}{\input{latexhints-english-plantuml}}{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Tables}
Expand Down
6 changes: 0 additions & 6 deletions latexhints-german.tex
Original file line number Diff line number Diff line change
Expand Up @@ -371,12 +371,6 @@ \section{UML-Diagramme mit tikz-uml}
\end{figure}
\end{center}

\section{UML-Diagramme mit PlantUML}

Falls \lualatex{} verwendet wird und PlantUML installiert ist, können UML-Diagramme mittels PlantUML erstellt werden.

\IfFileExists{plantuml.sty}{\input{latexhints-german-plantuml}}{}

\section{Tabellen}

\cref{tab:Ergebnisse} zeigt Ergebnisse und die \cref{tab:Ergebnisse} zeigt wie numerische Daten in einer Tabelle representiert werden können.
Expand Down
6 changes: 6 additions & 0 deletions latexhints-minted-german.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
% !TeX root = main-minted-german.tex

\section{UML-Diagramme mit PlantUML}

Falls \lualatex{} verwendet wird und PlantUML installiert ist, können UML-Diagramme mittels PlantUML erstellt werden.

\IfFileExists{plantuml.sty}{\input{latexhints-german-plantuml}}{}

\section{minted}

\href{https://github.com/gpoore/minted}{minted} ist eine Alternative zum \href{https://ctan.org/pkg/listings}{lstlistings}-Paket, das erweiterte Syntax-Hervorhebungen erlaubt.
Expand Down

0 comments on commit 9fe740c

Please sign in to comment.