diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-07 20:38:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-07 20:38:49 +0000 |
commit | 0d6294a01690ace95d88ecdbc70242dc89912368 (patch) | |
tree | eef4df79d70ac95cc8fe2fea1fbf0625370f7790 /Master/texmf-dist/tex/lualatex | |
parent | 4429ead320ce6d8f38632b2255fc52a0fa086165 (diff) |
luamesh (7jun20)
git-svn-id: svn://tug.org/texlive/trunk@55468 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/luamesh/luamesh.sty | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/Master/texmf-dist/tex/lualatex/luamesh/luamesh.sty b/Master/texmf-dist/tex/lualatex/luamesh/luamesh.sty index 86f66edf1fc..d2024a1da8c 100644 --- a/Master/texmf-dist/tex/lualatex/luamesh/luamesh.sty +++ b/Master/texmf-dist/tex/lualatex/luamesh/luamesh.sty @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e}% \def\PackageName{luamesh}% -\def\fileversion{v0.51}% -\def\filedate{2017/04/15}% +\def\fileversion{v0.6}% +\def\filedate{2020/06/06}% \ProvidesPackage{luamesh}[\filedate\space\fileversion]% % % package to load @@ -89,8 +89,8 @@ buildMeshTikZBWinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@bmi@mode","\luameshval@bmi@print","\luameshval@bmi@bbox","\luameshval@bmi@scale","\luameshval@bmi@color","\luameshval@bmi@colorbbox")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@bmi@color}% - \mplibcolor{\luameshmpcolorBbox}{\luameshval@bmi@colorbbox}% + \def\luameshmpcolor{\mpcolor{\luameshval@bmi@color}}% + \def\luameshmpcolorBbox{\mpcolor{\luameshval@bmi@colorbbox}}% \directlua{% buildMeshMPBWinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@bmi@mode","\luameshval@bmi@print","\luameshval@bmi@bbox","\luameshval@bmi@scale")% }% @@ -149,8 +149,8 @@ buildMeshTikZBW("#2","\luameshval@bm@mode","\luameshval@bm@print","\luameshval@bm@bbox","\luameshval@bm@scale","\luameshval@bm@color","\luameshval@bm@colorbbox")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@bm@color}% - \mplibcolor{\luameshmpcolorBbox}{\luameshval@bm@colorbbox}% + \def\luameshmpcolor{\mpcolor{\luameshval@bm@color}}% + \def\luameshmpcolorBbox{\mpcolor{\luameshval@bm@colorbbox}}% \directlua{% buildMeshMPBW("#2","\luameshval@bm@mode","\luameshval@bm@print","\luameshval@bm@bbox","\luameshval@bm@scale")% }% @@ -238,9 +238,9 @@ buildVoronoiTikZBWinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@bvi@mode","\luameshval@bvi@print","\luameshval@bvi@bbox","\luameshval@bvi@scale","\luameshval@bvi@delaunay","\luameshval@bvi@color","\luameshval@bvi@colorbbox","\luameshval@bvi@colorvoronoi","\luameshval@bvi@styleDelaunay","\luameshval@bvi@styleVoronoi")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@bvi@color}% - \mplibcolor{\luameshmpcolorBbox}{\luameshval@bvi@colorbbox}% - \mplibcolor{\luameshmpcolorVoronoi}{\luameshval@bvi@colorvoronoi}% + \def\luameshmpcolor{\mpcolor{\luameshval@bvi@color}}% + \def\luameshmpcolorBbox{\mpcolor{\luameshval@bvi@colorbbox}}% + \def\luameshmpcolorVoronoi{\mpcolor{\luameshval@bvi@colorvoronoi}}% \directlua{% buildVoronoiMPBWinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@bvi@mode","\luameshval@bvi@print","\luameshval@bvi@bbox","\luameshval@bvi@scale","\luameshval@bvi@delaunay","\luameshval@bvi@styleDelaunay","\luameshval@bvi@styleVoronoi")% }% @@ -327,9 +327,9 @@ buildVoronoiTikZBW("#2","\luameshval@bv@mode","\luameshval@bv@print","\luameshval@bv@bbox","\luameshval@bv@scale","\luameshval@bv@delaunay","\luameshval@bv@color","\luameshval@bv@colorbbox","\luameshval@bv@colorVoronoi","\luameshval@bv@styleDelaunay","\luameshval@bv@styleVoronoi")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@bv@color}% - \mplibcolor{\luameshmpcolorBbox}{\luameshval@bv@colorbbox}% - \mplibcolor{\luameshmpcolorVoronoi}{\luameshval@bv@colorVoronoi}% + \def\luameshmpcolor{\mpcolor{\luameshval@bv@color}}% + \def\luameshmpcolorBbox{\mpcolor{\luameshval@bv@colorbbox}}% + \def\luameshmpcolorVoronoi{\mpcolor{\luameshval@bv@colorVoronoi}}% \directlua{% buildVoronoiMPBW("#2","\luameshval@bv@mode","\luameshval@bv@print","\luameshval@bv@bbox","\luameshval@bv@scale","\luameshval@bv@delaunay","\luameshval@bv@styleDelaunay","\luameshval@bv@styleVoronoi")% }% @@ -388,8 +388,8 @@ printPointsTikZ("#2","\luameshval@tp@mode","\luameshval@tp@print","\luameshval@tp@bbox","\luameshval@tp@scale","\luameshval@tp@color","\luameshval@tp@colorbbox")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@tp@color}% - \mplibcolor{\luameshmpcolorBbox}{\luameshval@tp@colorbbox}% + \def\luameshmpcolor{\mpcolor{\luameshval@tp@color}}% + \def\luameshmpcolorBbox{\mpcolor{\luameshval@tp@colorbbox}}% \directlua{% printPointsMP("#2","\luameshval@tp@mode","\luameshval@tp@print","\luameshval@tp@bbox","\luameshval@tp@scale")% }% @@ -452,8 +452,8 @@ printPointsTikZinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@tpi@mode","\luameshval@tpi@print","\luameshval@tpi@bbox","\luameshval@tpi@scale","\luameshval@tpi@color","\luameshval@tpi@colorbbox")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@tpi@color}% - \mplibcolor{\luameshmpcolorBbox}{\luameshval@tpi@colorbbox}% + \def\luameshmpcolor{\mpcolor{\luameshval@tpi@color}}% + \def\luameshmpcolorBbox{\mpcolor{\luameshval@tpi@colorbbox}}% \directlua{% printPointsMPinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@tpi@mode","\luameshval@tpi@print","\luameshval@tpi@bbox","\luameshval@tpi@scale")% }% @@ -522,11 +522,11 @@ TeXOnePointTikZBW("#2","#3","\luameshval@ap@step","\luameshval@ap@scale","\luameshval@ap@mode","\luameshval@ap@bbox","\luameshval@ap@color","\luameshval@ap@colorback","\luameshval@ap@colornew","\luameshval@ap@colorcircle","\luameshval@ap@colorbbox")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@ap@color} - \mplibcolor{\luameshmpcolorBack}{\luameshval@ap@colorback} - \mplibcolor{\luameshmpcolorNew}{\luameshval@ap@colornew} - \mplibcolor{\luameshmpcolorCircle}{\luameshval@ap@colorcircle} - \mplibcolor{\luameshmpcolorBbox}{\luameshval@ap@colorbbox} + \def\luameshmpcolor{\mpcolor{\luameshval@ap@color}} + \def\luameshmpcolorBack{\mpcolor{\luameshval@ap@colorback}} + \def\luameshmpcolorNew{\mpcolor{\luameshval@ap@colornew}} + \def\luameshmpcolorCircle{\mpcolor{\luameshval@ap@colorcircle}} + \def\luameshmpcolorBbox{\mpcolor{\luameshval@ap@colorbbox}} \directlua{% TeXOnePointMPBW("#2","#3","\luameshval@ap@step","\luameshval@ap@scale","\luameshval@ap@mode","\luameshval@ap@bbox")% }% @@ -596,11 +596,11 @@ TeXOnePointTikZBWinc("#2","#3","\luaescapestring{\unexpanded{#4}}","\luaescapestring{\unexpanded{#5}}","\luameshval@ap@step","\luameshval@ap@scale","\luameshval@ap@mode","\luameshval@ap@bbox","\luameshval@ap@color","\luameshval@ap@colorback","\luameshval@ap@colornew","\luameshval@ap@colorcircle","\luameshval@ap@colorbbox")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@api@color} - \mplibcolor{\luameshmpcolorBack}{\luameshval@api@colorback} - \mplibcolor{\luameshmpcolorNew}{\luameshval@api@colornew} - \mplibcolor{\luameshmpcolorCircle}{\luameshval@api@colorcircle} - \mplibcolor{\luameshmpcolorBbox}{\luameshval@api@colorbbox} + \def\luameshmpcolor{\mpcolor{\luameshval@api@color}} + \def\luameshmpcolorBack{\mpcolor{\luameshval@api@colorback}} + \def\luameshmpcolorNew{\mpcolor{\luameshval@api@colornew}} + \def\luameshmpcolorCircle{\mpcolor{\luameshval@api@colorcircle}} + \def\luameshmpcolorBbox{\mpcolor{\luameshval@api@colorbbox}} \directlua{% TeXOnePointMPBWinc("#2","#3","\luaescapestring{\unexpanded{#4}}","\luaescapestring{\unexpanded{#5}}","\luameshval@api@step","\luameshval@api@scale","\luameshval@api@mode","\luameshval@api@bbox")% }% @@ -641,7 +641,7 @@ drawGmshTikZinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshvaldgi@print","\luameshvaldgi@scale","\luameshvaldgi@color")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshvaldgi@color}% + \def\luameshmpcolor{\mpcolor{\luameshvaldgi@color}}% \directlua{% drawGmshMPinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshvaldgi@print","\luameshvaldgi@scale")% }% @@ -679,7 +679,7 @@ drawGmshTikZ("#2","\luameshvaldg@print","\luameshvaldg@scale","\luameshvaldg@color")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshvaldg@color}% + \def\luameshmpcolor{\mpcolor{\luameshvaldg@color}}% \directlua{% drawGmshMP("#2","\luameshvaldg@print","\luameshvaldg@scale")% }% @@ -749,8 +749,8 @@ gmshVoronoiTikZinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@gvi@print","\luameshval@gvi@scale","\luameshval@gvi@delaunay","\luameshval@gvi@color","\luameshval@gvi@colorvoronoi","\luameshval@gvi@styleDelaunay","\luameshval@gvi@styleVoronoi")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@gvi@color}% - \mplibcolor{\luameshmpcolorVoronoi}{\luameshval@gvi@colorvoronoi}% + \def\luameshmpcolor{\mpcolor{\luameshval@gvi@color}}% + \def\luameshmpcolorVoronoi{\mpcolor{\luameshval@gvi@colorvoronoi}}% \directlua{% gmshVoronoiMPinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@gvi@print","\luameshval@gvi@scale","\luameshval@gvi@delaunay","\luameshval@gvi@styleDelaunay","\luameshval@gvi@styleVoronoi")% }% @@ -817,8 +817,8 @@ gmshVoronoiTikZ("#2","\luameshval@gv@print","\luameshval@gv@scale","\luameshval@gv@delaunay","\luameshval@gv@color","\luameshval@gv@colorVoronoi","\luameshval@gv@styleDelaunay","\luameshval@gv@styleVoronoi")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@gv@color}% - \mplibcolor{\luameshmpcolorVoronoi}{\luameshval@gv@colorVoronoi}% + \def\luameshmpcolor{\mpcolor{\luameshval@gv@color}}% + \def\luameshmpcolorVoronoi{\mpcolor{\luameshval@gv@colorVoronoi}}% \directlua{% gmshVoronoiMP("#2","\luameshval@gv@print","\luameshval@gv@scale","\luameshval@gv@delaunay","\luameshval@gv@styleDelaunay","\luameshval@gv@styleVoronoi")% }% @@ -896,8 +896,8 @@ drawMeshPolygonTikZ("#2","\luameshval@mp@mode","\luameshval@mp@h","\luameshval@mp@step","\luameshval@mp@print","\luameshval@mp@scale","\luameshval@mp@color","\luameshval@mp@colorPolygon","\luameshval@mp@gridpoints")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@mp@color}% - \mplibcolor{\luameshmpcolorPoly}{\luameshval@mp@colorPolygon}% + \def\luameshmpcolor{\mpcolor{\luameshval@mp@color}}% + \def\luameshmpcolorPoly{\mpcolor{\luameshval@mp@colorPolygon}}% \directlua{% drawMeshPolygonMP("#2","\luameshval@mp@mode","\luameshval@mp@h","\luameshval@mp@step","\luameshval@mp@print","\luameshval@mp@scale","\luameshval@mp@gridpoints")% }% @@ -974,8 +974,8 @@ drawMeshPolygonTikZinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@mpi@mode","\luameshval@mpi@h","\luameshval@mpi@step","\luameshval@mpi@print","\luameshval@mpi@scale","\luameshval@mpi@color","\luameshval@mpi@colorPolygon","\luameshval@mpi@gridpoints")% }% \else % we are using MP - \mplibcolor{\luameshmpcolor}{\luameshval@mpi@color}% - \mplibcolor{\luameshmpcolorPoly}{\luameshval@mpi@colorPolygon}% + \def\luameshmpcolor{\mpcolor{\luameshval@mpi@color}}% + \def\luameshmpcolorPoly{\mpcolor{\luameshval@mpi@colorPolygon}}% \directlua{% drawMeshPolygonMPinc("#2","\luaescapestring{\unexpanded{#3}}","\luaescapestring{\unexpanded{#4}}","\luameshval@mpi@mode","\luameshval@mpi@h","\luameshval@mpi@step","\luameshval@mpi@print","\luameshval@mpi@scale","\luameshval@mpi@gridpoints")% }% |