summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-29 09:25:56 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-29 09:25:56 +0000
commite62580242146a93f7836af785779cfd1a79e0ce1 (patch)
tree4f9364e96e8ff73dfedf7c8135d1f6593fefcaaa /Master/texmf-dist/source/luatex
parentcdcd956592bbd615b0540c0cac7d19a5fceed9b7 (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/source/luatex')
-rw-r--r--Master/texmf-dist/source/luatex/lualibs/lualibs.dtx29
1 files changed, 23 insertions, 6 deletions
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
@@ -400,6 +402,21 @@ 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}
%
% \iffalse
%</lua>