From e62580242146a93f7836af785779cfd1a79e0ce1 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Sat, 29 May 2010 09:25:56 +0000 Subject: lualibs update (2010/05/28 v0.94) git-svn-id: svn://tug.org/texlive/trunk@18577 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/luatex/lualibs/lualibs.dtx | 29 +++++++++++++++++----- 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/source/luatex') diff --git a/Master/texmf-dist/source/luatex/lualibs/lualibs.dtx b/Master/texmf-dist/source/luatex/lualibs/lualibs.dtx index 56aba9d2ff9..23a5f1c2502 100644 --- a/Master/texmf-dist/source/luatex/lualibs/lualibs.dtx +++ b/Master/texmf-dist/source/luatex/lualibs/lualibs.dtx @@ -33,7 +33,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: lualibs 2010/01/11 v0.92 Lua additional functions.} +\Msg{* Package: lualibs 2010/05/21 v0.94 Lua additional functions.} \Msg{************************************************************************} \keepsilent @@ -90,7 +90,7 @@ and the derived file lualibs.lua. %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{lualibs.drv} - [2010/01/11 v0.92 Lua additional functions.] + [2010/05/21 v0.94 Lua additional functions.] \documentclass{ltxdoc} \EnableCrossrefs \CodelineIndex @@ -120,7 +120,7 @@ and the derived file lualibs.lua. % \GetFileInfo{lualibs.drv} % % \title{The \textsf{lualibs} package} -% \date{2010/05/10 v0.93} +% \date{2010/05/21 v0.94} % \author{Elie Roux \\ \texttt{elie.roux@telecom-bretagne.eu}} % % \maketitle @@ -167,17 +167,19 @@ and the derived file lualibs.lua. % \fi % % \begin{macrocode} +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 @@ -397,6 +399,21 @@ function fpath.localize_sep(str) end end +% \end{macrocode} +% +% \end{macro} +% \begin{macro}{table.starts at} +% +% No idea what it was used for, but Hans depricated it with the comment +% \textit{obsolete, not nice anyway}, just restore it here until we have a +% process to deprecate unused functions like this. +% +% \begin{macrocode} + +function table.starts_at(t) + return ipairs(t,1)(t,0) +end + % \end{macrocode} % % \end{macro} -- cgit v1.2.3