texlive[42616] Master/texmf-dist: jsclasses (1dec16)

commits+karl at tug.org commits+karl at tug.org
Thu Dec 1 23:43:35 CET 2016


Revision: 42616
          http://tug.org/svn/texlive?view=revision&revision=42616
Author:   karl
Date:     2016-12-01 23:43:34 +0100 (Thu, 01 Dec 2016)
Log Message:
-----------
jsclasses (1dec16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/platex/jsclasses/README.md
    trunk/Master/texmf-dist/doc/platex/jsclasses/jsclasses.pdf
    trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
    trunk/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls
    trunk/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls
    trunk/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
    trunk/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls

Modified: trunk/Master/texmf-dist/doc/platex/jsclasses/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/platex/jsclasses/README.md	2016-12-01 22:43:23 UTC (rev 42615)
+++ trunk/Master/texmf-dist/doc/platex/jsclasses/README.md	2016-12-01 22:43:34 UTC (rev 42616)
@@ -10,14 +10,17 @@
 
 WWW: https://github.com/texjporg/jsclasses
 
-We include the pre-generated cls/sty files in this package to ensure
-proper encoding. The files have to be in ISO-2022-JP encoding to work
-properly on Windows. These files can be generated in a Japanese locale
-by running platex on the .dtx files.
+In the above repository, we include the pre-generated cls/sty files to
+ensure proper encoding. The files have to be in ISO-2022-JP encoding to
+work properly on Windows. These files can be generated in a Japanese
+locale by running platex on the .ins files, for example
+~~~~
+platex -kanji=jis jsclasses.ins
+~~~~
 
 ## Release Date
 
-2016-10-08
+2016-12-01
 
 Haruhiko Okumura,
 Japanese TeX Development Community

Modified: trunk/Master/texmf-dist/doc/platex/jsclasses/jsclasses.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
===================================================================
--- trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx	2016-12-01 22:43:23 UTC (rev 42615)
+++ trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx	2016-12-01 22:43:34 UTC (rev 42616)
@@ -38,7 +38,7 @@
 %<*driver>
 \ProvidesFile{jsclasses.dtx}
 %</driver>
-  [2016/10/08 okumura, texjporg]
+  [2016/12/01 okumura, texjporg]
 %<*driver>
 \documentclass{jsarticle}
 \usepackage{doc}
@@ -288,6 +288,9 @@
 %
 % $B%*%W%7%g%s(B \texttt{slide} $B$r?7 at _$7$^$7$?!#(B
 %
+% [2016-10-08] \texttt{slide} $B%*%W%7%g%s$O(B article $B0J30$G$O;H$$J*$K$J$i$J$+$C$?$N$G!$(B
+% $B4JC1$N$?$a(B article $B$N$_$G;H$($k%*%W%7%g%s$H$7$^$7$?!#(B
+%
 %    \begin{macrocode}
 \newif\if at slide
 \@slidefalse
@@ -309,9 +312,6 @@
 %
 % [2016-07-24] $B%*%W%F%#%+%k%5%$%:$rD4 at 0$9$k$?$a$K(BNFSS$B$X%Q%C%A$rEv$F$k%*%W%7%g%s(B \texttt{nomag*} $B$r?7 at _$7$^$7$?!#(B
 %
-% [2016-10-08] \texttt{slide} $B%*%W%7%g%s$O(B article $B0J30$G$O;H$$J*$K$J$i$J$+$C$?$N$G!$(B
-% $B4JC1$N$?$a(B article $B$N$_$G;H$($k%*%W%7%g%s$H$7$^$7$?!#(B
-%
 %    \begin{macrocode}
 \newcommand{\@ptsize}{0}
 \newif\ifjsc at mag\jsc at magtrue
@@ -549,10 +549,13 @@
 \jisfontfalse
 \newif\if at jsc@uplatex
 \@jsc at uplatexfalse
+\newif\if at jsc@autodetect
+\@jsc at autodetectfalse
 \DeclareOption{mingoth}{\mingothtrue}
 \DeclareOption{winjis}{\winjistrue}
 \DeclareOption{jis}{\jisfonttrue}
 \DeclareOption{uplatex}{\@jsc at uplatextrue\winjisfalse}
+\DeclareOption{autodetect-engine}{\@jsc at autodetecttrue}
 \def\jsc at JYn{\if at jsc@uplatex JY2\else JY1\fi}
 \def\jsc at JTn{\if at jsc@uplatex JT2\else JT1\fi}
 \def\jsc at pfx@{\if at jsc@uplatex u\else \fi}
@@ -630,14 +633,23 @@
 \fi
 %    \end{macrocode}
 %
-% \paragraph{$B;HMQ%(%s%8%s$N8!::(B}
+% \paragraph{$B;HMQ%(%s%8%s$N8!::!&<+F0H=Dj(B}
 %
 % $B%f!<%6$,(B |uplatex| $B%*%W%7%g%s$NM-L5$K$h$j;XDj$7$?%(%s%8%s$,!$<B:]$K(B
 % $B;H$o$l$F$$$k$b$N$H0lCW$7$F$$$k$+$r8!::$7!$0lCW$7$J$$>l9g$O%(%i!<(B
 % $B%a%C%;!<%8$rI=<($7$^$9!#(B
 %
+% [2016-11-09] p\LaTeX / up\LaTeX $B$r<+F0H=JL$9$k%*%W%7%g%s(B |autodetect-engine| $B$r?7 at _$7$^$7$?!#(B
+% up\LaTeX $B$N>l9g$O!$%0%m!<%P%k%*%W%7%g%s$K(B |uplatex| $B$rDI2C$9$k$3$H$G!$(B
+% $B<+F0H=Dj$K1~$8$F(B |otf| $B%Q%C%1!<%8$K$b(B |uplatex| $B%*%W%7%g%s$,EO$k$h$&$K$7$^$9!#(B
+%
 %    \begin{macrocode}
 \ifnum \ifx\ucs\@undefined\z@\else\ucs"3000 \fi ="3000
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: upLaTeX}
+    \@jsc at uplatextrue
+    \g at addto@macro\@classoptionslist{,uplatex}
+  \fi
   \if at jsc@uplatex\else
     \ClassError\jsc at clsname
       {You are running upLaTeX.\MessageBreak
@@ -646,6 +658,13 @@
       {\@ehc}
     \@jsc at uplatextrue
   \fi
+%    \end{macrocode}
+%
+% [2016-11-11] p\LaTeX $B$N>l9g$O!$%*%W%7%g%s(B |uplatex| $B$,;XDj$5$l$F$$$l$PI,$:%(%i!<$r=P$7$^$9!#(B
+% |autodetect-engine| $B$,M-8z$K$J$C$F$$$F$b%(%i!<$r=P$7$^$9$,!$$3$l$O(B |otf| $B%Q%C%1!<%8$K(B
+% |uplatex| $B%*%W%7%g%s$,EO$C$F$7$^$&$N$rKI$0$?$a$G$9!#(B
+%
+%    \begin{macrocode}
 \else
   \if at jsc@uplatex
     \ClassError\jsc at clsname
@@ -655,6 +674,10 @@
       {\@ehc}
     \@jsc at uplatexfalse
   \fi
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: pLaTeX}
+    \@jsc at uplatexfalse
+  \fi
 \fi
 %    \end{macrocode}
 %
@@ -886,6 +909,38 @@
 \fi
 %    \end{macrocode}
 %
+% [2016-11-16] latex.ltx (ltspace.dtx)$B$GDj5A$5$l$F$$$k(B |\smallskip| $B$N!$(B
+% $BC10L(B |pt| $B$r(B |\jsc at mpt| $B$KCV$-49$($?(B |\jsc at smallskip| $B$rDj5A$7$^$9!#(B
+% $B$3$l$O(B |\maketitle| $B$GMQ$$$i$l$^$9!#(B
+% |\jsc at medskip| $B$H(B |\jsc at bigskip| $B$OI,MW$J$$$N$G%3%a%s%H%"%&%H$7$F$$$^$9!#(B
+%
+% \begin{macro}{\jsc at smallskip}
+% \begin{macro}{\jsc at medskip}
+% \begin{macro}{\jsc at bigskip}
+%    \begin{macrocode}
+\def\jsc at smallskip{\vspace\jsc at smallskipamount}
+%\def\jsc at medskip{\vspace\jsc at medskipamount}
+%\def\jsc at bigskip{\vspace\jsc at bigskipamount}
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\jsc at smallskipamount}
+% \begin{macro}{\jsc at medskipamount}
+% \begin{macro}{\jsc at bigskipamount}
+%    \begin{macrocode}
+\newskip\jsc at smallskipamount
+\jsc at smallskipamount=3\jsc at mpt plus 1\jsc at mpt minus 1\jsc at mpt
+%\newskip\jsc at medskipamount
+%\jsc at medskipamount =6\jsc at mpt plus 2\jsc at mpt minus 2\jsc at mpt
+%\newskip\jsc at bigskipamount
+%\jsc at bigskipamoun =12\jsc at mpt plus 4\jsc at mpt minus 4\jsc at mpt
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
 % [2016-07-11] $B?7$7$/DI2C$7$?(B|\stockwidth|$B!$(B|\stockheight|$B$b(B|\mag|$B$K$"$o$;$F(B
 % $B%9%1!<%k$7$^$9!#(B
 %
@@ -2661,6 +2716,11 @@
 % $BOBJ8$N$b$N$G$O(B |\Large| $B$K$J$C$F$$$^$7$?$,!$$3$3$G$O(B |\large|
 % $B$K$7$^$7$?!#(B
 %
+% [2016-11-16] $B?7 at _$5$l$?(B \texttt{nomag} $B$*$h$S(B \texttt{nomag*} $B%*%W%7%g%s(B
+% $B$N>l9g$r%G%U%)%k%H!J(B\texttt{usemag} $BAjEv!K$K9g$o$;$k$?$a!$(B|\smallskip| $B$r(B
+% |\jsc at smallskip| $B$KCV$-49$($^$7$?!#(B|\smallskip| $B$N$^$^$G$O(B
+% \texttt{nomag(*)} $B$N>l9g$K%9%1!<%k$7$J$/$J$j!$%l%$%"%&%H$,JQ$o$C$F$7$^$$$^$9!#(B
+%
 %    \begin{macrocode}
 %<*article|book|kiyou>
 \if at titlepage
@@ -2676,9 +2736,9 @@
           \mbox{} \\[1zw]
           \large
           {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
-          \smallskip
+          \jsc at smallskip
           \@title
-          \smallskip
+          \jsc at smallskip
           {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
           \vfill
           {\small \@author}%
@@ -3552,18 +3612,28 @@
 %
 %    $B8+=P$7$N8e$m$G2~9T$5$l$^$;$s!#(B
 %
+% [2016-11-16] $B=>Mh$O(B |\paragraph| $B$N:G=i$K=P$k%^!<%/$r!V"#!W$K8GDj$7$F(B
+% $B$$$^$7$?$,!$$3$N%^!<%/$rJQ992DG=$K$9$k$?$a(B |\jsParagraphMark| $B$H$$$&%^%/%m(B
+% $B$K at Z$j=P$7$^$7$?!#$3$l$G!$$?$H$($P(B
+%\begin{verbatim}
+%  \renewcommand{\jsParagraphMark}{$B!z(B}
+%\end{verbatim}
+% $B$H$9$l$P!V!z!W$KJQ99$G$-$^$9$7!$%^!<%/$r6u$K$9$k$3$H$bMF0W$G$9!#(B
+% $B$J$*!$K?3X2q%/%i%9$G$O=>Mh$I$*$j%^!<%/$OIU$-$^$;$s!#(B
+%
 %    \begin{macrocode}
+%<!jspf>\newcommand{\jsParagraphMark}{$B"#(B}
 \if at twocolumn
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
     {\z@}{\if at slide .4\Cvs \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
 %<jspf>    {\normalfont\normalsize\headfont}}
-%<!jspf>    {\normalfont\normalsize\headfont $B"#(B}}
+%<!jspf>    {\normalfont\normalsize\headfont\jsParagraphMark}}
 \else
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
     {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
     {\if at slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
 %<jspf>    {\normalfont\normalsize\headfont}}
-%<!jspf>    {\normalfont\normalsize\headfont $B"#(B}}
+%<!jspf>    {\normalfont\normalsize\headfont\jsParagraphMark}}
 \fi
 %    \end{macrocode}
 % \end{macro}
@@ -4971,17 +5041,17 @@
 % $B$G0O$s$G$/$@$5$$!#(B
 %
 %    \begin{macrocode}
-% \def\@citex[#1]#2{%
+% \def\@citex[#1]#2{\leavevmode
 %   \let\@citea\@empty
 %   \@cite{\@for\@citeb:=#2\do
 %     {\@citea\def\@citea{$B!$(B\inhibitglue\penalty\@m\ }%
-%      \edef\@citeb{\expandafter\@firstofone\@citeb}%
+%      \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
 %      \if at filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
 %      \@ifundefined{b@\@citeb}{\mbox{\normalfont\bfseries ?}%
 %        \G at refundefinedtrue
 %        \@latex at warning
 %          {Citation `\@citeb' on page \thepage \space undefined}}%
-%        {\hbox{\csname b@\@citeb\endcsname}}}}{#1}}
+%        {\@cite at ofmt{\csname b@\@citeb\endcsname}}}}{#1}}
 % \def\@cite#1#2{\inhibitglue$B!N(B{#1\if at tempswa $B!$(B#2\fi}$B!O(B\inhibitglue}
 %    \end{macrocode}
 %
@@ -5203,6 +5273,13 @@
 %
 % [2016-09-08] $B%3%_%e%K%F%#HG(B\pLaTeX $B$N%P%0=$@5$KDI?o$7$^$7$?!#(B
 %
+% [2016-11-29] $B8E$$(B\pLaTeX $B$G;HMQ$5$l$?>l9g$r9MN8$7$F%3!<%I$r2~NI!#(B
+% ^^A $B5SCmD>8e$K2~9T$r2DG=$K$9$k$?$a$K(B|\null|$B$rF~$l$k>l9g!$(B
+% ^^A $BF1;~$K%Z%J%k%F%#$b9MN8$7$J$1$l$P8m$C$?2~9T$,5/$-$k2DG=@-$,$"$k!#(B
+% ^^A $B$3$N$?$a!$(B|\ifhmode\null\fi|$B$O(B
+% ^^A   |\ifx\pltx at foot@penalty\@undefined\else ... \fi|
+% ^^A $B>r7o$NFbB&$KCV$$$F$*$/$N$,0BA4!#(B
+%
 %    \begin{macrocode}
 \long\def\@footnotetext{%
   \insert\footins\bgroup
@@ -5223,8 +5300,8 @@
 \def\f@@t{\bgroup\aftergroup\@foot\let\next}
 \def\f at t#1{#1\@foot}
 \def\@foot{\@finalstrut\strutbox\color at endgroup\egroup
-  \ifhmode\null\fi
   \ifx\pltx at foot@penalty\@undefined\else
+    \ifhmode\null\fi
     \ifnum\pltx at foot@penalty=\z@\else
       \penalty\pltx at foot@penalty
       \pltx at foot@penalty\z@
@@ -5278,6 +5355,12 @@
 %
 % $BCJMnF,$N$+$.$+$C$3$J$I$r8+$+$1(B1$B;zH>2<$2$+$iA43Q(B1$B;z2<$2$KD>$7$^$9!#(B
 %
+% [2016-07-18] |\inhibitglue| $B$NH/9TBP>]$r(B |\inhibitxspcode| $B$,(B2$B$K(B
+% $B at _Dj$5$l$F$$$k$b$N$9$Y$F$K3HBg$7$^$7$?!#(B
+%
+% [2016-12-01] $B$9$0>e$NJQ99$G(B |\@tempa| $B$r;H$C$F$$$?$N$,$h$/$J$+$C$?(B
+% $B$N$G!$%W%l%U%#%C%/%9$rIU$1$F(B |\jsc at tempa| $B$K$7$^$7$?(B(forum:2085)$B!#(B
+%
 %    \begin{macrocode}
 \def\@inhibitglue{%
   \futurelet\@let at token\@@inhibitglue}
@@ -5300,8 +5383,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\@tempa{#1}%
-  \ifx\@tempa\@empty
+  \def\jsc at tempa{#1}%
+  \ifx\jsc at tempa\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi
@@ -5315,11 +5398,14 @@
 %
 % $B$^$:!$4D6-$ND>8e$NCJMn$G$9!#(B
 %
+% [2016-11-19] ltlists.dtx 2015/05/10 v1.0t$B$NJQ99$KDI?o$7$F(B |\clubpenalty| $B$N(B
+% $B%j%;%C%H$rDI2C$7$^$7$?!#(B
+%
 %    \begin{macrocode}
 \def\@doendpe{%
   \@endpetrue
   \def\par{%
-    \@restorepar\everypar{\everyparhook}\par\@endpefalse}%
+    \@restorepar\clubpenalty\@clubpenalty\everypar{\everyparhook}\par\@endpefalse}%
   \everypar{{\setbox\z@\lastbox}\everypar{\everyparhook}\@endpefalse\everyparhook}}
 %    \end{macrocode}
 %
@@ -5476,19 +5562,22 @@
 % $B$J$*!$(BAMS$B4X78$N%Q%C%1!<%8$rFI$_9~$`:]$K(B psamsfonts $B%*%W%7%g%s$r(B
 % $BM?$($F$b2sHr$G$-$^$9!J(BThanks: $B$7$C$]0&9%2H$5$s!K!#(B
 %
+% [2016-11-19] $BK\2H$N(B ltclass.dtx 2004/01/28 v1.1g $B$G=$@5$5$l$F$$$k$N$G(B
+% $B%3%a%s%H%"%&%H$7$^$7$?!#(B
+%
 %    \begin{macrocode}
-\let\ltx at ifnextchar\@ifnextchar
-\def\ProvidesFile#1{%
-  \begingroup
-    \catcode`\ 10 %
-    \ifnum \endlinechar<256 %
-      \ifnum \endlinechar>\m at ne
-        \catcode\endlinechar 10 %
-      \fi
-    \fi
-    \@makeother\/%
-    \@makeother\&%
-    \ltx at ifnextchar[{\@providesfile{#1}}{\@providesfile{#1}[]}}
+%\let\ltx at ifnextchar\@ifnextchar
+%\def\ProvidesFile#1{%
+%  \begingroup
+%    \catcode`\ 10 %
+%    \ifnum \endlinechar<256 %
+%      \ifnum \endlinechar>\m at ne
+%        \catcode\endlinechar 10 %
+%      \fi
+%    \fi
+%    \@makeother\/%
+%    \@makeother\&%
+%    \ltx at ifnextchar[{\@providesfile{#1}}{\@providesfile{#1}[]}}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -5628,6 +5717,39 @@
 \fi
 %    \end{macrocode}
 %
+%
+% \section{$B<B83E*%3!<%I(B}
+%
+% [2016-11-29] $B%3%_%e%K%F%#HG(Bp\LaTeX $B$G?7 at _$5$l$?%F%9%HMQ%Q%C%1!<%8(B
+% $B!J(B\texttt{exppl2e}$B%Q%C%1!<%8!K$,J8=q%/%i%9$h$j at h$KFI$_9~$^$l$F$$$?(B
+% $B>l9g$O!$(Bjsclasses$B$b%F%9%HHG$H$7$FF0:n$7$^$9!#$3$N=hCV$O(Bjsarticle$B$H(B
+% jsbook$B$K$N$_9T$$!$(Bjspf$B$H(Bkiyou$B$O=|30$7$F$*$-$^$9!#(Bexppl2e$B%Q%C%1!<%8(B
+% $B$,FI$_$3$^$l$F$$$J$$>l9g$ODL>oHG$H$7$FF0:n$7$^$9$N$G!$$3$3$G=*N;$7$^$9!#(B
+%
+%    \begin{macrocode}
+%<*article|book>
+\@ifpackageloaded{exppl2e}{\jsc at needsp@tchtrue}{\jsc at needsp@tchfalse}
+\ifjsc at needsp@tch\else
+  \expandafter\endinput
+\fi
+%    \end{macrocode}
+%
+% $B0J2<$O<B83E*%3!<%I$G$9!#6qBNE*$K$O!$(B2016/11/29$B$N(B\texttt{exppl2e}$B%Q%C%1!<%8(B
+% $B$G at bL@$5$l$F$$$k(B|\@gnewline|$B$N%Q%C%A$rF~$l$F$"$j$^$9!#(B
+%
+% \begin{macro}{\@gnewline}
+%    \begin{macrocode}
+\def\@gnewline #1{%
+  \ifvmode
+    \@nolnerr
+  \else
+    \unskip \reserved at e {\reserved at f#1}\nobreak \hfil \break \hskip \z@
+    \ignorespaces
+  \fi}
+%</article|book>
+%    \end{macrocode}
+% \end{macro}
+%
 % $B0J>e$G$9!#(B
 %
 % \Finale

Modified: trunk/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls	2016-12-01 22:43:23 UTC (rev 42615)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls	2016-12-01 22:43:34 UTC (rev 42616)
@@ -22,7 +22,7 @@
 %% in the same archive or directory.)
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesClass{jsarticle}
-  [2016/10/08 okumura, texjporg]
+  [2016/12/01 okumura, texjporg]
 \def\jsc at clsname{jsarticle}
 \newif\ifjsc at needsp@tch
 \jsc at needsp@tchfalse
@@ -189,10 +189,13 @@
 \jisfontfalse
 \newif\if at jsc@uplatex
 \@jsc at uplatexfalse
+\newif\if at jsc@autodetect
+\@jsc at autodetectfalse
 \DeclareOption{mingoth}{\mingothtrue}
 \DeclareOption{winjis}{\winjistrue}
 \DeclareOption{jis}{\jisfonttrue}
 \DeclareOption{uplatex}{\@jsc at uplatextrue\winjisfalse}
+\DeclareOption{autodetect-engine}{\@jsc at autodetecttrue}
 \def\jsc at JYn{\if at jsc@uplatex JY2\else JY1\fi}
 \def\jsc at JTn{\if at jsc@uplatex JT2\else JT1\fi}
 \def\jsc at pfx@{\if at jsc@uplatex u\else \fi}
@@ -216,6 +219,11 @@
   \setlength\paperwidth {\@tempdima}
 \fi
 \ifnum \ifx\ucs\@undefined\z@\else\ucs"3000 \fi ="3000
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: upLaTeX}
+    \@jsc at uplatextrue
+    \g at addto@macro\@classoptionslist{,uplatex}
+  \fi
   \if at jsc@uplatex\else
     \ClassError\jsc at clsname
       {You are running upLaTeX.\MessageBreak
@@ -233,6 +241,10 @@
       {\@ehc}
     \@jsc at uplatexfalse
   \fi
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: pLaTeX}
+    \@jsc at uplatexfalse
+  \fi
 \fi
 \newdimen\stockwidth \newdimen\stockheight
 \setlength{\stockwidth}{\paperwidth}
@@ -394,6 +406,9 @@
     \empty at sfcnt}
   \DeclareErrorFont{OT1}{cmr}{m}{n}{10}
 \fi
+\def\jsc at smallskip{\vspace\jsc at smallskipamount}
+\newskip\jsc at smallskipamount
+\jsc at smallskipamount=3\jsc at mpt plus 1\jsc at mpt minus 1\jsc at mpt
 \setlength\paperwidth{\inv at mag\paperwidth}%
 \setlength\paperheight{\inv at mag\paperheight}%
 \setlength\stockwidth{\inv at mag\stockwidth}%
@@ -963,9 +978,9 @@
           \mbox{} \\[1zw]
           \large
           {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
-          \smallskip
+          \jsc at smallskip
           \@title
-          \smallskip
+          \jsc at smallskip
           {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
           \vfill
           {\small \@author}%
@@ -1238,15 +1253,16 @@
     {\if at slide .5\Cvs \@plus.3\Cdp \else \z@ \fi}%
     {\normalfont\normalsize\headfont}}
 \fi
+\newcommand{\jsParagraphMark}{$B"#(B}
 \if at twocolumn
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
     {\z@}{\if at slide .4\Cvs \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
-    {\normalfont\normalsize\headfont $B"#(B}}
+    {\normalfont\normalsize\headfont\jsParagraphMark}}
 \else
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
     {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
     {\if at slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
-    {\normalfont\normalsize\headfont $B"#(B}}
+    {\normalfont\normalsize\headfont\jsParagraphMark}}
 \fi
 \if at twocolumn
   \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
@@ -1666,8 +1682,8 @@
 \def\f@@t{\bgroup\aftergroup\@foot\let\next}
 \def\f at t#1{#1\@foot}
 \def\@foot{\@finalstrut\strutbox\color at endgroup\egroup
-  \ifhmode\null\fi
   \ifx\pltx at foot@penalty\@undefined\else
+    \ifhmode\null\fi
     \ifnum\pltx at foot@penalty=\z@\else
       \penalty\pltx at foot@penalty
       \pltx at foot@penalty\z@
@@ -1699,8 +1715,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\@tempa{#1}%
-  \ifx\@tempa\@empty
+  \def\jsc at tempa{#1}%
+  \ifx\jsc at tempa\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi
@@ -1710,7 +1726,7 @@
 \def\@doendpe{%
   \@endpetrue
   \def\par{%
-    \@restorepar\everypar{\everyparhook}\par\@endpefalse}%
+    \@restorepar\clubpenalty\@clubpenalty\everypar{\everyparhook}\par\@endpefalse}%
   \everypar{{\setbox\z@\lastbox}\everypar{\everyparhook}\@endpefalse\everyparhook}}
 \def\@item[#1]{%
   \if at noparitem
@@ -1808,18 +1824,6 @@
       the installation}%
   }
 \fi
-\let\ltx at ifnextchar\@ifnextchar
-\def\ProvidesFile#1{%
-  \begingroup
-    \catcode`\ 10 %
-    \ifnum \endlinechar<256 %
-      \ifnum \endlinechar>\m at ne
-        \catcode\endlinechar 10 %
-      \fi
-    \fi
-    \@makeother\/%
-    \@makeother\&%
-    \ltx at ifnextchar[{\@providesfile{#1}}{\@providesfile{#1}[]}}
 \newcommand{\prepartname}{\if at english Part~\else $BBh(B\fi}
 \newcommand{\postpartname}{\if at english\else $BIt(B\fi}
 \newcommand{\presectionname}{}%  $BBh(B
@@ -1872,6 +1876,17 @@
   \raggedright
   \xkanjiskip=0.1em\relax
 \fi
+\@ifpackageloaded{exppl2e}{\jsc at needsp@tchtrue}{\jsc at needsp@tchfalse}
+\ifjsc at needsp@tch\else
+  \expandafter\endinput
+\fi
+\def\@gnewline #1{%
+  \ifvmode
+    \@nolnerr
+  \else
+    \unskip \reserved at e {\reserved at f#1}\nobreak \hfil \break \hskip \z@
+    \ignorespaces
+  \fi}
 \endinput
 %%
 %% End of file `jsarticle.cls'.

Modified: trunk/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls	2016-12-01 22:43:23 UTC (rev 42615)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls	2016-12-01 22:43:34 UTC (rev 42616)
@@ -22,7 +22,7 @@
 %% in the same archive or directory.)
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesClass{jsbook}
-  [2016/10/08 okumura, texjporg]
+  [2016/12/01 okumura, texjporg]
 \def\jsc at clsname{jsbook}
 \newif\ifjsc at needsp@tch
 \jsc at needsp@tchfalse
@@ -189,10 +189,13 @@
 \jisfontfalse
 \newif\if at jsc@uplatex
 \@jsc at uplatexfalse
+\newif\if at jsc@autodetect
+\@jsc at autodetectfalse
 \DeclareOption{mingoth}{\mingothtrue}
 \DeclareOption{winjis}{\winjistrue}
 \DeclareOption{jis}{\jisfonttrue}
 \DeclareOption{uplatex}{\@jsc at uplatextrue\winjisfalse}
+\DeclareOption{autodetect-engine}{\@jsc at autodetecttrue}
 \def\jsc at JYn{\if at jsc@uplatex JY2\else JY1\fi}
 \def\jsc at JTn{\if at jsc@uplatex JT2\else JT1\fi}
 \def\jsc at pfx@{\if at jsc@uplatex u\else \fi}
@@ -219,6 +222,11 @@
   \setlength\paperwidth {\@tempdima}
 \fi
 \ifnum \ifx\ucs\@undefined\z@\else\ucs"3000 \fi ="3000
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: upLaTeX}
+    \@jsc at uplatextrue
+    \g at addto@macro\@classoptionslist{,uplatex}
+  \fi
   \if at jsc@uplatex\else
     \ClassError\jsc at clsname
       {You are running upLaTeX.\MessageBreak
@@ -236,6 +244,10 @@
       {\@ehc}
     \@jsc at uplatexfalse
   \fi
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: pLaTeX}
+    \@jsc at uplatexfalse
+  \fi
 \fi
 \newdimen\stockwidth \newdimen\stockheight
 \setlength{\stockwidth}{\paperwidth}
@@ -397,6 +409,9 @@
     \empty at sfcnt}
   \DeclareErrorFont{OT1}{cmr}{m}{n}{10}
 \fi
+\def\jsc at smallskip{\vspace\jsc at smallskipamount}
+\newskip\jsc at smallskipamount
+\jsc at smallskipamount=3\jsc at mpt plus 1\jsc at mpt minus 1\jsc at mpt
 \setlength\paperwidth{\inv at mag\paperwidth}%
 \setlength\paperheight{\inv at mag\paperheight}%
 \setlength\stockwidth{\inv at mag\stockwidth}%
@@ -969,9 +984,9 @@
           \mbox{} \\[1zw]
           \large
           {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
-          \smallskip
+          \jsc at smallskip
           \@title
-          \smallskip
+          \jsc at smallskip
           {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
           \vfill
           {\small \@author}%
@@ -1335,15 +1350,16 @@
     {\if at slide .5\Cvs \@plus.3\Cdp \else \z@ \fi}%
     {\normalfont\normalsize\headfont}}
 \fi
+\newcommand{\jsParagraphMark}{$B"#(B}
 \if at twocolumn
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
     {\z@}{\if at slide .4\Cvs \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
-    {\normalfont\normalsize\headfont $B"#(B}}
+    {\normalfont\normalsize\headfont\jsParagraphMark}}
 \else
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
     {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
     {\if at slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
-    {\normalfont\normalsize\headfont $B"#(B}}
+    {\normalfont\normalsize\headfont\jsParagraphMark}}
 \fi
 \if at twocolumn
   \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
@@ -1746,8 +1762,8 @@
 \def\f@@t{\bgroup\aftergroup\@foot\let\next}
 \def\f at t#1{#1\@foot}
 \def\@foot{\@finalstrut\strutbox\color at endgroup\egroup
-  \ifhmode\null\fi
   \ifx\pltx at foot@penalty\@undefined\else
+    \ifhmode\null\fi
     \ifnum\pltx at foot@penalty=\z@\else
       \penalty\pltx at foot@penalty
       \pltx at foot@penalty\z@
@@ -1779,8 +1795,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\@tempa{#1}%
-  \ifx\@tempa\@empty
+  \def\jsc at tempa{#1}%
+  \ifx\jsc at tempa\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi
@@ -1790,7 +1806,7 @@
 \def\@doendpe{%
   \@endpetrue
   \def\par{%
-    \@restorepar\everypar{\everyparhook}\par\@endpefalse}%
+    \@restorepar\clubpenalty\@clubpenalty\everypar{\everyparhook}\par\@endpefalse}%
   \everypar{{\setbox\z@\lastbox}\everypar{\everyparhook}\@endpefalse\everyparhook}}
 \def\@item[#1]{%
   \if at noparitem
@@ -1888,18 +1904,6 @@
       the installation}%
   }
 \fi
-\let\ltx at ifnextchar\@ifnextchar
-\def\ProvidesFile#1{%
-  \begingroup
-    \catcode`\ 10 %
-    \ifnum \endlinechar<256 %
-      \ifnum \endlinechar>\m at ne
-        \catcode\endlinechar 10 %
-      \fi
-    \fi
-    \@makeother\/%
-    \@makeother\&%
-    \ltx at ifnextchar[{\@providesfile{#1}}{\@providesfile{#1}[]}}
 \newcommand{\prepartname}{\if at english Part~\else $BBh(B\fi}
 \newcommand{\postpartname}{\if at english\else $BIt(B\fi}
 \newcommand{\prechaptername}{\if at english Chapter~\else $BBh(B\fi}
@@ -1953,6 +1957,17 @@
   \raggedright
   \xkanjiskip=0.1em\relax
 \fi
+\@ifpackageloaded{exppl2e}{\jsc at needsp@tchtrue}{\jsc at needsp@tchfalse}
+\ifjsc at needsp@tch\else
+  \expandafter\endinput
+\fi
+\def\@gnewline #1{%
+  \ifvmode
+    \@nolnerr
+  \else
+    \unskip \reserved at e {\reserved at f#1}\nobreak \hfil \break \hskip \z@
+    \ignorespaces
+  \fi}
 \endinput
 %%
 %% End of file `jsbook.cls'.

Modified: trunk/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/jspf.cls	2016-12-01 22:43:23 UTC (rev 42615)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/jspf.cls	2016-12-01 22:43:34 UTC (rev 42616)
@@ -22,7 +22,7 @@
 %% in the same archive or directory.)
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesClass{jspf}
-  [2016/10/08 okumura, texjporg]
+  [2016/12/01 okumura, texjporg]
 \def\jsc at clsname{jspf}
 \newif\ifjsc at needsp@tch
 \jsc at needsp@tchfalse
@@ -185,10 +185,13 @@
 \jisfontfalse
 \newif\if at jsc@uplatex
 \@jsc at uplatexfalse
+\newif\if at jsc@autodetect
+\@jsc at autodetectfalse
 \DeclareOption{mingoth}{\mingothtrue}
 \DeclareOption{winjis}{\winjistrue}
 \DeclareOption{jis}{\jisfonttrue}
 \DeclareOption{uplatex}{\@jsc at uplatextrue\winjisfalse}
+\DeclareOption{autodetect-engine}{\@jsc at autodetecttrue}
 \def\jsc at JYn{\if at jsc@uplatex JY2\else JY1\fi}
 \def\jsc at JTn{\if at jsc@uplatex JT2\else JT1\fi}
 \def\jsc at pfx@{\if at jsc@uplatex u\else \fi}
@@ -212,6 +215,11 @@
   \setlength\paperwidth {\@tempdima}
 \fi
 \ifnum \ifx\ucs\@undefined\z@\else\ucs"3000 \fi ="3000
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: upLaTeX}
+    \@jsc at uplatextrue
+    \g at addto@macro\@classoptionslist{,uplatex}
+  \fi
   \if at jsc@uplatex\else
     \ClassError\jsc at clsname
       {You are running upLaTeX.\MessageBreak
@@ -229,6 +237,10 @@
       {\@ehc}
     \@jsc at uplatexfalse
   \fi
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: pLaTeX}
+    \@jsc at uplatexfalse
+  \fi
 \fi
 \newdimen\stockwidth \newdimen\stockheight
 \setlength{\stockwidth}{\paperwidth}
@@ -390,6 +402,9 @@
     \empty at sfcnt}
   \DeclareErrorFont{OT1}{cmr}{m}{n}{10}
 \fi
+\def\jsc at smallskip{\vspace\jsc at smallskipamount}
+\newskip\jsc at smallskipamount
+\jsc at smallskipamount=3\jsc at mpt plus 1\jsc at mpt minus 1\jsc at mpt
 \setlength\paperwidth{\inv at mag\paperwidth}%
 \setlength\paperheight{\inv at mag\paperheight}%
 \setlength\stockwidth{\inv at mag\stockwidth}%
@@ -1543,8 +1558,8 @@
 \def\f@@t{\bgroup\aftergroup\@foot\let\next}
 \def\f at t#1{#1\@foot}
 \def\@foot{\@finalstrut\strutbox\color at endgroup\egroup
-  \ifhmode\null\fi
   \ifx\pltx at foot@penalty\@undefined\else
+    \ifhmode\null\fi
     \ifnum\pltx at foot@penalty=\z@\else
       \penalty\pltx at foot@penalty
       \pltx at foot@penalty\z@
@@ -1576,8 +1591,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\@tempa{#1}%
-  \ifx\@tempa\@empty
+  \def\jsc at tempa{#1}%
+  \ifx\jsc at tempa\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi
@@ -1587,7 +1602,7 @@
 \def\@doendpe{%
   \@endpetrue
   \def\par{%
-    \@restorepar\everypar{\everyparhook}\par\@endpefalse}%
+    \@restorepar\clubpenalty\@clubpenalty\everypar{\everyparhook}\par\@endpefalse}%
   \everypar{{\setbox\z@\lastbox}\everypar{\everyparhook}\@endpefalse\everyparhook}}
 \def\@item[#1]{%
   \if at noparitem
@@ -1685,18 +1700,6 @@
       the installation}%
   }
 \fi
-\let\ltx at ifnextchar\@ifnextchar
-\def\ProvidesFile#1{%
-  \begingroup
-    \catcode`\ 10 %
-    \ifnum \endlinechar<256 %
-      \ifnum \endlinechar>\m at ne
-        \catcode\endlinechar 10 %
-      \fi
-    \fi
-    \@makeother\/%
-    \@makeother\&%
-    \ltx at ifnextchar[{\@providesfile{#1}}{\@providesfile{#1}[]}}
 \newcommand{\prepartname}{\if at english Part~\else $BBh(B\fi}
 \newcommand{\postpartname}{\if at english\else $BIt(B\fi}
 \newcommand{\presectionname}{}%  $BBh(B

Modified: trunk/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls	2016-12-01 22:43:23 UTC (rev 42615)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls	2016-12-01 22:43:34 UTC (rev 42616)
@@ -22,7 +22,7 @@
 %% in the same archive or directory.)
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesClass{kiyou}
-  [2016/10/08 okumura, texjporg]
+  [2016/12/01 okumura, texjporg]
 \def\jsc at clsname{kiyou}
 \newif\ifjsc at needsp@tch
 \jsc at needsp@tchfalse
@@ -185,10 +185,13 @@
 \jisfontfalse
 \newif\if at jsc@uplatex
 \@jsc at uplatexfalse
+\newif\if at jsc@autodetect
+\@jsc at autodetectfalse
 \DeclareOption{mingoth}{\mingothtrue}
 \DeclareOption{winjis}{\winjistrue}
 \DeclareOption{jis}{\jisfonttrue}
 \DeclareOption{uplatex}{\@jsc at uplatextrue\winjisfalse}
+\DeclareOption{autodetect-engine}{\@jsc at autodetecttrue}
 \def\jsc at JYn{\if at jsc@uplatex JY2\else JY1\fi}
 \def\jsc at JTn{\if at jsc@uplatex JT2\else JT1\fi}
 \def\jsc at pfx@{\if at jsc@uplatex u\else \fi}
@@ -212,6 +215,11 @@
   \setlength\paperwidth {\@tempdima}
 \fi
 \ifnum \ifx\ucs\@undefined\z@\else\ucs"3000 \fi ="3000
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: upLaTeX}
+    \@jsc at uplatextrue
+    \g at addto@macro\@classoptionslist{,uplatex}
+  \fi
   \if at jsc@uplatex\else
     \ClassError\jsc at clsname
       {You are running upLaTeX.\MessageBreak
@@ -229,6 +237,10 @@
       {\@ehc}
     \@jsc at uplatexfalse
   \fi
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: pLaTeX}
+    \@jsc at uplatexfalse
+  \fi
 \fi
 \newdimen\stockwidth \newdimen\stockheight
 \setlength{\stockwidth}{\paperwidth}
@@ -401,6 +413,9 @@
     \empty at sfcnt}
   \DeclareErrorFont{OT1}{cmr}{m}{n}{10}
 \fi
+\def\jsc at smallskip{\vspace\jsc at smallskipamount}
+\newskip\jsc at smallskipamount
+\jsc at smallskipamount=3\jsc at mpt plus 1\jsc at mpt minus 1\jsc at mpt
 \setlength\paperwidth{\inv at mag\paperwidth}%
 \setlength\paperheight{\inv at mag\paperheight}%
 \setlength\stockwidth{\inv at mag\stockwidth}%
@@ -952,9 +967,9 @@
           \mbox{} \\[1zw]
           \large
           {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
-          \smallskip
+          \jsc at smallskip
           \@title
-          \smallskip
+          \jsc at smallskip
           {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
           \vfill
           {\small \@author}%
@@ -1227,15 +1242,16 @@
     {\if at slide .5\Cvs \@plus.3\Cdp \else \z@ \fi}%
     {\normalfont\normalsize\headfont}}
 \fi
+\newcommand{\jsParagraphMark}{$B"#(B}
 \if at twocolumn
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
     {\z@}{\if at slide .4\Cvs \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
-    {\normalfont\normalsize\headfont $B"#(B}}
+    {\normalfont\normalsize\headfont\jsParagraphMark}}
 \else
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
     {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
     {\if at slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
-    {\normalfont\normalsize\headfont $B"#(B}}
+    {\normalfont\normalsize\headfont\jsParagraphMark}}
 \fi
 \if at twocolumn
   \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
@@ -1658,8 +1674,8 @@
 \def\f@@t{\bgroup\aftergroup\@foot\let\next}
 \def\f at t#1{#1\@foot}
 \def\@foot{\@finalstrut\strutbox\color at endgroup\egroup
-  \ifhmode\null\fi
   \ifx\pltx at foot@penalty\@undefined\else
+    \ifhmode\null\fi
     \ifnum\pltx at foot@penalty=\z@\else
       \penalty\pltx at foot@penalty
       \pltx at foot@penalty\z@
@@ -1691,8 +1707,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\@tempa{#1}%
-  \ifx\@tempa\@empty
+  \def\jsc at tempa{#1}%
+  \ifx\jsc at tempa\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi
@@ -1702,7 +1718,7 @@
 \def\@doendpe{%
   \@endpetrue
   \def\par{%
-    \@restorepar\everypar{\everyparhook}\par\@endpefalse}%
+    \@restorepar\clubpenalty\@clubpenalty\everypar{\everyparhook}\par\@endpefalse}%
   \everypar{{\setbox\z@\lastbox}\everypar{\everyparhook}\@endpefalse\everyparhook}}
 \def\@item[#1]{%
   \if at noparitem
@@ -1800,18 +1816,6 @@
       the installation}%
   }
 \fi
-\let\ltx at ifnextchar\@ifnextchar
-\def\ProvidesFile#1{%
-  \begingroup
-    \catcode`\ 10 %
-    \ifnum \endlinechar<256 %
-      \ifnum \endlinechar>\m at ne
-        \catcode\endlinechar 10 %
-      \fi
-    \fi
-    \@makeother\/%
-    \@makeother\&%
-    \ltx at ifnextchar[{\@providesfile{#1}}{\@providesfile{#1}[]}}
 \newcommand{\prepartname}{\if at english Part~\else $BBh(B\fi}
 \newcommand{\postpartname}{\if at english\else $BIt(B\fi}
 \newcommand{\presectionname}{}%  $BBh(B



More information about the tex-live-commits mailing list