Skip to content

Commit 973c47a

Browse files
authored
Merge pull request #155 from dohyunkim/master
bug fix: local os
2 parents 8ff6460 + 27a74c5 commit 973c47a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
History of the luamplib package
22

3+
2024/12/09 2.36.1
4+
* fix a bug of previous release: missing 'local' in front of 'os'
5+
36
2024/12/08 2.36.0
47
* <path>|<textual picture> withshadingmethod <string>,
58
where <string> shall be "linear" or "circular", gives shading effect to

luamplib.dtx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ See source file '\inFileName' for licencing and contact information.
8585
%<*driver>
8686
\NeedsTeXFormat{LaTeX2e}
8787
\ProvidesFile{luamplib.drv}%
88-
[2024/12/08 v2.36.0 Interface for using the mplib library]%
88+
[2024/12/09 v2.36.1 Interface for using the mplib library]%
8989
\documentclass{ltxdoc}
9090
\usepackage{metalogo,multicol,xspace}
9191
\usepackage[x11names]{xcolor}
@@ -155,7 +155,7 @@ See source file '\inFileName' for licencing and contact information.
155155
% \author{Hans Hagen, Taco Hoekwater, Elie Roux, Philipp Gesang and Kim Dohyun\\
156156
% Current Maintainer: Kim Dohyun\\
157157
% Support: \url{https://github.com/lualatex/luamplib}}
158-
% \date{2024/12/08 v2.36.0}
158+
% \date{2024/12/09 v2.36.1}
159159
%
160160
% \maketitle
161161
%
@@ -1133,8 +1133,8 @@ See source file '\inFileName' for licencing and contact information.
11331133

11341134
luatexbase.provides_module {
11351135
name = "luamplib",
1136-
version = "2.36.0",
1137-
date = "2024/12/08",
1136+
version = "2.36.1",
1137+
date = "2024/12/09",
11381138
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
11391139
}
11401140

@@ -3627,7 +3627,7 @@ end
36273627
local function do_preobj_shading (object, prescript)
36283628
if not prescript or not prescript.sh_operand_type then return end
36293629
local on = do_preobj_SH(object, prescript)
3630-
os = format("/PatternType 2/Shading %s", format(pdfetcs.resfmt, on))
3630+
local os = format("/PatternType 2/Shading %s", format(pdfetcs.resfmt, on))
36313631
on = update_pdfobjs()
36323632
if pdfmode then
36333633
put2output(tableconcat{ "\\latelua{ luamplib.dolatelua(",on,",[[",os,"]]) }" })
@@ -4468,7 +4468,7 @@ end
44684468
% \begin{macrocode}
44694469
\NeedsTeXFormat{LaTeX2e}
44704470
\ProvidesPackage{luamplib}
4471-
[2024/12/08 v2.36.0 mplib package for LuaTeX]
4471+
[2024/12/09 v2.36.1 mplib package for LuaTeX]
44724472
\fi
44734473
\ifdefined\newluafunction\else
44744474
\input ltluatex

0 commit comments

Comments
 (0)