summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-28 22:31:10 +0000
committerKarl Berry <karl@freefriends.org>2018-09-28 22:31:10 +0000
commitb4b1b991d6f3647039f9d4ca96daadd9781dfdf2 (patch)
tree5e19a9d4f3c30156cf12f93bae5ac6d4caa6a87d /Master/texmf-dist/tex/luatex
parent719906183e64e3f4f73907d3c82507d607f3c140 (diff)
luamplib (27sep18)
git-svn-id: svn://tug.org/texlive/trunk@48780 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-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