summaryrefslogtreecommitdiff
path: root/tex/context/base/math-tag.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-04-11 16:45:00 +0200
committerHans Hagen <pragma@wxs.nl>2011-04-11 16:45:00 +0200
commit612f23ed1b01240fdc9ca5132dbd3164e96ed570 (patch)
tree8eafde3944b1b46eae32e68b240a5eb9cf5f71fc /tex/context/base/math-tag.lua
parent0bd8dee4e7e38cfb027bf788505de24aca28261c (diff)
downloadcontext-612f23ed1b01240fdc9ca5132dbd3164e96ed570.tar.gz
beta 2011.04.11 16:45
Diffstat (limited to 'tex/context/base/math-tag.lua')
-rw-r--r--tex/context/base/math-tag.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/math-tag.lua b/tex/context/base/math-tag.lua
index 278e3b9cb..e5ad30be0 100644
--- a/tex/context/base/math-tag.lua
+++ b/tex/context/base/math-tag.lua
@@ -8,9 +8,9 @@ if not modules then modules = { } end modules ['math-tag'] = {
local attributes, nodes = attributes, nodes
-local has_attribute = nodes.has_attribute
-local set_attribute = nodes.set_attribute
-local set_attributes = nodes.set_attributes
+local get_attribute = nodes.getattribute
+local set_attribute = nodes.setattribute
+local set_attributes = nodes.setattributes
local traverse_nodes = node.traverse
local nodecodes = nodes.nodecodes
@@ -101,7 +101,7 @@ process = function(start) -- we cannot use the processor as we have no finalizer
processsubsup(start)
elseif id == math_box_code or id == hlist_code or id == vlist_code then
-- keep an eye on math_box_code and see what ends up in there
- local attr = has_attribute(start,a_tagged)
+ local attr = get_attribute(start,a_tagged)
local text = start_tagged("mtext")
set_attribute(start,a_tagged,text)
local list = start.list
@@ -124,7 +124,7 @@ process = function(start) -- we cannot use the processor as we have no finalizer
if id == hlist_code or id == vlist_code then
runner(n.list)
elseif id == glyph_code then
- local aa = has_attribute(n,a_tagged) -- only glyph needed
+ local aa = get_attribute(n,a_tagged) -- only glyph needed
if aa then
local ac = cache[aa]
if not ac then