texlive[71524] Master/texmf-dist: luamplib (14jun24)
commits+karl at tug.org
commits+karl at tug.org
Fri Jun 14 23:42:14 CEST 2024
Revision: 71524
https://tug.org/svn/texlive?view=revision&revision=71524
Author: karl
Date: 2024-06-14 23:42:14 +0200 (Fri, 14 Jun 2024)
Log Message:
-----------
luamplib (14jun24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS
trunk/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
trunk/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex
trunk/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
Modified: trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS 2024-06-14 21:42:05 UTC (rev 71523)
+++ trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS 2024-06-14 21:42:14 UTC (rev 71524)
@@ -1,5 +1,8 @@
History of the luamplib package
+2024/06/14 2.32.2
+ * fix matrix conversion between MP and PDF
+
2024/06/13 2.32.1
* for the sake of convenience, width and height values of tiling patterns
will be written down into the log file.
Modified: trunk/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex 2024-06-14 21:42:05 UTC (rev 71523)
+++ trunk/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex 2024-06-14 21:42:14 UTC (rev 71524)
@@ -263,7 +263,7 @@
\begin{mppattern}{pattuncolored}
[
colored = false,
- matrix = "rotated 30",
+ matrix = "slanted .3 rotated 30",
]
\tiny\TeX
\end{mppattern}\relax
Modified: trunk/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex 2024-06-14 21:42:05 UTC (rev 71523)
+++ trunk/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex 2024-06-14 21:42:14 UTC (rev 71524)
@@ -256,7 +256,7 @@
\mppattern{pattuncolored}
[
colored = false,
- matrix = "rotated 30",
+ matrix = "slanted .3 rotated 30",
]
\fiverm\TeX
\endmppattern
Modified: trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
===================================================================
--- trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx 2024-06-14 21:42:05 UTC (rev 71523)
+++ trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx 2024-06-14 21:42:14 UTC (rev 71524)
@@ -85,7 +85,7 @@
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{luamplib.drv}%
- [2024/06/13 v2.32.1 Interface for using the mplib library]%
+ [2024/06/14 v2.32.2 Interface for using the mplib library]%
\documentclass{ltxdoc}
\usepackage{metalogo,multicol,mdwlist,fancyvrb,xspace}
\usepackage[x11names]{xcolor}
@@ -153,7 +153,7 @@
% \author{Hans Hagen, Taco Hoekwater, Elie Roux, Philipp Gesang and Kim Dohyun\\
% Maintainer: LuaLaTeX Maintainers ---
% Support: \email{lualatex-dev at tug.org}}
-% \date{2024/06/13 v2.32.1}
+% \date{2024/06/14 v2.32.2}
%
% \maketitle
%
@@ -576,7 +576,7 @@
% |ystep| &\textit{number} & vertical spacing between pattern cells\\
% |xshift| &\textit{number} & horizontal shifting of pattern cells\\
% |yshift| &\textit{number} & vertical shifting of pattern cells\\
-% |matrix| &\textit{table} or \textit{string} & |xx|, |xy|, |yx|, |yy| values\kern1pt* or MP transformation code\\
+% |matrix| &\textit{table} or \textit{string} & |xx|, |yx|, |xy|, |yy| values\kern1pt* or MP transformation code\\
% |bbox| &\textit{table} or \textit{string} & |llx|, |lly|, |urx|, |ury| values\kern1pt*\\
% |resources|&\textit{string} & PDF resources if needed\\
% |colored| &\textit{boolean}& |false| for uncolored pattern. default: |true|\\\hline
@@ -662,8 +662,8 @@
luatexbase.provides_module {
name = "luamplib",
- version = "2.32.1",
- date = "2024/06/13",
+ version = "2.32.2",
+ date = "2024/06/14",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
}
@@ -2317,11 +2317,11 @@
enddef;
vardef mplibtransformmatrix (text e) =
save t; transform t;
- t = inverse (identity e);
+ t = identity e;
runscript("luamplib.transformmatrix = {"
& decimal xxpart t & ","
+ & decimal yxpart t & ","
& decimal xypart t & ","
- & decimal yxpart t & ","
& decimal yypart t & ","
& decimal xpart t & ","
& decimal ypart t & ","
@@ -3450,7 +3450,7 @@
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2024/06/13 v2.32.1 mplib package for LuaTeX]
+ [2024/06/14 v2.32.2 mplib package for LuaTeX]
\ifx\newluafunction\@undefined
\input ltluatex
\fi
Modified: trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua 2024-06-14 21:42:05 UTC (rev 71523)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua 2024-06-14 21:42:14 UTC (rev 71524)
@@ -11,8 +11,8 @@
luatexbase.provides_module {
name = "luamplib",
- version = "2.32.1",
- date = "2024/06/13",
+ version = "2.32.2",
+ date = "2024/06/14",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
}
@@ -1414,11 +1414,11 @@
enddef;
vardef mplibtransformmatrix (text e) =
save t; transform t;
- t = inverse (identity e);
+ t = identity e;
runscript("luamplib.transformmatrix = {"
& decimal xxpart t & ","
+ & decimal yxpart t & ","
& decimal xypart t & ","
- & decimal yxpart t & ","
& decimal yypart t & ","
& decimal xpart t & ","
& decimal ypart t & ","
Modified: trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty 2024-06-14 21:42:05 UTC (rev 71523)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty 2024-06-14 21:42:14 UTC (rev 71524)
@@ -14,7 +14,7 @@
\else
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luamplib}
- [2024/06/13 v2.32.1 mplib package for LuaTeX]
+ [2024/06/14 v2.32.2 mplib package for LuaTeX]
\ifx\newluafunction\@undefined
\input ltluatex
\fi
More information about the tex-live-commits
mailing list.