diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-05-20 12:00:45 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-05-20 12:00:45 +0200 |
commit | f0a7f858266c83825b2c8f6e9731d3c21abd3f9f (patch) | |
tree | a099b7cdb30388f0db9ba644411fb3b62129bedb /tex/context/base/mkxl/scrp-ini.lmt | |
parent | f1772caf425af2fe9be87b788eae63559682d51a (diff) | |
download | context-f0a7f858266c83825b2c8f6e9731d3c21abd3f9f.tar.gz |
2021-05-20 11:04:00
Diffstat (limited to 'tex/context/base/mkxl/scrp-ini.lmt')
-rw-r--r-- | tex/context/base/mkxl/scrp-ini.lmt | 17 |
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 |