From 55b3f71ee402e3787f22920118ac196189e004e5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 29 Mar 2018 21:46:01 +0000 Subject: luatexja (29mar18) git-svn-id: svn://tug.org/texlive/trunk@47178 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty') diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty index a269ee43c8a..a4559a67665 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty @@ -195,7 +195,9 @@ \language\l@nohyphenation \@ifstar\@sverb\@verb} \fi -\gdef\@stopfield{\null\color@endgroup\egroup} +\gdef\@stopfield{% + \inhibitglue\@tempskipa\lastskip\unskip + \hskip\@tempskipa\color@endgroup\egroup} \pretocmd{\footnote}{\inhibitglue}{}{} \pretocmd{\footnotemark}{\inhibitglue}{}{} \patchcmd{\@footnotemark}{\@makefnmark}{% @@ -324,5 +326,4 @@ \def\ltj@unhbox@curfield{\ltjfakeboxbdd\unhbox\@curfield\ltjfakeboxbdd} %\patchcmd\@contfield{\unhbox\@curfield}{\ltj@unhbox@curfield}{}{} \patchcmd\@addfield{\unhbox\@curfield}{\ltj@unhbox@curfield}{}{} -\pretocmd\@stopfield{\inhibitglue}{}{} \endinput -- cgit v1.2.3