summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-rep.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-02-17 10:31:56 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-02-17 10:31:56 +0100
commitb14f992ef5f4e868c9959b174278c86516d60dbc (patch)
tree28587bb46c025ea7b0d27ba93f09c93dcf53c73a /tex/context/base/mkiv/typo-rep.lua
parent95a1799032dc61dbca4a11e495be34b4397c8fec (diff)
downloadcontext-b14f992ef5f4e868c9959b174278c86516d60dbc.tar.gz
2017-02-17 10:23:00
Diffstat (limited to 'tex/context/base/mkiv/typo-rep.lua')
-rw-r--r--tex/context/base/mkiv/typo-rep.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/tex/context/base/mkiv/typo-rep.lua b/tex/context/base/mkiv/typo-rep.lua
index 489877792..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
@@ -119,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
@@ -129,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 {