diff options
author | Hans Hagen <pragma@wxs.nl> | 2009-10-16 16:13:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2009-10-16 16:13:00 +0200 |
commit | 7f9b179ad5be5000f67192f283d20e7120402bd9 (patch) | |
tree | 18f83a8cbfe7fed1c2a6939fb4b2cf10473abbbe /tex/context/base/font-ctx.lua | |
parent | c878054f6360d50885dbdab96643a8f3ac61c46c (diff) | |
download | context-7f9b179ad5be5000f67192f283d20e7120402bd9.tar.gz |
beta 2009.10.16 16:13
Diffstat (limited to 'tex/context/base/font-ctx.lua')
-rw-r--r-- | tex/context/base/font-ctx.lua | 11 |
1 files changed, 5 insertions, 6 deletions
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 |