diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/cldf-ini.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/cldf-ini.mkiv | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/context/base/cldf-ini.mkiv b/Master/texmf-dist/tex/context/base/cldf-ini.mkiv index 4ad31d81ebe..77948e0583f 100644 --- a/Master/texmf-dist/tex/context/base/cldf-ini.mkiv +++ b/Master/texmf-dist/tex/context/base/cldf-ini.mkiv @@ -31,12 +31,14 @@ %D %D Anyway \unknown\ the following are {\em not} user commands: -\def\cldf#1{\directlua\zerocount{_cldf_(#1)}} % global (functions) -\def\cldn#1{\directlua\zerocount{_cldn_(#1)}} % global (nodes) +% \zerocount removes as it's the default -\normalprotected\def\cldprocessfile#1{\directlua\zerocount{context.runfile("#1")}} - \def\cldcontext #1{\directlua\zerocount{context(#1)}} - \def\cldcommand #1{\directlua\zerocount{context.#1}} - % \def\cldverbatim #1{\directlua\zerocount{context.verbatim.#1}} % maybe make verbatim global +\def\cldf#1{\directlua{_cldf_(#1)}} % global (functions) +\def\cldn#1{\directlua{_cldn_(#1)}} % global (nodes) + +\normalprotected\def\cldprocessfile#1{\directlua{context.runfile("#1")}} + \def\cldcontext #1{\directlua{context(#1)}} + \def\cldcommand #1{\directlua{context.#1}} + % \def\cldverbatim #1{\directlua{context.verbatim.#1}} % maybe make verbatim global \endinput |