diff options
author | Karl Berry <karl@freefriends.org> | 2014-09-07 01:48:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-09-07 01:48:55 +0000 |
commit | 35d45ab2551e2abe29f6f9c61bbb43bf1507a255 (patch) | |
tree | d8c9f1e4c63f849a69efc2a4eede9e4515065532 /Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua | |
parent | dcab4e9ed6f42f12615b9026353870a071b4f9b1 (diff) |
luatexja (6sep14)
git-svn-id: svn://tug.org/texlive/trunk@35119 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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua index 9486c322ca6..9840da825bb 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua +++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-jfmglue.lua @@ -534,7 +534,7 @@ end local function handle_penalty_always(post, pre, g) local a = (pre or 0) + (post or 0) if #Bp == 0 then - if not (g and getid(g)==id_glue) then + if not (g and getid(g)==id_glue) or a~=0 then local p = node_new(id_penalty) if a<-10000 then a = -10000 elseif a>10000 then a = 10000 end setfield(p, 'penalty', a) |