summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-aux.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-08-27 20:45:33 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-08-27 20:45:33 +0200
commitcdb8470a2b74a79863900e7ec3130b72acb7f1ae (patch)
tree7621218f87b738438438546cea15ae37cd57220f /tex/context/base/mkiv/node-aux.lua
parentb2c10135056be4af1a52ed8ef7b3f1f4017dccc0 (diff)
downloadcontext-cdb8470a2b74a79863900e7ec3130b72acb7f1ae.tar.gz
2020-08-27 19:27:00
Diffstat (limited to 'tex/context/base/mkiv/node-aux.lua')
-rw-r--r--tex/context/base/mkiv/node-aux.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/tex/context/base/mkiv/node-aux.lua b/tex/context/base/mkiv/node-aux.lua
index 407ebb09c..aa7dc0292 100644
--- a/tex/context/base/mkiv/node-aux.lua
+++ b/tex/context/base/mkiv/node-aux.lua
@@ -413,10 +413,7 @@ do
end
--- Currently only in luametatex ... experimental anyway .. if it doesn't end
--- up in luatex I'll move this to a different module.
-
-do
+if not nuts.getnormalizedline then
local nextnode = traversers.glue
local findfail = nuts.tail
@@ -459,9 +456,7 @@ do
nuts.find_node = find_node
- -- if CONTEXTLMTXMODE then ... end
-
- nuts.getnormalizedline = direct.getnormalizedline or function(h)
+ function nuts.getnormalizedline(h)
if getid(h) == hlist_code and getsubtype(h) == line_code then
local ls, rs = 0, 0
local lh, rh = 0, 0