diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/syst-lua.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/syst-lua.lua | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/syst-lua.lua b/Master/texmf-dist/tex/context/base/mkiv/syst-lua.lua index 35cd221238f..a63c49e8faf 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/syst-lua.lua +++ b/Master/texmf-dist/tex/context/base/mkiv/syst-lua.lua @@ -15,10 +15,10 @@ local context = context local implement = interfaces.implement local ctx_protected_cs = context.protected.cs -- more efficient -local ctx_firstoftwoarguments = ctx_protected_cs.firstoftwoarguments -local ctx_secondoftwoarguments = ctx_protected_cs.secondoftwoarguments -local ctx_firstofoneargument = ctx_protected_cs.firstofoneargument -local ctx_gobbleoneargument = ctx_protected_cs.gobbleoneargument +local ctx_firstoftwoarguments = context.firstoftwoarguments +local ctx_secondoftwoarguments = context.secondoftwoarguments +local ctx_firstofoneargument = context.firstofoneargument +local ctx_gobbleoneargument = context.gobbleoneargument local two_strings = interfaces.strings[2] @@ -105,7 +105,8 @@ local p_first = C((1-P(",")-P(-1))^0) implement { name = "firstinset", arguments = "string", - actions = function(str) context(lpegmatch(p_first,str or "")) end + actions = function(str) context(lpegmatch(p_first,str or "")) end, + public = true, } implement { |