texlive[73377] Master/texmf-dist: plantuml (8jan25)
commits+karl at tug.org
commits+karl at tug.org
Wed Jan 8 22:13:38 CET 2025
Revision: 73377
https://tug.org/svn/texlive?view=revision&revision=73377
Author: karl
Date: 2025-01-08 22:13:37 +0100 (Wed, 08 Jan 2025)
Log Message:
-----------
plantuml (8jan25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/lualatex/plantuml/CHANGELOG.md
trunk/Master/texmf-dist/doc/lualatex/plantuml/README.md
trunk/Master/texmf-dist/doc/lualatex/plantuml/plantuml.pdf
trunk/Master/texmf-dist/tex/lualatex/plantuml/plantuml.sty
Modified: trunk/Master/texmf-dist/doc/lualatex/plantuml/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/plantuml/CHANGELOG.md 2025-01-08 21:13:28 UTC (rev 73376)
+++ trunk/Master/texmf-dist/doc/lualatex/plantuml/CHANGELOG.md 2025-01-08 21:13:37 UTC (rev 73377)
@@ -5,12 +5,18 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## [0.5.0] - 2025-01-08
+
+## Fixed
+
+- Fixed overleaf compilation. [#34](https://github.com/koppor/plantuml/issues/34)
+
## [0.4.0] – 2024-09-17
### Fixed
-- Updated command-line parameters for inkscape. [#33](https://github.com/koppor/plantuml/pull/33)
-- Updated command-line parameters for plantuml. [#33](https://github.com/koppor/plantuml/pull/33)
+- Updated command-line parameters for PlantUML to fit PlantUML v1.2023.0 changes. [#36](https://github.com/koppor/plantuml/issues/36)
+- Updated command-line parameters for Inkscape. [#33](https://github.com/koppor/plantuml/pull/33)
- Works if multiple diagrams are present. [#15](https://github.com/koppor/plantuml/issues/15), [#17](https://github.com/koppor/plantuml/issues/17)
## [0.3.2] – 2023-05-12
@@ -74,6 +80,7 @@
Initial public release
+[0.5.0]: https://github.com/koppor/plantuml/compare/0.4.0...0.5.0
[0.4.0]: https://github.com/koppor/plantuml/compare/0.3.2...0.4.0
[0.3.2]: https://github.com/koppor/plantuml/compare/0.3.1...0.3.2
[0.3.1]: https://github.com/koppor/plantuml/compare/0.3.0...0.3.1
Modified: trunk/Master/texmf-dist/doc/lualatex/plantuml/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/plantuml/README.md 2025-01-08 21:13:28 UTC (rev 73376)
+++ trunk/Master/texmf-dist/doc/lualatex/plantuml/README.md 2025-01-08 21:13:37 UTC (rev 73377)
@@ -104,7 +104,7 @@
Your latex distribution should take care.
-For manual installation, copy `plantuml.*` to your local texmf folder in the subdirectoy `tex/latex/plantuml`.
+For manual installation, copy `plantuml.*` to your local `texmf` folder in the sub directoy `tex/latex/plantuml`.
See [the discussion at tex.sx](https://tex.stackexchange.com/q/27982/9075) for the concrete location of the folder on your system.
## Development
@@ -111,11 +111,11 @@
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:
+Release preparation:
-1. Adapt date and version number in `plantuml.sty`.
-1. Adapt `CHANGELOG.md`.
-1. Set a git tag and push.
+1. Adapt copyright year (line 1) as well as date and version number (line 6) in `plantuml.sty`.
+2. Adapt `CHANGELOG.md`.
+3. Set a git tag and push.
## Alternative Solutions
Modified: trunk/Master/texmf-dist/doc/lualatex/plantuml/plantuml.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/lualatex/plantuml/plantuml.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/plantuml/plantuml.sty 2025-01-08 21:13:28 UTC (rev 73376)
+++ trunk/Master/texmf-dist/tex/lualatex/plantuml/plantuml.sty 2025-01-08 21:13:37 UTC (rev 73377)
@@ -1,9 +1,9 @@
-%% Copyright (C) 2018-2023 Oliver Kopp, https://github.com/koppor
+%% Copyright (C) 2018-2025 Oliver Kopp, https://github.com/koppor
%%
%% SPDX-License-Identifier: LPPL-1.3c+
\NeedsTeXFormat{LaTeX2e}\relax
\ProvidesPackage{plantuml}
- [2024/09/17 v0.4.0
+ [2024/05/17 v0.5.0
Embed PlantUML diagrams in latex documents.]
% Required by PlantUML LaTeX output
@@ -54,8 +54,14 @@
\ifluatex
\RequirePackage{luacode}
+ \directlua{
+ local lfs = require("lfs")
+ local currentdir = lfs.currentdir():gsub("\\", "/")
+ tex.sprint("\\newcommand\\CurrentDirectory{" .. currentdir .. "/}")
+ }
\else
\RequirePackage[usefamily=bash]{pythontex}
+ \newcommand{\CurrentDirectory}{}
\fi
\makeatletter
@@ -74,7 +80,7 @@
}
\fi
\NewDocumentEnvironment{plantuml}{}{%
- \VerbatimOut{\PlantUMLJobname-plantuml.txt}}
+ \VerbatimOut{\CurrentDirectory\PlantUMLJobname-plantuml.txt}}
{%
\endVerbatimOut
\ifluatex
@@ -95,7 +101,7 @@
\end{adjustbox}
}{
\includegraphics[width=\maxwidth{\textwidth}]{\PlantUMLJobname-plantuml.\PlantUmlMode}
- \UMLcountUp
+ \UMLcountUp
}
}
\or
More information about the tex-live-commits
mailing list.