summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/cldf-bas.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/cldf-bas.mkxl')
-rw-r--r--tex/context/base/mkxl/cldf-bas.mkxl14
1 files changed, 13 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/cldf-bas.mkxl b/tex/context/base/mkxl/cldf-bas.mkxl
index 962db5209..ab801e411 100644
--- a/tex/context/base/mkxl/cldf-bas.mkxl
+++ b/tex/context/base/mkxl/cldf-bas.mkxl
@@ -13,7 +13,19 @@
\writestatus{loading}{ConTeXt Lua Documents / Basics}
-\registerctxluafile{cldf-bas}{}
+\unprotect
+
+\permanent\protected\def\syst_new_dimen #1{\expandafter\newdimen \csname#1\endcsname}
+\permanent\protected\def\syst_new_skip #1{\expandafter\newskip \csname#1\endcsname}
+\permanent\protected\def\syst_new_count #1{\expandafter\newcount \csname#1\endcsname}
+\permanent\protected\def\syst_new_muskip#1{\expandafter\newmuskip\csname#1\endcsname}
+\permanent\protected\def\syst_new_toks #1{\expandafter\newtoks \csname#1\endcsname}
+\permanent\protected\def\syst_new_box #1{\expandafter\newbox \csname#1\endcsname}
+\permanent\protected\def\syst_new_char #1{\expandafter\chardef \csname#1\endcsname}
+
+\protect
+
+\registerctxluafile{cldf-bas}{autosuffix}
\registerctxluafile{cldf-prs}{}
\endinput