diff options
Diffstat (limited to 'tex/context/base/luat-cod.mkiv')
-rw-r--r-- | tex/context/base/luat-cod.mkiv | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tex/context/base/luat-cod.mkiv b/tex/context/base/luat-cod.mkiv index fb659f2bb..6b1bc9267 100644 --- a/tex/context/base/luat-cod.mkiv +++ b/tex/context/base/luat-cod.mkiv @@ -45,12 +45,14 @@ % instead of \ctxwrite and \ctxprint, use \cldcontext -\def\ctxdirectlua{\directlua\zerocount} -\def\ctxlatelua {\latelua \zerocount} -\def\ctxsprint #1{\directlua\zerocount{tex.sprint(tex.ctxcatcodes,#1)}} % saves tokens -\def\ctxwrite #1{\directlua\zerocount{tex.write(#1)}} % saves tokens -\def\ctxcommand#1{\directlua\zerocount{commands.#1}} % saves tokens -\def\ctxreport #1{\directlua\zerocount{logs.writer[[#1]]}} +\def\ctxdirectlua {\directlua\zerocount} +\def\ctxlatelua {\latelua \zerocount} +\def\ctxsprint #1{\directlua\zerocount{tex.sprint(tex.ctxcatcodes,#1)}} % saves tokens +\def\ctxwrite #1{\directlua\zerocount{tex.write(#1)}} % saves tokens +\def\ctxcommand #1{\directlua\zerocount{commands.#1}} % saves tokens +\def\ctxdirectcommand#1{\directlua\zerocount{commands.#1}} % saves tokens +\def\ctxlatecommand #1{\latelua \zerocount{commands.#1}} % saves tokens +\def\ctxreport #1{\directlua\zerocount{logs.writer[[#1]]}} %D Take your choice \unknown |