summaryrefslogtreecommitdiff
path: root/lualibs.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'lualibs.dtx')
-rw-r--r--lualibs.dtx4
1 files changed, 3 insertions, 1 deletions
diff --git a/lualibs.dtx b/lualibs.dtx
index 56aba9d..c34f8e3 100644
--- a/lualibs.dtx
+++ b/lualibs.dtx
@@ -167,6 +167,8 @@ and the derived file lualibs.lua.
% \fi
%
% \begin{macrocode}
+module('lualibs', package.seeall)
+
do
local lualibs_module = {
name = "lualibs",
@@ -177,7 +179,7 @@ do
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "See ConTeXt's mreadme.pdf for the license",
}
- if luatexbase then
+ if luatexbase and luatexbase.provides_module then
luatexbase.provides_module(lualibs_module)
end
end