summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-rep.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-05-14 19:58:50 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-05-14 19:58:50 +0200
commitfd0c4577a4b6e85ca2db664906e1a03807ce133f (patch)
treefa23fcc04248d03ff82e34634b8ef1bb9cf28acb /tex/context/base/mkiv/typo-rep.lua
parentdb581096187dc2d3cbdbe4cdc39d247c168b1607 (diff)
downloadcontext-fd0c4577a4b6e85ca2db664906e1a03807ce133f.tar.gz
2017-05-14 19:15:00
Diffstat (limited to 'tex/context/base/mkiv/typo-rep.lua')
-rw-r--r--tex/context/base/mkiv/typo-rep.lua11
1 files changed, 2 insertions, 9 deletions
diff --git a/tex/context/base/mkiv/typo-rep.lua b/tex/context/base/mkiv/typo-rep.lua
index a8925a2ce..5266aa103 100644
--- a/tex/context/base/mkiv/typo-rep.lua
+++ b/tex/context/base/mkiv/typo-rep.lua
@@ -18,7 +18,7 @@ local trace_stripping = false trackers.register("nodes.stripping", function(v)
local report_stripping = logs.reporter("fonts","stripping")
local nodes = nodes
-local tasks = nodes.tasks
+local enableaction = nodes.tasks.enableaction
local nuts = nodes.nuts
local tonut = nuts.tonut
@@ -35,11 +35,9 @@ local replace_node = nuts.replace
local copy_node = nuts.copy
local nodecodes = nodes.nodecodes
-local glyph_code = nodecodes.glyph
local chardata = characters.data
local collected = false
-local fontdata = fonts.hashes.identifiers
local a_stripping = attributes.private("stripping")
local texsetattribute = tex.setattribute
@@ -121,7 +119,7 @@ function stripping.set(n) -- number or 'reset'
if n then
if not enabled then
if initialize then initialize() end
- tasks.enableaction("processors","nodes.handlers.stripping")
+ enableaction("processors","nodes.handlers.stripping")
enabled = true
end
else
@@ -131,11 +129,6 @@ function stripping.set(n) -- number or 'reset'
texsetattribute(a_stripping,n)
end
--- why not in task-ini?
-
-tasks.appendaction("processors","fonts","nodes.handlers.stripping",nil,"nodes.handlers.characters")
-tasks.disableaction("processors","nodes.handlers.stripping")
-
-- interface
interfaces.implement {