summaryrefslogtreecommitdiff
path: root/tex/context/base/toks-ini.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/toks-ini.mkiv')
-rw-r--r--tex/context/base/toks-ini.mkiv20
1 files changed, 10 insertions, 10 deletions
diff --git a/tex/context/base/toks-ini.mkiv b/tex/context/base/toks-ini.mkiv
index 22deca745..2aa2ed4a6 100644
--- a/tex/context/base/toks-ini.mkiv
+++ b/tex/context/base/toks-ini.mkiv
@@ -19,12 +19,12 @@
%D Handy for manuals \unknown
-\unexpanded\def\starttokens [#1]{\ctxlua{collectors.install("#1", "stoptokens")}}
+\unexpanded\def\starttokens [#1]{\ctxlua{tokens.collectors.install("#1","stoptokens")}}
\let\stoptokens \relax
-\def\flushtokens [#1]{\ctxlua{collectors.flush("#1")}}
-\def\showtokens [#1]{\ctxlua{collectors.show("#1")}}
-\def\testtokens [#1]{\ctxlua{collectors.with_words("#1")}}
-\def\registertoken #1{\ctxlua{collectors.register("#1")}}
+\def\flushtokens [#1]{\ctxlua{tokens.collectors.flush("#1")}}
+\def\showtokens [#1]{\ctxlua{tokens.collectors.show("#1")}}
+\def\testtokens [#1]{\ctxlua{tokens.collectors.with_words("#1")}}
+\def\registertoken #1{\ctxlua{tokens.collectors.register("#1")}}
%D Inspired by a prototype by Taco for Thomas cum suis.
@@ -54,13 +54,13 @@
% {\expandafter\dograbuntil\expandafter{\csname#1\endcsname}}
\def\dostartremapper#1%
- {\ctxlua{collectors.install("#1", "\e!stop#1")}}
+ {\ctxlua{tokens.collectors.install("#1", "\e!stop#1")}}
\def\dostopremapper#1%
- {\ctxlua{collectors.handle("#1",function(str) return collectors.remapper.convert("#1",str) end, true)}}
+ {\ctxlua{tokens.collectors.handle("#1",function(str) return tokens.collectors.remapper.convert("#1",str) end, true)}}
\def\remaptokens#1%
- {\ctxlua{collectors.handle("#1",function(str) return collectors.remapper.convert("#1",str) end)}}
+ {\ctxlua{tokens.collectors.handle("#1",function(str) return tokens.collectors.remapper.convert("#1",str) end)}}
\unexpanded\def\defineremapper[#1]%
{\setvalue{\e!start#1}{\dostartremapper{#1}}%
@@ -72,7 +72,7 @@
{\dodoubleempty\doremapcharacter}
\def\doremapcharacter[#1][#2]#3%
- {\ctxlua{collectors.install("store", "ctxlua")}#3%
- \ctxlua{collectors.remapper.store("store","#1",\number#2)}}
+ {\ctxlua{tokens.collectors.install("store", "ctxlua")}#3%
+ \ctxlua{tokens.collectors.remapper.store("store","#1",\number#2)}}
\protect \endinput