X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fluatexja-compat.sty;h=f55bf511142ed12fd2177a4cba52557725e634aa;hb=f078ac2f7998a102c7ec765e725f2269eed9f872;hp=a8d27a912d186fa24cc33d9b6f96590a24373de6;hpb=c97c2ddfdaaa2645767ef49e1777b956845b4f7f;p=luatex-ja%2Fluatexja.git diff --git a/src/luatexja-compat.sty b/src/luatexja-compat.sty index a8d27a9..f55bf51 100644 --- a/src/luatexja-compat.sty +++ b/src/luatexja-compat.sty @@ -65,7 +65,7 @@ \expandafter\let\csname ifltj@in@latex\expandafter\endcsname \csname iftrue\endcsname \NeedsTeXFormat{LaTeX2e} - \ProvidesPackage{luatexja-compat}[2017/05/05 Compatibility with pTeX] + \ProvidesPackage{luatexja-compat}[2018/03/29 Compatibility with pTeX] \fi % % Load core module if not yet. @@ -122,10 +122,17 @@ \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}} +\csname newcount\endcsname\hour +\csname newcount\endcsname\minute \fi -\newcount\hour -\newcount\minute %%------------------ all done \ltj@compat@AtEnd