summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/syst-con.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-08-24 23:32:35 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-08-24 23:32:35 +0200
commitfca2d946bc4d3ef525c3a2c9016e3b88d6d09812 (patch)
treed0fb4d8a17342fcf08a4b033cf61a47fd6e0aa98 /tex/context/base/mkiv/syst-con.lua
parentf6e7648f6126ffe087071531f03c674be32930f1 (diff)
downloadcontext-fca2d946bc4d3ef525c3a2c9016e3b88d6d09812.tar.gz
2019-08-24 22:49:00
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,
+}