summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/scrp-ini.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/scrp-ini.lmt')
-rw-r--r--tex/context/base/mkxl/scrp-ini.lmt17
1 files changed, 9 insertions, 8 deletions
diff --git a/tex/context/base/mkxl/scrp-ini.lmt b/tex/context/base/mkxl/scrp-ini.lmt
index 9d8a5d3d5..38687fe97 100644
--- a/tex/context/base/mkxl/scrp-ini.lmt
+++ b/tex/context/base/mkxl/scrp-ini.lmt
@@ -85,13 +85,13 @@ scripts.injectors = handlers
local splitters = allocate()
scripts.splitters = splitters
-local helpers = allocate()
-scripts.helpers = helpers
+local helpers = allocate()
+scripts.helpers = helpers
local insertnodebefore, insertnodeafter do
- local insertafter = nuts.insertnodeafter
- local insertbefore = nuts.insertnodebefore
+ local insertafter = nuts.insertafter
+ local insertbefore = nuts.insertbefore
local setattributelist = nuts.setattributelist
local function insertnodebefore(head,current,what) -- todo : lmtx
@@ -515,7 +515,6 @@ function scripts.injectors.handler(head)
while start do
local char, id = isglyph(start)
if char then
- -- local a = getinjector(start)
local a = getscript(start)
if a then
if a ~= last_a then
@@ -534,11 +533,13 @@ function scripts.injectors.handler(head)
first, last = nil, nil
end
last_a = a
- -- normal_process = a
- normal_process = getinjector(start)
+ -- normal_process = getinjector(start)
+ normal_process = numbertohandler[a]
+ if normal_process then
+ normal_process = normal_process.injector
+ end
end
if normal_process then
- -- id == font
if id ~= lastfont then
originals = fontdata[id].resources
if resources then