summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/NEWS3
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/luamplib.pdfbin212157 -> 212148 bytes
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex2
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex2
-rw-r--r--Master/texmf-dist/source/luatex/luamplib/luamplib.dtx16
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.lua8
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.sty2
7 files changed, 18 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/luatex/luamplib/NEWS b/Master/texmf-dist/doc/luatex/luamplib/NEWS
index 048c08d2a01..b3919afaf32 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/NEWS
+++ b/Master/texmf-dist/doc/luatex/luamplib/NEWS
@@ -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.
diff --git a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
index fbd9a9a2084..407daa82456 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
+++ b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex
index d0335470314..c2d8cb498bf 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex
+++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex
@@ -263,7 +263,7 @@ draw mpliboutlinetext.b ("$\displaystyle\frac{1}{1-x^2}$")
\begin{mppattern}{pattuncolored}
[
colored = false,
- matrix = "rotated 30",
+ matrix = "slanted .3 rotated 30",
]
\tiny\TeX
\end{mppattern}\relax
diff --git a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
index c8a77b24e5e..c178acb31a7 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
+++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
@@ -256,7 +256,7 @@ draw mpliboutlinetext.b ("$\overbrace{x+\cdots+x}^k$")
\mppattern{pattuncolored}
[
colored = false,
- matrix = "rotated 30",
+ matrix = "slanted .3 rotated 30",
]
\fiverm\TeX
\endmppattern
diff --git a/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx b/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
index fa675e2f9ef..edae80ada69 100644
--- a/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
+++ b/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
@@ -85,7 +85,7 @@ See source file '\inFileName' for licencing and contact information.
%<*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 @@ See source file '\inFileName' for licencing and contact information.
% \author{Hans Hagen, Taco Hoekwater, Elie Roux, Philipp Gesang and Kim Dohyun\\
% Maintainer: LuaLaTeX Maintainers ---
% Support: \email{lualatex-dev@tug.org}}
-% \date{2024/06/13 v2.32.1}
+% \date{2024/06/14 v2.32.2}
%
% \maketitle
%
@@ -576,7 +576,7 @@ See source file '\inFileName' for licencing and contact information.
% |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 @@ See source file '\inFileName' for licencing and contact information.
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 @@ primarydef t withpattern p =
enddef;
vardef mplibtransformmatrix (text e) =
save t; transform t;
- t = inverse (identity e);
+ t = identity e;
runscript("luamplib.transformmatrix = {"
& decimal xxpart t & ","
- & decimal xypart t & ","
& decimal yxpart t & ","
+ & decimal xypart t & ","
& decimal yypart t & ","
& decimal xpart t & ","
& decimal ypart t & ","
@@ -3450,7 +3450,7 @@ end
\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
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
index 8952045614a..acd3e4aec35 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
@@ -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 @@ primarydef t withpattern p =
enddef;
vardef mplibtransformmatrix (text e) =
save t; transform t;
- t = inverse (identity e);
+ t = identity e;
runscript("luamplib.transformmatrix = {"
& decimal xxpart t & ","
- & decimal xypart t & ","
& decimal yxpart t & ","
+ & decimal xypart t & ","
& decimal yypart t & ","
& decimal xpart t & ","
& decimal ypart t & ","
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
index 3d2a63f2711..1ef2b71f81d 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
@@ -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