From b14f992ef5f4e868c9959b174278c86516d60dbc Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 17 Feb 2017 10:31:56 +0100 Subject: 2017-02-17 10:23:00 --- tex/context/base/mkiv/typo-dir.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tex/context/base/mkiv/typo-dir.lua') diff --git a/tex/context/base/mkiv/typo-dir.lua b/tex/context/base/mkiv/typo-dir.lua index 4422a15de..5ecf77a1f 100644 --- a/tex/context/base/mkiv/typo-dir.lua +++ b/tex/context/base/mkiv/typo-dir.lua @@ -44,7 +44,7 @@ local hasbit = number.hasbit local texsetattribute = tex.setattribute local unsetvalue = attributes.unsetvalue -local tasks = nodes.tasks +local enableaction = nodes.tasks.enableaction local tracers = nodes.tracers local setcolor = tracers.colors.set local resetcolor = tracers.colors.reset @@ -180,16 +180,12 @@ statistics.register("text directions", function() end end) --- function directions.enable() --- tasks.enableaction("processors","directions.handler") --- end - function directions.set(n) -- todo: names and numbers if not enabled then if trace_textdirections then report_textdirections("enabling directions handler") end - tasks.enableaction("processors","typesetters.directions.handler") + enableaction("processors","typesetters.directions.handler") enabled = true end if not n or n == 0 then -- cgit v1.2.3