summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/luatexja-compat.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-25 21:24:56 +0000
committerKarl Berry <karl@freefriends.org>2018-03-25 21:24:56 +0000
commit23d0d97724c62d6df3f1e92c73a6cb6b1fc8d790 (patch)
tree986639040d862bbd83289fbf39aea8231e58d43a /Master/texmf-dist/tex/luatex/luatexja/luatexja-compat.sty
parent13e15ec770037fb7e4c70acbad0bd42bd841affd (diff)
luatexja (25mar18)
git-svn-id: svn://tug.org/texlive/trunk@47107 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/luatexja-compat.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/luatexja-compat.sty13
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/luatexja-compat.sty b/Master/texmf-dist/tex/luatex/luatexja/luatexja-compat.sty
index a8d27a912d1..8b1e06f0066 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/luatexja-compat.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/luatexja-compat.sty
@@ -122,10 +122,19 @@
\ltj@@decl@array@param{kansujichar}
\ifltj@in@latex
+% \pltx@next@inhibitglue (pLaTeX 2018-03-09)
+\protected\def\pltx@next@inhibitglue{%
+ \ifhmode\inhibitglue\else
+ \edef\@tempa{\everypar{%
+ \everypar{\unexpanded\expandafter{\the\everypar}}%
+ \unexpanded\expandafter{\the\everypar}\inhibitglue}}%
+\@tempa\fi}
\newcommand\printglossary{\@input@{\jobname.gls}}
+% \hour, \minute: define only
+ \newcount\hour
+ \newcount\minute
\fi
-\newcount\hour
-\newcount\minute
+
%%------------------ all done
\ltj@compat@AtEnd