summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua')
-rw-r--r--Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
index b31a4e7ca1f..2513e7b1452 100644
--- a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
+++ b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
@@ -20,11 +20,9 @@
-- and version 1.3c or later is part of all distributions of
-- LaTeX version 2009/09/24 or later.
--
-require("luatexbase.modutils")
-require("luatexbase.cctb")
lualatex = lualatex or {}
lualatex.math = lualatex.math or {}
-local err, warn, info, log = luatexbase.provides_module({
+luatexbase.provides_module({
name = "lualatex-math",
date = "2013/08/03",
version = 1.3,
@@ -33,7 +31,8 @@ local err, warn, info, log = luatexbase.provides_module({
licence = "LPPL v1.3+"
})
local unpack = unpack or table.unpack
-local cctb = luatexbase.catcodetables
+local cctb = luatexbase.catcodetables or
+ {string = luatexbase.registernumber("catcodetable@string")}
function lualatex.math.print_fam_slot(char)
local code = tex.getmathcode(char)
local class, family, slot = unpack(code)