summaryrefslogtreecommitdiff
path: root/otfl-font-otc.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2009-04-12 21:17:28 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2009-04-12 21:17:28 +0200
commite86146694fb4159c4ae2ad9969c6c992a19e9c09 (patch)
treec85077dc4545f5df461e5e21bcf1c3897c42fbeb /otfl-font-otc.lua
parent5a642e00686d0a9354480fea2aced3d1c4fc47a8 (diff)
downloadluaotfload-e86146694fb4159c4ae2ad9969c6c992a19e9c09.tar.gz
syncronizing with the latest ConTeXt beta, fixing bugs
Diffstat (limited to 'otfl-font-otc.lua')
-rw-r--r--otfl-font-otc.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/otfl-font-otc.lua b/otfl-font-otc.lua
index 840d4a9..40631fb 100644
--- a/otfl-font-otc.lua
+++ b/otfl-font-otc.lua
@@ -9,6 +9,8 @@ if not modules then modules = { } end modules ['font-otc'] = {
local format, insert = string.format, table.insert
local type, next = type, next
+local ctxcatcodes = tex.ctxcatcodes
+
-- we assume that the other otf stuff is loaded already
local trace_loading = false trackers.register("otf.loading", function(v) trace_loading = v end)
@@ -122,6 +124,6 @@ function otf.char(n) -- todo: afm en tfm
n = otf.name_to_slot(n)
end
if n then
- tex.sprint(tex.ctxcatcodes,format("\\char%s ",n))
+ tex.sprint(ctxcatcodes,format("\\char%s ",n))
end
end