summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/syst-con.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/syst-con.lua')
-rw-r--r--tex/context/base/mkiv/syst-con.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/syst-con.lua b/tex/context/base/mkiv/syst-con.lua
index 0fa685b2d..1af2d9a5d 100644
--- a/tex/context/base/mkiv/syst-con.lua
+++ b/tex/context/base/mkiv/syst-con.lua
@@ -66,3 +66,11 @@ implement { name = "tand", actions = { math.tand, nicenumber, context }, argumen
-- only as commands
function commands.format(fmt,...) context((gsub(fmt,"@","%%")),...) end
+
+implement {
+ name = "formatone",
+ public = true,
+ protected = true,
+ arguments = "2 strings",
+ actions = function(f,s) context((gsub(f,"@","%%")),s) end,
+}