summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/font-txt.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/font-txt.lmt')
-rw-r--r--tex/context/base/mkxl/font-txt.lmt30
1 files changed, 15 insertions, 15 deletions
diff --git a/tex/context/base/mkxl/font-txt.lmt b/tex/context/base/mkxl/font-txt.lmt
index bc2f15464..29d3ca240 100644
--- a/tex/context/base/mkxl/font-txt.lmt
+++ b/tex/context/base/mkxl/font-txt.lmt
@@ -103,15 +103,15 @@ local getwidth = nuts.getwidth
local ischar = nuts.ischar
local isnextchar = nuts.isnextchar
local isglyph = nuts.isglyph
-local traverse_id = nuts.traverse_id
-local usesfont = nuts.uses_font
+local usesfont = nuts.usesfont
-local copy_node_list = nuts.copy_list
+local copy_node_list = nuts.copylist
local find_node_tail = nuts.tail
-local flush_list = nuts.flush_list
-local free_node = nuts.free
-local end_of_math = nuts.end_of_math
-local start_of_par = nuts.start_of_par
+local flushlist = nuts.flushlist
+local freenode = nuts.free
+local endofmath = nuts.endofmath
+
+local startofpar = nuts.startofpar
local nodecodes = nodes.nodecodes
@@ -140,10 +140,10 @@ local function deletedisc(head)
local pre, post, replace, pre_tail, post_tail, replace_tail = getdisc(current,true)
setdisc(current)
if pre then
- flush_list(pre)
+ flushlist(pre)
end
if post then
- flush_list(post)
+ flushlist(post)
end
local p, n = getboth(current)
if replace then
@@ -160,7 +160,7 @@ local function deletedisc(head)
else
setlink(p,n)
end
- free_node(current)
+ freenode(current)
end
current = next
end
@@ -264,7 +264,7 @@ do
stopspacing = false
end
- if getid(head) == par_code and start_of_par(head) then
+ if getid(head) == par_code and startofpar(head) then
rlmode = pardirstate(head)
elseif rlmode == righttoleft_code then
rlmode = -1
@@ -448,7 +448,7 @@ do
else
setnext(getprev(cpostnew))
end
- flush_list(cpostnew)
+ flushlist(cpostnew)
if creplacenew == current_replace then
current_replace = nil
else
@@ -481,7 +481,7 @@ do
setprev(current_pre)
end
setnext(cprenew)
- flush_list(cpre)
+ flushlist(cpre)
creplace = current_replace
current_replace = getnext(creplacenew)
if current_replace then
@@ -502,12 +502,12 @@ do
startspacing = false
stopspacing = false
if id == math_code then
- current = getnext(end_of_math(current))
+ current = getnext(endofmath(current))
elseif id == dir_code then
startspacing = false
topstack, rlmode = txtdirstate(current,dirstack,topstack,rlparmode)
current = getnext(current)
- -- elseif id == par_code and start_of_par(current) then
+ -- elseif id == par_code and startofpar(current) then
-- startspacing = false
-- rlparmode, rlmode = pardirstate(current)
-- current = getnext(current)