texlive[50130] Master/texmf-dist: lualibs (25feb19)
commits+karl at tug.org
commits+karl at tug.org
Mon Feb 25 23:22:22 CET 2019
Revision: 50130
http://tug.org/svn/texlive?view=revision&revision=50130
Author: karl
Date: 2019-02-25 23:22:22 +0100 (Mon, 25 Feb 2019)
Log Message:
-----------
lualibs (25feb19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/luatex/lualibs/NEWS
trunk/Master/texmf-dist/doc/luatex/lualibs/README
trunk/Master/texmf-dist/doc/luatex/lualibs/lualibs.pdf
trunk/Master/texmf-dist/source/luatex/lualibs/lualibs.dtx
trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua
trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-basic.lua
trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-extended-merged.lua
trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-extended.lua
trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-unicode.lua
trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-sta.lua
trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-str.lua
trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs.lua
Modified: trunk/Master/texmf-dist/doc/luatex/lualibs/NEWS
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/lualibs/NEWS 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/doc/luatex/lualibs/NEWS 2019-02-25 22:22:22 UTC (rev 50130)
@@ -1,4 +1,7 @@
History of the lualibs package
+2019/02/14 v2.64/
+ * sync with Context beta as of 2019/02/14
+
2019/01/28 v2.63/
* sync with Context beta as of 2019/01/28
Modified: trunk/Master/texmf-dist/doc/luatex/lualibs/README
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/lualibs/README 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/doc/luatex/lualibs/README 2019-02-25 22:22:22 UTC (rev 50130)
@@ -11,8 +11,8 @@
This package has been developed by the LuaLaTeX development team on
<http://github.com/lualatex/lualibs>.
-The current verson 2.63 has been build by Ulrike Fischer on
-<https://github.com/u-fischer/lualibs> from context 2019-01-28.
+The current verson 2.64 has been build by Ulrike Fischer on
+<https://github.com/u-fischer/lualibs> from context 2019-02-14.
See the 'NEWS' file for version history.
Modified: trunk/Master/texmf-dist/doc/luatex/lualibs/lualibs.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/luatex/lualibs/lualibs.dtx
===================================================================
--- trunk/Master/texmf-dist/source/luatex/lualibs/lualibs.dtx 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/source/luatex/lualibs/lualibs.dtx 2019-02-25 22:22:22 UTC (rev 50130)
@@ -37,7 +37,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: lualibs 2019-01-28 v2.63 Lua additional functions.}
+\Msg{* Package: lualibs 2019-02-14 v2.64 Lua additional functions.}
\Msg{************************************************************************}
\keepsilent
@@ -107,7 +107,7 @@
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{lualibs.drv}
- [2010/01/28 v2.63 Lua Libraries.]
+ [2019/02/14 v2.64 Lua Libraries.]
\documentclass{ltxdoc}
\usepackage{fancyvrb,xspace}
\usepackage[x11names]{xcolor}
@@ -208,7 +208,7 @@
% \GetFileInfo{lualibs.drv}
%
% \title{The \identifier{lualibs} package}
-% \date{2019/01/28 v2.63}
+% \date{2019/02/14 v2.64}
% \author{Élie Roux · \email{elie.roux at telecom-bretagne.eu}\\
% Philipp Gesang · \email{phg at phi-gamma.net}\\
% Ulrike Fischer · \email{fischer at troubleshooting-tex.de}\\
@@ -429,8 +429,8 @@
lualibs.module_info = {
name = "lualibs",
- version = 2.63,
- date = "2019-01-28",
+ version = 2.64,
+ date = "2019-02-14",
description = "ConTeXt Lua standard libraries.",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux & Philipp Gesang",
copyright = "PRAGMA ADE / ConTeXt Development Team",
@@ -584,8 +584,8 @@
local lualibs_basic_module = {
name = "lualibs-basic",
- version = 2.63,
- date = "2019-01-28",
+ version = 2.64,
+ date = "2019-02-14",
description = "ConTeXt Lua libraries -- basic collection.",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux & Philipp Gesang",
copyright = "PRAGMA ADE / ConTeXt Development Team",
@@ -666,8 +666,8 @@
local lualibs_extended_module = {
name = "lualibs-extended",
- version = 2.63,
- date = "2019-01-28",
+ version = 2.64,
+ date = "2019-02-14",
description = "ConTeXt Lua libraries -- extended collection.",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux & Philipp Gesang",
copyright = "PRAGMA ADE / ConTeXt Development Team",
Modified: trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua 2019-02-25 22:22:22 UTC (rev 50130)
@@ -1,6 +1,6 @@
-- merged file : lualibs-basic-merged.lua
-- parent file : lualibs-basic.lua
--- merge date : Wed Jan 30 23:25:49 2019
+-- merge date : Fri Feb 22 23:27:00 2019
do -- begin closure to overcome local limits and interference
Modified: trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-basic.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-basic.lua 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-basic.lua 2019-02-25 22:22:22 UTC (rev 50130)
@@ -29,8 +29,8 @@
local lualibs_basic_module = {
name = "lualibs-basic",
- version = 2.63,
- date = "2019-01-28",
+ version = 2.64,
+ date = "2019-02-14",
description = "ConTeXt Lua libraries -- basic collection.",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux & Philipp Gesang",
copyright = "PRAGMA ADE / ConTeXt Development Team",
Modified: trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-extended-merged.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-extended-merged.lua 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-extended-merged.lua 2019-02-25 22:22:22 UTC (rev 50130)
@@ -1,6 +1,6 @@
-- merged file : lualibs-extended-merged.lua
-- parent file : lualibs-extended.lua
--- merge date : Wed Jan 30 23:25:40 2019
+-- merge date : Fri Feb 22 23:26:50 2019
do -- begin closure to overcome local limits and interference
@@ -359,6 +359,7 @@
formattedfloat=number.formattedfloat,
stripzero=lpeg.patterns.stripzero,
stripzeros=lpeg.patterns.stripzeros,
+ FORMAT=string.f9,
}
local arguments={ "a1" }
setmetatable(arguments,{ __index=function(t,k)
Modified: trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-extended.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-extended.lua 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-extended.lua 2019-02-25 22:22:22 UTC (rev 50130)
@@ -30,8 +30,8 @@
local lualibs_extended_module = {
name = "lualibs-extended",
- version = 2.63,
- date = "2019-01-28",
+ version = 2.64,
+ date = "2019-02-14",
description = "ConTeXt Lua libraries -- extended collection.",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux & Philipp Gesang",
copyright = "PRAGMA ADE / ConTeXt Development Team",
Modified: trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-unicode.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-unicode.lua 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-unicode.lua 2019-02-25 22:22:22 UTC (rev 50130)
@@ -31,7 +31,7 @@
-- dump, find, format, gfind, gmatch, gsub, lower, match, rep, reverse, upper
utf = utf or { }
--- unicode = nil
+--unicode = nil
if not string.utfcharacters then
Modified: trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-sta.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-sta.lua 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-sta.lua 2019-02-25 22:22:22 UTC (rev 50130)
@@ -289,24 +289,24 @@
--
-- local concat = table.concat
--
--- local pdfpageliteral = nodes.pool.pdfpageliteral
+-- local pageliteral = nodes.pool.pageliteral
--
-- function demostacker.start(s,t,first,last)
-- local n = whatever[t[last]]
-- -- s.report("start: %s",n)
--- return pdfpageliteral(n)
+-- return pageliteral(n)
-- end
--
-- function demostacker.stop(s,t,first,last)
-- local n = whatever[false]
-- -- s.report("stop: %s",n)
--- return pdfpageliteral(n)
+-- return pageliteral(n)
-- end
--
-- function demostacker.change(s,t1,first1,last1,t2,first2,last2)
-- local n = whatever[t2[last2]]
-- -- s.report("change: %s",n)
--- return pdfpageliteral(n)
+-- return pageliteral(n)
-- end
--
-- demostacker.mode = "switch"
@@ -325,7 +325,7 @@
-- r[#r+1] = whatever[t[i]]
-- end
-- -- s.report("start: %s",concat(r," "))
--- return pdfpageliteral(concat(r," "))
+-- return pageliteral(concat(r," "))
-- end
--
-- function demostacker.stop(s,t,first,last)
@@ -334,7 +334,7 @@
-- r[#r+1] = whatever[false]
-- end
-- -- s.report("stop: %s",concat(r," "))
--- return pdfpageliteral(concat(r," "))
+-- return pageliteral(concat(r," "))
-- end
--
-- function demostacker.change(s,t1,first1,last1,t2,first2,last2)
@@ -346,7 +346,7 @@
-- r[#r+1] = whatever[t2[i]]
-- end
-- -- s.report("change: %s",concat(r," "))
--- return pdfpageliteral(concat(r," "))
+-- return pageliteral(concat(r," "))
-- end
--
-- demostacker.mode = "stack"
Modified: trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-str.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-str.lua 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-str.lua 2019-02-25 22:22:22 UTC (rev 50130)
@@ -612,6 +612,8 @@
formattedfloat = number.formattedfloat,
stripzero = lpeg.patterns.stripzero,
stripzeros = lpeg.patterns.stripzeros,
+
+ FORMAT = string.f9,
}
-- -- --
@@ -730,6 +732,17 @@
end
end
+-- if string.f9 then
+-- format_F = function(f) -- beware, no cast to number
+-- n = n + 1
+-- if not f or f == "" then
+-- return format("(((a%s > -0.0000000005 and a%s < 0.0000000005) and '0') or FORMAT(a%s))",n,n,n,n,n)
+-- else
+-- return format("((a%s %% 1 == 0) and format('%%i',a%s) or FORMAT(a%s,'%%%sf'))",n,n,n,f)
+-- end
+-- end
+-- end
+
local format_k = function(b,a) -- slow
n = n + 1
return format("formattedfloat(a%s,%i,%i)",n,b or 0, a or 0)
Modified: trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs.lua 2019-02-25 22:22:07 UTC (rev 50129)
+++ trunk/Master/texmf-dist/tex/luatex/lualibs/lualibs.lua 2019-02-25 22:22:22 UTC (rev 50130)
@@ -25,8 +25,8 @@
lualibs.module_info = {
name = "lualibs",
- version = 2.63,
- date = "2019-01-28",
+ version = 2.64,
+ date = "2019-02-14",
description = "ConTeXt Lua standard libraries.",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux & Philipp Gesang",
copyright = "PRAGMA ADE / ConTeXt Development Team",
More information about the tex-live-commits
mailing list