summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/luatexja-compat.sty
diff options
context:
space:
mode:
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