From 5f2ef13d20837eb9c0fe84a378e70c5066e6d021 Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Fri, 21 May 2010 06:22:29 +0300
Subject: Sync with ConTeXt beta (beta 2010.05.20)

Needed to sync luaotfload.
---
 lualibs.dtx | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

(limited to 'lualibs.dtx')

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",
@@ -399,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

