From b1d691809f3556327b45caf09444c50a77335b8f Mon Sep 17 00:00:00 2001 From: Marius Date: Fri, 12 Jul 2013 20:20:46 +0300 Subject: beta 2013.07.12 19:10 --- tex/context/base/typo-cap.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tex/context/base/typo-cap.lua') diff --git a/tex/context/base/typo-cap.lua b/tex/context/base/typo-cap.lua index fdbf2e353..e9c98c846 100644 --- a/tex/context/base/typo-cap.lua +++ b/tex/context/base/typo-cap.lua @@ -20,7 +20,7 @@ local traverse_id = node.traverse_id local copy_node = node.copy local end_of_math = node.end_of_math -local texattribute = tex.attribute +local texsetattribute = tex.setattribute local unsetvalue = attributes.unsetvalue local nodecodes = nodes.nodecodes @@ -167,7 +167,7 @@ local function Word(start,attribute,attr) prev = prev.prev end if not prev or prev.id ~= glyph_code then - --- only the first character is treated + -- only the first character is treated for n in traverse_id(glyph_code,start.next) do if n[attribute] == attr then n[attribute] = unsetvalue @@ -316,7 +316,7 @@ function cases.set(n) n = unsetvalue end end - texattribute[a_cases] = n + texsetattribute(a_cases,n) -- return n -- bonus end -- cgit v1.2.3