summaryrefslogtreecommitdiff
path: root/tex/context/base/node-tst.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/node-tst.lua')
-rw-r--r--tex/context/base/node-tst.lua17
1 files changed, 9 insertions, 8 deletions
diff --git a/tex/context/base/node-tst.lua b/tex/context/base/node-tst.lua
index d7ea96f26..c7e79c48f 100644
--- a/tex/context/base/node-tst.lua
+++ b/tex/context/base/node-tst.lua
@@ -6,16 +6,17 @@ if not modules then modules = { } end modules ['node-tst'] = {
license = "see context related readme files"
}
-local glue = node.id("glue")
-local penalty = node.id("penalty")
-local kern = node.id("kern")
-local glyph = node.id("glyph")
-local whatsit = node.id("whatsit")
-local hlist = node.id("hlist")
-
local find_node_tail = node.tail or node.slide
-local chardata = characters.data
+local chardata = characters.data
+local nodecodes = nodes.nodecodes
+
+local glue = nodecodes.glue
+local penalty = nodecodes.penalty
+local kern = nodecodes.kern
+local glyph = nodecodes.glyph
+local whatsit = nodecodes.whatsit
+local hlist = nodecodes.hlist
function nodes.the_left_margin(n) -- todo: three values
while n do