summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
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}