summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luamplib
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luamplib')
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.lua10
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.sty2
2 files changed, 5 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
index 4cc61116c0e..73449b7be97 100644
--- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
+++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
@@ -18,8 +18,8 @@ luamplib.lastlog = ""
luatexbase.provides_module {
name = "luamplib",
- version = "2.12.4",
- date = "2018/04/16",
+ version = "2.12.5",
+ date = "2018/09/27",
description = "Lua package to typeset Metapost with LuaTeX's MPLib.",
}
@@ -515,7 +515,6 @@ local function flushnormalpath(path,open)
local one = path[1]
pdf_literalcode("%f %f l",one.x_coord,one.y_coord)
end
- return t
end
local function flushconcatpath(path,open)
@@ -548,7 +547,6 @@ local function flushconcatpath(path,open)
local one = path[1]
pdf_literalcode("%f %f l",concat(one.x_coord,one.y_coord))
end
- return t
end
local further_split_keys = {
@@ -1099,7 +1097,7 @@ local function flush(result,flusher)
elseif objecttype == "start_clip" then
local evenodd = not object.istext and object.postscript == "evenodd"
start_pdf_code()
- flushnormalpath(object.path,t,false)
+ flushnormalpath(object.path,false)
pdf_literalcode(evenodd and "W* n" or "W n")
elseif objecttype == "stop_clip" then
stop_pdf_code()
@@ -1156,7 +1154,7 @@ local function flush(result,flusher)
end
local dl = object.dash
if dl then
- local d = format("[%s] %i d",tableconcat(dl.dashes or {}," "),dl.offset)
+ local d = format("[%s] %f d",tableconcat(dl.dashes or {}," "),dl.offset)
if d ~= dashed then
dashed = d
pdf_literalcode(dashed)
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
index 186150ed8b4..fa85ecc852a 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}
- [2018/04/16 v2.12.4 mplib package for LuaTeX]
+ [2018/09/27 v2.12.5 mplib package for LuaTeX]
\ifx\newluafunction\@undefined
\input ltluatex
\fi