OSDN Git Service

sync with pLaTeX 2018-03-09
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 22 Mar 2018 09:56:30 +0000 (18:56 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 22 Mar 2018 09:56:30 +0000 (18:56 +0900)
src/luatexja-compat.sty
src/patches/lltjcore.sty

index a8d27a9..8b1e06f 100644 (file)
 \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
index 34ca8d3..80abe69 100644 (file)
     \@ifstar\@sverb\@verb}
 \fi
 \gdef\@stopfield{\null\color@endgroup\egroup}
-\newcount\hour
-\newcount\minute
 \pretocmd{\footnote}{\inhibitglue}{}{}
 \pretocmd{\footnotemark}{\inhibitglue}{}{}
 \patchcmd{\@footnotemark}{\@makefnmark}{%