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-math.lua
diff --git
a/src/ltj-math.lua
b/src/ltj-math.lua
index
59d5ec0
..
6bf7031
100644
(file)
--- a/
src/ltj-math.lua
+++ b/
src/ltj-math.lua
@@
-113,7
+113,7
@@
function (p, sty)
local fam = has_attr(p, attr_jfam) or -1
local pc = getchar(p)
if (not is_math_letters[pc]) and is_ucs_in_japanese_char(p) and fam>=0 then
local fam = has_attr(p, attr_jfam) or -1
local pc = getchar(p)
if (not is_math_letters[pc]) and is_ucs_in_japanese_char(p) and fam>=0 then
- local f = ltjs.get_
penalty
_table(MJT + 0x100 * sty + fam, -1, tex_getcount('ltj@@stack'))
+ local f = ltjs.get_
stack
_table(MJT + 0x100 * sty + fam, -1, tex_getcount('ltj@@stack'))
if f ~= -1 then
local q = node_new(id_sub_box)
local r = node_new(id_glyph); setfield(r, 'next', nil)
if f ~= -1 then
local q = node_new(id_sub_box)
local r = node_new(id_glyph); setfield(r, 'next', nil)