From 107d32c5dfec0f70a7576b172ea0d661eaf09a22 Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Sun, 9 May 2010 21:08:16 +0300
Subject: Update the minimum luatex version

We are now stabilizing against 0.60.x, also make the message less
dramatic.
---
 luaotfload.dtx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'luaotfload.dtx')

diff --git a/luaotfload.dtx b/luaotfload.dtx
index fae456b..d2cb55f 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -338,10 +338,13 @@ luatextra.provides_module(luaotfload.module)
 %
 %    \begin{macrocode}
 
-luaotfload.luatex_version = 51
+local luatex_version = 60
 
-if tex.luatexversion < luaotfload.luatex_version then
-    luatextra.module_warning('luaotfload', string.format('too old luatex version, "%s" is needed at least', luaotfload.luatex_version/100))
+if tex.luatexversion < luatex_version then
+    luatextra.module_warning('luaotfload',
+        string.format('LuaTeX v%.2f is old, v%.2f is recommended.',
+                       tex.luatexversion/100,
+                       luatex_version   /100))
 end
 
 %    \end{macrocode}
-- 
cgit v1.2.3

