From 7f9b179ad5be5000f67192f283d20e7120402bd9 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 16 Oct 2009 16:13:00 +0200 Subject: beta 2009.10.16 16:13 --- tex/context/base/font-ctx.lua | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tex/context/base/font-ctx.lua') diff --git a/tex/context/base/font-ctx.lua b/tex/context/base/font-ctx.lua index 54e724dd0..de1422454 100644 --- a/tex/context/base/font-ctx.lua +++ b/tex/context/base/font-ctx.lua @@ -297,26 +297,25 @@ function define.command_1(str) elseif name == "unknown" then texsprint(ctxcatcodes,"\\fcglet\\somefontname\\defaultfontfile") else - texsprint(ctxcatcodes,format("\\fcxdef\\somefontname{%s}",name)) + texsprint(ctxcatcodes,"\\fcxdef\\somefontname{",name,"}") end -- we can also use a count for the size if size and size ~= "" then local mode, size = sizepattern:match(size) if size and mode then count.scaledfontmode = mode - texsprint(ctxcatcodes,format("\\def\\somefontsize{%s}",size)) + texsprint(ctxcatcodes,"\\def\\somefontsize{",size,"}") else count.scaledfontmode = 0 - texsprint(ctxcatcodes,format("\\let\\somefontsize\\empty",size)) + texsprint(ctxcatcodes,"\\let\\somefontsize\\empty") end elseif true then -- so we don't need to check in tex count.scaledfontmode = 2 ---~ texsprint(ctxcatcodes,format("\\def\\somefontsize{*}",size)) - texsprint(ctxcatcodes,format("\\let\\somefontsize\\empty",size)) + texsprint(ctxcatcodes,"\\let\\somefontsize\\empty") else count.scaledfontmode = 0 - texsprint(ctxcatcodes,format("\\let\\somefontsize\\empty",size)) + texsprint(ctxcatcodes,"\\let\\somefontsize\\empty") end specification = define.makespecification(str,lookup,name,sub,method,detail,size) end -- cgit v1.2.3