diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-21 22:34:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-21 22:34:29 +0000 |
commit | d09ad8b89dbedfbe939605baf5380584077e4584 (patch) | |
tree | 43fa343e175662ff442d3c068767d18a9a5ec07f /Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua | |
parent | 12752728bebf1cd785fc968fffcc83e8da4989c4 (diff) |
luatexja (21jan18)
git-svn-id: svn://tug.org/texlive/trunk@46405 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua index 133e3e87e59..97f267820aa 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua +++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua @@ -1110,8 +1110,9 @@ do local dn_h = getfield(db, 'height') local dn_d = getfield(db, 'depth') local db_head, db_tail - for _,v in ipairs(dir_node_aux - [get_box_dir(b, dir_yoko)%dir_math_mod][new_dir][getid(b)]) do + local t = dir_node_aux[get_box_dir(b, dir_yoko)%dir_math_mod][new_dir] + t = t and t[getid(b)]; if not t then return end + for _,v in ipairs(t) do local cmd, arg, nn = v[1], v[2] if cmd=='kern' then nn = node_new(id_kern, 1) |