summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/node-fin.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-12-30 19:47:30 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-12-30 19:47:30 +0100
commit9b1c3470a7a222ef9ae20106d750c4a0127819a7 (patch)
tree746f1a65eb69b87ea33e07ab4730540a8a8d50c9 /tex/context/base/mkxl/node-fin.lmt
parentcefe8d703dd66048fa9d259b697609bd539a7bce (diff)
downloadcontext-9b1c3470a7a222ef9ae20106d750c4a0127819a7.tar.gz
2021-12-30 19:03:00
Diffstat (limited to 'tex/context/base/mkxl/node-fin.lmt')
-rw-r--r--tex/context/base/mkxl/node-fin.lmt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/mkxl/node-fin.lmt b/tex/context/base/mkxl/node-fin.lmt
index 4bf8663be..7093638de 100644
--- a/tex/context/base/mkxl/node-fin.lmt
+++ b/tex/context/base/mkxl/node-fin.lmt
@@ -23,7 +23,7 @@ local getattr = nuts.getattr
local getattrs = nuts.getattrs
local getwidth = nuts.getwidth
local getwhd = nuts.getwhd
-local getorientation = nuts.getorientation
+local hasgeometry = nuts.hasgeometry
local hasdimensions = nuts.hasdimensions
local getbox = nuts.getbox
@@ -184,7 +184,7 @@ local function process(attribute,head,inheritance,default) -- one attribute
elseif id == hlist_code or id == vlist_code then
-- tricky checking
local outer
- if subtype == container_code or getorientation(stack) then
+ if subtype == container_code or hasgeometry(stack) then
outer = getattr(stack,attribute)
if outer then
if default and outer == inheritance then
@@ -271,7 +271,7 @@ local function simple(attribute,head)
check = true
leader = content
elseif id == hlist_code or id == vlist_code then
- if subtype == container_code or getorientation(stack) then
+ if subtype == container_code or hasgeometry(stack) then
local outer = getattr(stack,attribute)
if outer then
if current ~= outer then
@@ -349,7 +349,7 @@ local function selective(attribute,head,inheritance,default) -- two attributes
leader = content
elseif id == hlist_code or id == vlist_code then
local outer, s
- if subtype == container_code or getorientation(stack) then
+ if subtype == container_code or hasgeometry(stack) then
outer, s = getattrs(stack,attribute,nsselector)
if outer then
if default and outer == inheritance then