summaryrefslogtreecommitdiff
path: root/lualibs.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'lualibs.dtx')
-rw-r--r--lualibs.dtx25
1 files changed, 20 insertions, 5 deletions
diff --git a/lualibs.dtx b/lualibs.dtx
index c34f8e3..97bce82 100644
--- a/lualibs.dtx
+++ b/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
@@ -172,8 +172,8 @@ 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",
@@ -402,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>