summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-05-09 21:08:16 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-05-09 21:08:16 +0300
commit107d32c5dfec0f70a7576b172ea0d661eaf09a22 (patch)
tree2481c00331ab7136aec671a89de62e1b041551da /luaotfload.dtx
parent492628138e402ddb8eaf7e9be4e3d2830e38f504 (diff)
downloadluaotfload-107d32c5dfec0f70a7576b172ea0d661eaf09a22.tar.gz
Update the minimum luatex version
We are now stabilizing against 0.60.x, also make the message less dramatic.
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx9
1 files changed, 6 insertions, 3 deletions
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}