diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-05-29 09:25:56 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-05-29 09:25:56 +0000 |
commit | e62580242146a93f7836af785779cfd1a79e0ce1 (patch) | |
tree | 4f9364e96e8ff73dfedf7c8135d1f6593fefcaaa /Master/texmf-dist/tex/luatex/lualibs/lualibs.lua | |
parent | cdcd956592bbd615b0540c0cac7d19a5fceed9b7 (diff) |
lualibs update (2010/05/28 v0.94)
git-svn-id: svn://tug.org/texlive/trunk@18577 c570f23f-e606-0410-a88d-b1316a301751
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'. |