summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/syst-aux.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/syst-aux.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/syst-aux.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/syst-aux.lua b/Master/texmf-dist/tex/context/base/mkiv/syst-aux.lua
index 06f6176b1af..f9d8505f1d4 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/syst-aux.lua
+++ b/Master/texmf-dist/tex/context/base/mkiv/syst-aux.lua
@@ -61,7 +61,7 @@ local ctx_doifelse = commands.doifelse
implement {
name = "doifelsefirstchar",
- arguments = { "string", "string" },
+ arguments = "2 strings",
actions = function(str,chr)
ctx_doifelse(lpegmatch(pattern,str) == chr)
end
@@ -69,7 +69,7 @@ implement {
implement {
name = "getsubstring",
- arguments = { "string", "string", "string" },
+ arguments = "3 strings",
actions = function(str,first,last)
context(utfsub(str,tonumber(first),tonumber(last)))
end
@@ -581,42 +581,42 @@ end
implement {
name = "doifelsecommon",
actions = doifelsecommon,
- arguments = { "string", "string" },
+ arguments = "2 strings",
}
implement {
name = "doifcommon",
actions = doifcommon,
- arguments = { "string", "string" },
+ arguments = "2 strings",
}
implement {
name = "doifnotcommon",
actions = doifnotcommon,
- arguments = { "string", "string" },
+ arguments = "2 strings",
}
implement {
name = "doifelseinset",
actions = doifelseinset,
- arguments = { "string", "string" },
+ arguments = "2 strings",
}
implement {
name = "doifinset",
actions = doifinset,
- arguments = { "string", "string" },
+ arguments = "2 strings",
}
implement {
name = "doifnotinset",
actions = doifnotinset,
- arguments = { "string", "string" },
+ arguments = "2 strings",
}
-- implement {
-- name = "stringcompare",
--- arguments = { "string", "string" },
+-- arguments = "2 strings",
-- actions = function(a,b)
-- context((a == b and 0) or (a > b and 1) or -1)
-- end
@@ -624,7 +624,7 @@ implement {
--
-- implement {
-- name = "doifelsestringafter",
--- arguments = { "string", "string" },
+-- arguments = "2 strings",
-- actions = function(a,b)
-- ctx_doifelse((a == b and 0) or (a > b and 1) or -1)
-- end
@@ -632,7 +632,7 @@ implement {
--
-- implement {
-- name = "doifelsestringbefore",
--- arguments = { "string", "string" },
+-- arguments = "2 strings",
-- actions = function(a,b)
-- ctx_doifelse((a == b and 0) or (a < b and -1) or 1)
-- end
@@ -640,7 +640,7 @@ implement {
-- implement { -- not faster than addtocommalist
-- name = "additemtolist", -- unique
--- arguments = { "string", "string" },
+-- arguments = "2 strings",
-- actions = function(l,s)
-- if l == "" or s == l then
-- -- s = s