Skip to content

Commit

Permalink
Merge pull request #155 from dohyunkim/master
Browse files Browse the repository at this point in the history
bug fix: local os
  • Loading branch information
dohyunkim authored Dec 9, 2024
2 parents 8ff6460 + 27a74c5 commit 973c47a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
History of the luamplib package

2024/12/09 2.36.1
* fix a bug of previous release: missing 'local' in front of 'os'

2024/12/08 2.36.0
* <path>|<textual picture> withshadingmethod <string>,
where <string> shall be "linear" or "circular", gives shading effect to
Expand Down
12 changes: 6 additions & 6 deletions luamplib.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ See source file '\inFileName' for licencing and contact information.
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{luamplib.drv}%
[2024/12/08 v2.36.0 Interface for using the mplib library]%
[2024/12/09 v2.36.1 Interface for using the mplib library]%
\documentclass{ltxdoc}
\usepackage{metalogo,multicol,xspace}
\usepackage[x11names]{xcolor}
Expand Down Expand Up @@ -155,7 +155,7 @@ See source file '\inFileName' for licencing and contact information.
% \author{Hans Hagen, Taco Hoekwater, Elie Roux, Philipp Gesang and Kim Dohyun\\
% Current Maintainer: Kim Dohyun\\
% Support: \url{https://github.com/lualatex/luamplib}}
% \date{2024/12/08 v2.36.0}
% \date{2024/12/09 v2.36.1}
%
% \maketitle
%
Expand Down Expand Up @@ -1133,8 +1133,8 @@ See source file '\inFileName' for licencing and contact information.

luatexbase.provides_module {
name = "luamplib",
version = "2.36.0",
date = "2024/12/08",
version = "2.36.1",
date = "2024/12/09",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
}

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

0 comments on commit 973c47a

Please sign in to comment.