summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mult-aux.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-08 00:43:40 +0000
committerKarl Berry <karl@freefriends.org>2013-04-08 00:43:40 +0000
commit824f7b0903de8ad7f6ee3d7656005e4c59155e06 (patch)
treeabfc8673ef9916f3ab7074e811207384c301492b /Master/texmf-dist/tex/context/base/mult-aux.lua
parent689aefb0727676ed3cddf331337b4be226495e72 (diff)
context import for TL13, from www.pragma-ade.com/context/beta/cont-tmf.zip
git-svn-id: svn://tug.org/texlive/trunk@29731 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mult-aux.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/mult-aux.lua34
1 files changed, 17 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/context/base/mult-aux.lua b/Master/texmf-dist/tex/context/base/mult-aux.lua
index e0fd87a024c..3c4cbcc0fce 100644
--- a/Master/texmf-dist/tex/context/base/mult-aux.lua
+++ b/Master/texmf-dist/tex/context/base/mult-aux.lua
@@ -25,32 +25,32 @@ local data = { }
function namespaces.define(namespace,settings)
if trace_namespaces then
- report_namespaces("installing namespace '%s' with settings '%s'",namespace,settings)
+ report_namespaces("installing namespace %a with settings %a",namespace,settings)
end
if data[namespace] then
- report_namespaces("namespace '%s' is already taken",namespace)
+ report_namespaces("namespace %a is already taken",namespace)
end
if #namespace < 2 then
- report_namespaces("namespace '%s' should have more than 1 character",namespace)
+ report_namespaces("namespace %a should have more than 1 character",namespace)
end
local ns = { }
data[namespace] = ns
utilities.parsers.settings_to_hash(settings,ns)
local name = ns.name
if not name or name == "" then
- report_namespaces("provide a (command) name in namespace '%s'",namespace)
+ report_namespaces("provide a (command) name in namespace %a",namespace)
end
local self = "\\" .. prefix .. namespace
context.unprotect()
-- context.installnamespace(namespace)
- context("\\def\\%s%s{%s%s}",prefix,namespace,meaning,namespace)
+ context("\\def\\%s%s{%s%s}",prefix,namespace,meaning,namespace) -- or context.setvalue
if trace_namespaces then
- report_namespaces("using namespace '%s' for '%s'",namespace,name)
+ report_namespaces("using namespace %a for %a",namespace,name)
end
local parent = ns.parent or ""
if parent ~= "" then
if trace_namespaces then
- report_namespaces("namespace '%s' for '%s' uses parent '%s'",namespace,name,parent)
+ report_namespaces("namespace %a for %a uses parent %a",namespace,name,parent)
end
if not find(parent,"\\") then
parent = "\\" .. prefix .. parent
@@ -59,60 +59,60 @@ function namespaces.define(namespace,settings)
end
context.installparameterhandler(self,name)
if trace_namespaces then
- report_namespaces("installing parameter handler for '%s'",name)
+ report_namespaces("installing parameter handler for %a",name)
end
context.installparameterhashhandler(self,name)
if trace_namespaces then
- report_namespaces("installing parameterhash handler for '%s'",name)
+ report_namespaces("installing parameterhash handler for %a",name)
end
local style = ns.style
if style == v_yes then
context.installstyleandcolorhandler(self,name)
if trace_namespaces then
- report_namespaces("installing attribute handler for '%s'",name)
+ report_namespaces("installing attribute handler for %a",name)
end
end
local command = ns.command
if command == v_yes then
context.installdefinehandler(self,name,parent)
if trace_namespaces then
- report_namespaces("installing definition command for '%s' (single)",name)
+ report_namespaces("installing definition command for %a (single)",name)
end
elseif command == v_list then
context.installdefinehandler(self,name,parent)
if trace_namespaces then
- report_namespaces("installing definition command for '%s' (multiple)",name)
+ report_namespaces("installing definition command for %a (multiple)",name)
end
end
local setup = ns.setup
if setup == v_yes then
context.installsetuphandler(self,name)
if trace_namespaces then
- report_namespaces("installing setup command for '%s' (single)",name)
+ report_namespaces("installing setup command for %a (%s)",name,"single")
end
elseif setup == v_list then
context.installsetuphandler(self,name)
if trace_namespaces then
- report_namespaces("installing setup command for '%s' (multiple)",name)
+ report_namespaces("installing setup command for %a (%s)",name,"multiple")
end
end
local set = ns.set
if set == v_yes then
context.installparametersethandler(self,name)
if trace_namespaces then
- report_namespaces("installing set/let/reset command for '%s' (single)",name)
+ report_namespaces("installing set/let/reset command for %a (%s)",name,"single")
end
elseif set == v_list then
context.installparametersethandler(self,name)
if trace_namespaces then
- report_namespaces("installing set/let/reset command for '%s' (multiple)",name)
+ report_namespaces("installing set/let/reset command for %a (%s)",name,"multiple")
end
end
local frame = ns.frame
if frame == v_yes then
context.installinheritedframed(name)
if trace_namespaces then
- report_namespaces("installing framed command for '%s'",name)
+ report_namespaces("installing framed command for %a",name)
end
end
context.protect()