diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/lualibs/lualibs.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/lualibs/lualibs.lua | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/luatex/lualibs/lualibs.lua b/Master/texmf-dist/tex/luatex/lualibs/lualibs.lua index f167a27ef85..a9df528d668 100644 --- a/Master/texmf-dist/tex/luatex/lualibs/lualibs.lua +++ b/Master/texmf-dist/tex/luatex/lualibs/lualibs.lua @@ -14,17 +14,19 @@ -- This work consists of the main source file lualibs.dtx -- and the derived file lualibs.lua. -- +module('lualibs', package.seeall) + do local lualibs_module = { name = "lualibs", - version = 0.93, - date = "2010/05/10", + version = 0.94, + date = "2010/05/21", description = "Lua additional functions.", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "See ConTeXt's mreadme.pdf for the license", } - if luatexbase then + if luatexbase and luatexbase.provides_module then luatexbase.provides_module(lualibs_module) end end @@ -155,5 +157,10 @@ function fpath.localize_sep(str) end end + +function table.starts_at(t) + return ipairs(t,1)(t,0) +end + -- -- End of File `lualibs.lua'. |