diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-09-11 15:37:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-09-11 15:37:00 +0200 |
commit | 078e25ebc5db0c7097ba08d9a226c676efe2dad6 (patch) | |
tree | c7ef32352278bb3a5cfa4fc68bf169a006067bcb /tex/context/base/typo-cln.lua | |
parent | 3413278eb3639da93bfa6d31d0abb8f9b41b3150 (diff) | |
download | context-078e25ebc5db0c7097ba08d9a226c676efe2dad6.tar.gz |
beta 2013.09.11 15:37
Diffstat (limited to 'tex/context/base/typo-cln.lua')
-rw-r--r-- | tex/context/base/typo-cln.lua | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tex/context/base/typo-cln.lua b/tex/context/base/typo-cln.lua index b4b682bff..2aa05b6d1 100644 --- a/tex/context/base/typo-cln.lua +++ b/tex/context/base/typo-cln.lua @@ -46,14 +46,14 @@ local resetter = { -- this will become an entry in char-def -- the other hand we might want to apply casing afterwards. So, -- cleaning comes first. -local function process(namespace,attribute,head) +function cleaners.handler(head) local inline, done = false, false for n in traverse_id(glyph_code,head) do local char = n.char if resetter[char] then inline = false elseif not inline then - local a = n[attribute] + local a = n[a_cleaner] if a == 1 then -- currently only one cleaner so no need to be fancy local upper = uccodes[char] if type(upper) == "table" then @@ -91,12 +91,6 @@ function cleaners.set(n) end end -cleaners.handler = nodes.installattributehandler { - name = "cleaner", - namespace = cleaners, - processor = process, -} - -- interface commands.setcharactercleaning = cleaners.set |