diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-28 22:06:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-28 22:06:04 +0000 |
commit | 0e9654fedc389811d7b81b1d05f8a4a986caec1c (patch) | |
tree | de727284d52829255122daf85bdf19d946e1dee0 /Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua | |
parent | e0bc0768b51c04ff0dcf1a9a3264d6537377800a (diff) |
luatexja (28jan19)
git-svn-id: svn://tug.org/texlive/trunk@49852 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua index 70250485083..5b864ff77c1 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua +++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua @@ -609,9 +609,11 @@ do local f = (lig ==1) and nullfunc or node_tail local xc, xs = getcomponents(x), getsubtype(x) while xc and xs and xs%4>=2 do - x = f(xc); xc, xs = getcomponents(x), getsubtype(x) + x = f(xc); + if getid(x)==id_disc then x, xc, xs = nil, getfield(x,'replace'), 2 + else xc, xs = getcomponents(x), getsubtype(x) end end - c = getchar(x) + c = x and getchar(x) or c Nx.pre = table_current_stack[PRE + c] or 0 Nx.post = table_current_stack[POST + c] or 0 else |