summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/spac-prf.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-05-19 14:44:17 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-05-19 14:44:17 +0200
commitdb581096187dc2d3cbdbe4cdc39d247c168b1607 (patch)
tree529b5baf164aac250975e51937e024a8cd5c71c8 /tex/context/base/mkiv/spac-prf.lua
parent2017d30b4ca772c8eeac4fc0eb9b54e547a9a1d8 (diff)
downloadcontext-db581096187dc2d3cbdbe4cdc39d247c168b1607.tar.gz
2016-05-19 13:48:00
Diffstat (limited to 'tex/context/base/mkiv/spac-prf.lua')
-rw-r--r--tex/context/base/mkiv/spac-prf.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/spac-prf.lua b/tex/context/base/mkiv/spac-prf.lua
index 39d90794c..4cd39336e 100644
--- a/tex/context/base/mkiv/spac-prf.lua
+++ b/tex/context/base/mkiv/spac-prf.lua
@@ -60,6 +60,9 @@ local setlink = nuts.setlink
local setlist = nuts.setlist
local setattr = nuts.setattr
+local properties = nodes.properties.data
+local setprop = nuts.setprop
+local getprop = nuts.getprop
local theprop = nuts.theprop
local floor = math.floor
@@ -73,12 +76,10 @@ local link_nodes = nuts.link
local find_node_tail = nuts.tail
local setglue = nuts.setglue
-local properties = nodes.properties.data
-
local a_visual = attributes.private("visual")
local a_snapmethod = attributes.private("snapmethod")
local a_profilemethod = attributes.private("profilemethod")
-local a_specialcontent = attributes.private("specialcontent")
+----- a_specialcontent = attributes.private("specialcontent")
local variables = interfaces.variables
local v_none = variables.none
@@ -203,7 +204,8 @@ local function getprofile(line,step)
-- we could do a nested check .. but then we need to push / pop glue
local shift = getfield(current,"shift")
wd = getfield(current,"width")
- if getattr(current,a_specialcontent) then
+ -- if getattr(current,a_specialcontent) then
+ if getprop(current,"specialcontent") then
-- like a margin note, maybe check for wd
ht = 0
dp = 0