summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/fonts/luafonts.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/csplain/fonts/luafonts.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/fonts/luafonts.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/csplain/fonts/luafonts.tex b/Master/texmf-dist/tex/csplain/fonts/luafonts.tex
index f4653c74321..b6d5899a096 100644
--- a/Master/texmf-dist/tex/csplain/fonts/luafonts.tex
+++ b/Master/texmf-dist/tex/csplain/fonts/luafonts.tex
@@ -21,6 +21,9 @@
}
\else %%% \luatexversion>=76
+\ifnum\luatexversion<79 \def\luaotfloadfile{luaotfload}
+\else \def\luaotfloadfile{luaotfload-main}\fi
+
\message{processing luaotfload.lua (2)}
\expandafter\ifx\csname LuT@AllocAttribute\endcsname \relax
\csname newcount\expandafter \endcsname \csname LuT@AllocAttribute\endcsname \fi
@@ -33,7 +36,7 @@
oriwrite = texio.write_nl % I don't need to see unusual info
function texio.write_nl(...) end
require('luatexbase.mcb')
- luatexbase.require_module('luaotfload')
+ luatexbase.require_module('\luaotfloadfile')
texio.write_nl = oriwrite % return to original meaning
}
\fi