summaryrefslogtreecommitdiff
path: root/lualibs.dtx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-05-21 06:22:29 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-05-21 06:22:29 +0300
commit5f2ef13d20837eb9c0fe84a378e70c5066e6d021 (patch)
tree8da8eb76198b5015119d88aeb0480dedefa27e1d /lualibs.dtx
parent2ede45796e70760267e4928dfff04d3546a8f159 (diff)
downloadlualibs-5f2ef13d20837eb9c0fe84a378e70c5066e6d021.tar.gz
Sync with ConTeXt beta (beta 2010.05.20)
Needed to sync luaotfload.
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>