summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/plantuml
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/latex/plantuml')
-rw-r--r--macros/luatex/latex/plantuml/CHANGELOG.md36
-rw-r--r--macros/luatex/latex/plantuml/README.md8
-rw-r--r--macros/luatex/latex/plantuml/plantuml.lua2
-rw-r--r--macros/luatex/latex/plantuml/plantuml.pdfbin47151 -> 47782 bytes
-rw-r--r--macros/luatex/latex/plantuml/plantuml.sty7
5 files changed, 31 insertions, 22 deletions
diff --git a/macros/luatex/latex/plantuml/CHANGELOG.md b/macros/luatex/latex/plantuml/CHANGELOG.md
index 0019d588d0..cadb12c9cd 100644
--- a/macros/luatex/latex/plantuml/CHANGELOG.md
+++ b/macros/luatex/latex/plantuml/CHANGELOG.md
@@ -5,14 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
-## [0.3.0] - 2019-09-23
+## [0.3.1] – 2020-05-19
+
+### Fixed
+
+- Added `-Djava.awt.headless=true` parameter to the call of `plantuml.jar` so it runs silently without interference
+ the current focus
+
+## [0.3.0] – 2019-09-23
## Added
- Added support for UTF-8 filenames.
-- Added `example-component-diagram.tex`. Refs [#2](https://github.com/latextemplates/plantuml/issues/9).
+- Added `example-component-diagram.tex`. Refs [#9](https://github.com/koppor/plantuml/issues/9).
-## [0.2.3] - 2018-06-04
+## [0.2.3] – 2018-06-04
## Added
@@ -22,20 +29,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Removed `\usepackage{aeguill}` as 1) PlantUML seems not to rely on it any more and 2) [it is obsolete and should not be used anymore](https://tex.stackexchange.com/a/5901/9075).
-## [0.2.2] - 2018-03-22
+## [0.2.2] – 2018-03-22
## Changed
- Added version number in generated `plantuml.pdf`.
- Do not strip down `README.md` for CTAN anymore and provide "*.png" for generation of `plantuml.pdf`.
-## [0.2.1] - 2018-03-21
+## [0.2.1] – 2018-03-21
### Fixed
- Added short version of `README.md` to CTAN distribution again, because of [CTAN rules](https://mirror.informatik.hs-fulda.de/tex-archive/help/ctan/CTAN-upload-addendum.html#readme).
-## [0.2.0] - 2018-03-20
+## [0.2.0] – 2018-03-20
### Changed
@@ -47,13 +54,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- `release.sh` for creating a release.
-## 0.1.0 - 2018-03-08
+## 0.1.0 – 2018-03-08
Initial public release
-[unreleased]: https://github.com/latextemplates/plantuml/compare/0.3.0...HEAD
-[0.3.0]: https://github.com/latextemplates/plantuml/compare/0.2.3...0.3.0
-[0.2.3]: https://github.com/latextemplates/plantuml/compare/0.2.2...0.2.3
-[0.2.2]: https://github.com/latextemplates/plantuml/compare/0.2.1...0.2.2
-[0.2.1]: https://github.com/latextemplates/plantuml/compare/0.2.0...0.2.1
-[0.2.0]: https://github.com/latextemplates/plantuml/compare/0.1.0...0.2.0
+[unreleased]: https://github.com/koppor/plantuml/compare/0.3.1...HEAD
+[0.3.1]: https://github.com/koppor/plantuml/compare/0.3.0...0.3.1
+[0.3.0]: https://github.com/koppor/plantuml/compare/0.2.3...0.3.0
+[0.2.3]: https://github.com/koppor/plantuml/compare/0.2.2...0.2.3
+[0.2.2]: https://github.com/koppor/plantuml/compare/0.2.1...0.2.2
+[0.2.1]: https://github.com/koppor/plantuml/compare/0.2.0...0.2.1
+[0.2.0]: https://github.com/koppor/plantuml/compare/0.1.0...0.2.0
+
+<!-- markdownlint-disable-file MD024 -->
diff --git a/macros/luatex/latex/plantuml/README.md b/macros/luatex/latex/plantuml/README.md
index eb0fd1ce84..d655302010 100644
--- a/macros/luatex/latex/plantuml/README.md
+++ b/macros/luatex/latex/plantuml/README.md
@@ -1,6 +1,6 @@
# plantuml
-Version 0.3.0
+Version 0.3.1
> A LuaLaTeX package for PlantUML in LaTeX
@@ -8,7 +8,7 @@ Version 0.3.0
This package allows for embedding PlantUML diagrams using the PlantUML source.
Currently, this project runs with [lualatex](http://www.luatex.org/) only.
-Check [issue #1](https://github.com/latextemplates/plantuml/issues/1) for the current state of affairs for support pdflatex.
+Check [issue #1](https://github.com/koppor/plantuml/issues/1) for the current state of affairs for support pdflatex.
## Preconditions
@@ -86,7 +86,7 @@ See [the discussion at tex.sx](https://tex.stackexchange.com/q/27982/9075) for t
## Development
-The release is built at [CircleCI](http://circleci.com/) using [release.sh](release.sh).
+The release is built using [GitHub Actions](https://github.com/features/actions) ([workflow file](https://github.com/koppor/plantuml/blob/master/.github/workflows/build-and-publish.yml)) using [`release.sh`](release.sh).
Release prepration:
@@ -96,7 +96,7 @@ Release prepration:
## Alternative Solutions
-[TikZ-UML](https://perso.ensta-paristech.fr/~kielbasi/tikzuml/) is a very powerful package based in [TikZ](https://www.ctan.org/pkg/pgf).
+[TikZ-UML](https://perso.ensta-paristech.fr/~kielbasi/tikzuml/) is a very powerful package based on [TikZ](https://www.ctan.org/pkg/pgf).
More alternative solutions are collected at the [CTAN topic UML](https://www.ctan.org/topic/uml).
## License
diff --git a/macros/luatex/latex/plantuml/plantuml.lua b/macros/luatex/latex/plantuml/plantuml.lua
index 2261c86332..7edb923d6b 100644
--- a/macros/luatex/latex/plantuml/plantuml.lua
+++ b/macros/luatex/latex/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/macros/luatex/latex/plantuml/plantuml.pdf b/macros/luatex/latex/plantuml/plantuml.pdf
index b753d7aa01..e81541209d 100644
--- a/macros/luatex/latex/plantuml/plantuml.pdf
+++ b/macros/luatex/latex/plantuml/plantuml.pdf
Binary files differ
diff --git a/macros/luatex/latex/plantuml/plantuml.sty b/macros/luatex/latex/plantuml/plantuml.sty
index d2958792bc..89af25689f 100644
--- a/macros/luatex/latex/plantuml/plantuml.sty
+++ b/macros/luatex/latex/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