summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/plantuml
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/plantuml')
-rw-r--r--Master/texmf-dist/tex/lualatex/plantuml/plantuml.lua2
-rw-r--r--Master/texmf-dist/tex/lualatex/plantuml/plantuml.sty7
2 files changed, 4 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/lualatex/plantuml/plantuml.lua b/Master/texmf-dist/tex/lualatex/plantuml/plantuml.lua
index 2261c86332f..7edb923d6b1 100644
--- a/Master/texmf-dist/tex/lualatex/plantuml/plantuml.lua
+++ b/Master/texmf-dist/tex/lualatex/plantuml/plantuml.lua
@@ -22,7 +22,7 @@ function convertPlantUmlToTikz(jobname, mode)
end
texio.write("Executing PlantUML... ")
- local cmd = "java -jar " .. plantUmlJar .. " -charset UTF-8 -t"
+ local cmd = "java -Djava.awt.headless=true -jar " .. plantUmlJar .. " -charset UTF-8 -t"
if (mode == "latex") then
cmd = cmd .. "latex:nopreamble"
else
diff --git a/Master/texmf-dist/tex/lualatex/plantuml/plantuml.sty b/Master/texmf-dist/tex/lualatex/plantuml/plantuml.sty
index d2958792bcf..89af25689f4 100644
--- a/Master/texmf-dist/tex/lualatex/plantuml/plantuml.sty
+++ b/Master/texmf-dist/tex/lualatex/plantuml/plantuml.sty
@@ -3,7 +3,7 @@
%% SPDX-License-Identifier: LPPL-1.3c+
\NeedsTeXFormat{LaTeX2e}\relax
\ProvidesPackage{plantuml}
- [2018/03/22 v0.2.2
+ [2020/05/19 v0.3.1
Embed PlantUML diagrams in latex documents.]
% Required by PlantUML LaTeX output
@@ -24,9 +24,8 @@
\RequirePackage{adjustbox}
-% \jobname has a probrem of encodeing
-% if your latex filename include multibyte string
-% you need to redefine PlantUMLJobname to fix
+% \jobname has an encoding issue if the .tex filename includes a multibyte string.
+% One needs to redefine PlantUMLJobname to fix it
\def\PlantUMLJobname{\jobname}
\ExplSyntaxOn