texlive[48780] Master: luamplib (27sep18)

commits+karl at tug.org commits+karl at tug.org
Sat Sep 29 00:31:10 CEST 2018


Revision: 48780
          http://tug.org/svn/texlive?view=revision&revision=48780
Author:   karl
Date:     2018-09-29 00:31:10 +0200 (Sat, 29 Sep 2018)
Log Message:
-----------
luamplib (27sep18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS
    trunk/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
    trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
    trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
    trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
    trunk/Master/tlpkg/libexec/ctan2tds
    trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc

Modified: trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS	2018-09-28 22:21:31 UTC (rev 48779)
+++ trunk/Master/texmf-dist/doc/luatex/luamplib/NEWS	2018-09-28 22:31:10 UTC (rev 48780)
@@ -1,5 +1,9 @@
                        History of the luamplib package
 
+2018/09/27 2.12.5
+    * change dash.offset pattern from "%i" to "%f" (PR #77)
+    * remove unnecessary variables that go back to context (issue #76)
+
 2018/04/16 2.12.4
     * workaround issue #74 relating to PATH limitation
     * substitute InconsolataN font for Liberation Mono in the manual

Modified: trunk/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
===================================================================
--- trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx	2018-09-28 22:21:31 UTC (rev 48779)
+++ trunk/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx	2018-09-28 22:31:10 UTC (rev 48780)
@@ -85,7 +85,7 @@
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{luamplib.drv}%
-  [2018/04/16 v2.12.4 Interface for using the mplib library]%
+  [2018/09/27 v2.12.5 Interface for using the mplib library]%
 \documentclass{ltxdoc}
 \usepackage{metalogo,multicol,mdwlist,fancyvrb,xspace}
 \usepackage[x11names]{xcolor}
@@ -153,7 +153,7 @@
 % \author{Hans Hagen, Taco Hoekwater, Elie Roux, Philipp Gesang and Kim Dohyun\\
 % Maintainer: LuaLaTeX Maintainers ---
 % Support: \email{lualatex-dev at tug.org}}
-% \date{2018/04/16 v2.12.4}
+% \date{2018/09/27 v2.12.5}
 %
 % \maketitle
 %
@@ -373,8 +373,8 @@
 
 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.",
 }
 
@@ -938,7 +938,6 @@
     local one = path[1]
     pdf_literalcode("%f %f l",one.x_coord,one.y_coord)
   end
-  return t
 end
 
 local function flushconcatpath(path,open)
@@ -971,7 +970,6 @@
     local one = path[1]
     pdf_literalcode("%f %f l",concat(one.x_coord,one.y_coord))
   end
-  return t
 end
 
 %    \end{macrocode}
@@ -1562,7 +1560,7 @@
               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()
@@ -1622,7 +1620,7 @@
                   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)
@@ -1779,7 +1777,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

Modified: trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua	2018-09-28 22:21:31 UTC (rev 48779)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua	2018-09-28 22:31:10 UTC (rev 48780)
@@ -18,8 +18,8 @@
 
 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 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 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 @@
               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 @@
                   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)

Modified: trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty	2018-09-28 22:21:31 UTC (rev 48779)
+++ trunk/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty	2018-09-28 22:31:10 UTC (rev 48780)
@@ -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

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2018-09-28 22:21:31 UTC (rev 48779)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2018-09-28 22:31:10 UTC (rev 48780)
@@ -941,6 +941,7 @@
  'pst-eps',     "&MAKEpst",
  'pst-eucl',    "&MAKEpst",
  'pst-exa',     "&MAKEflatten",
+ 'pst-feyn',	"&MAKEpst",
  'pst-fill',    "&MAKEpst",
  'pst-fit',     "&MAKEpst",
  'pst-fr3d',    "&MAKEpst",

Modified: trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc	2018-09-28 22:21:31 UTC (rev 48779)
+++ trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc	2018-09-28 22:31:10 UTC (rev 48780)
@@ -40,6 +40,7 @@
 depend pst-eps
 depend pst-eucl
 depend pst-exa
+depend pst-feyn
 depend pst-fill
 depend pst-fit
 depend pst-fr3d



More information about the tex-live-commits mailing list