diff options
Diffstat (limited to 'tex/context/base/luat-cod.mkiv')
-rw-r--r-- | tex/context/base/luat-cod.mkiv | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/tex/context/base/luat-cod.mkiv b/tex/context/base/luat-cod.mkiv index 034ab0613..9f0f9e6a8 100644 --- a/tex/context/base/luat-cod.mkiv +++ b/tex/context/base/luat-cod.mkiv @@ -49,14 +49,23 @@ % we can drop the \zerocount as it's default -\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]]}} +% \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]]}} + +\let\ctxdirectlua \directlua +\let\ctxlatelua \latelua +\def\ctxsprint #1{\directlua{tex.sprint(tex.ctxcatcodes,#1)}} % saves tokens +\def\ctxwrite #1{\directlua{tex.write(#1)}} % saves tokens +\def\ctxcommand #1{\directlua{commands.#1}} % saves tokens +\def\ctxdirectcommand#1{\directlua{commands.#1}} % saves tokens +\def\ctxlatecommand #1{\latelua {commands.#1}} % saves tokens +\def\ctxreport #1{\directlua{logs.writer[[#1]]}} %D Take your choice \unknown |