OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added luatexja.node_remove and luatexja.Dnode_remove ("safe node.remove")
[luatex-ja/luatexja.git]
/
src
/
ltj-compat.lua
diff --git
a/src/ltj-compat.lua
b/src/ltj-compat.lua
index
98452de
..
af5da70
100644
(file)
--- a/
src/ltj-compat.lua
+++ b/
src/ltj-compat.lua
@@
-26,7
+26,7
@@
local function to_kansuji(num)
local s = ""
while num~=0 do
s = utf.char(
local s = ""
while num~=0 do
s = utf.char(
- ltjs.get_
penalty
_table(luatexja.stack_table_index.KSJ + num%10,
+ ltjs.get_
stack
_table(luatexja.stack_table_index.KSJ + num%10,
'', tex.getcount('ltj@@stack'))) .. s
num=math.floor(num/10)
end
'', tex.getcount('ltj@@stack'))) .. s
num=math.floor(num/10)
end
@@
-124,7
+124,7
@@
luatexja.binary_pars.kansujichar = function(c, t)
'So I changed this one to zero.')
c=0
end
'So I changed this one to zero.')
c=0
end
- return ltjs.get_
penalty
_table(stack_table_index.KSJ + c, 0, t)
+ return ltjs.get_
stack
_table(stack_table_index.KSJ + c, 0, t)
end
end