summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-cln.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-03-05 16:40:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-03-05 16:40:00 +0100
commit7be0d39244155e874321d77ef81078c5bd2817a9 (patch)
tree0c09404e97c825961c5ee25a31ecab080eff54e6 /tex/context/base/typo-cln.lua
parent4eeccc18e84e817ecf7045bcb0a8d35875006f42 (diff)
downloadcontext-7be0d39244155e874321d77ef81078c5bd2817a9.tar.gz
beta 2013.03.05 16:40
Diffstat (limited to 'tex/context/base/typo-cln.lua')
-rw-r--r--tex/context/base/typo-cln.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/context/base/typo-cln.lua b/tex/context/base/typo-cln.lua
index c6a270791..be00ac10d 100644
--- a/tex/context/base/typo-cln.lua
+++ b/tex/context/base/typo-cln.lua
@@ -28,9 +28,10 @@ local tasks = nodes.tasks
local texattribute = tex.attribute
-local has_attribute = node.has_attribute
local traverse_id = node.traverse_id
+local unsetvalue = attributes.unsetvalue
+
local glyph_code = nodecodes.glyph
local uccodes = characters.uccodes
@@ -52,7 +53,7 @@ local function process(namespace,attribute,head)
if resetter[char] then
inline = false
elseif not inline then
- local a = has_attribute(n,attribute)
+ local a = n[attribute]
if a == 1 then -- currently only one cleaner so no need to be fancy
local upper = uccodes[char]
if type(upper) == "table" then