From 1363382ab40cad5afc0990b51f99f03141b6d4f3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 9 Mar 2018 22:46:10 +0000 Subject: platex (9mar18) git-svn-id: svn://tug.org/texlive/trunk@46902 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/platex/base/ascmac.sty | 25 - Master/texmf-dist/tex/platex/base/exppl2e.sty | 176 +++++- Master/texmf-dist/tex/platex/base/jarticle.cls | 5 +- Master/texmf-dist/tex/platex/base/jarticle.sty | 2 +- Master/texmf-dist/tex/platex/base/jbk10.clo | 4 +- Master/texmf-dist/tex/platex/base/jbk11.clo | 4 +- Master/texmf-dist/tex/platex/base/jbk12.clo | 4 +- Master/texmf-dist/tex/platex/base/jbook.cls | 5 +- Master/texmf-dist/tex/platex/base/jbook.sty | 2 +- Master/texmf-dist/tex/platex/base/jltxdoc.cls | 2 +- Master/texmf-dist/tex/platex/base/jreport.cls | 5 +- Master/texmf-dist/tex/platex/base/jreport.sty | 2 +- Master/texmf-dist/tex/platex/base/jsize10.clo | 4 +- Master/texmf-dist/tex/platex/base/jsize11.clo | 4 +- Master/texmf-dist/tex/platex/base/jsize12.clo | 4 +- Master/texmf-dist/tex/platex/base/jt1gt.fd | 4 +- Master/texmf-dist/tex/platex/base/jt1mc.fd | 4 +- Master/texmf-dist/tex/platex/base/jy1gt.fd | 4 +- Master/texmf-dist/tex/platex/base/jy1mc.fd | 4 +- Master/texmf-dist/tex/platex/base/kinsoku.tex | 2 +- Master/texmf-dist/tex/platex/base/nidanfloat.sty | 652 --------------------- Master/texmf-dist/tex/platex/base/oldpfont.sty | 2 +- Master/texmf-dist/tex/platex/base/pfltrace.sty | 2 +- Master/texmf-dist/tex/platex/base/pl209.def | 2 +- Master/texmf-dist/tex/platex/base/platex.ltx | 7 +- .../texmf-dist/tex/platex/base/platexrelease.sty | 141 ++++- Master/texmf-dist/tex/platex/base/plcore.ltx | 92 ++- Master/texmf-dist/tex/platex/base/pldefs.ltx | 4 +- Master/texmf-dist/tex/platex/base/plext.sty | 2 +- Master/texmf-dist/tex/platex/base/plnews.cls | 100 ++++ Master/texmf-dist/tex/platex/base/ptrace.sty | 2 +- Master/texmf-dist/tex/platex/base/tarticle.cls | 5 +- Master/texmf-dist/tex/platex/base/tarticle.sty | 2 +- Master/texmf-dist/tex/platex/base/tascmac.sty | 276 --------- Master/texmf-dist/tex/platex/base/tbk10.clo | 4 +- Master/texmf-dist/tex/platex/base/tbk11.clo | 4 +- Master/texmf-dist/tex/platex/base/tbk12.clo | 4 +- Master/texmf-dist/tex/platex/base/tbook.cls | 5 +- Master/texmf-dist/tex/platex/base/tbook.sty | 2 +- Master/texmf-dist/tex/platex/base/treport.cls | 5 +- Master/texmf-dist/tex/platex/base/treport.sty | 2 +- Master/texmf-dist/tex/platex/base/tsize10.clo | 4 +- Master/texmf-dist/tex/platex/base/tsize11.clo | 4 +- Master/texmf-dist/tex/platex/base/tsize12.clo | 4 +- 44 files changed, 556 insertions(+), 1037 deletions(-) delete mode 100644 Master/texmf-dist/tex/platex/base/ascmac.sty delete mode 100644 Master/texmf-dist/tex/platex/base/nidanfloat.sty create mode 100644 Master/texmf-dist/tex/platex/base/plnews.cls delete mode 100644 Master/texmf-dist/tex/platex/base/tascmac.sty (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/platex/base/ascmac.sty b/Master/texmf-dist/tex/platex/base/ascmac.sty deleted file mode 100644 index f2ab32cc2a6..00000000000 --- a/Master/texmf-dist/tex/platex/base/ascmac.sty +++ /dev/null @@ -1,25 +0,0 @@ -%% -%% This is file `ascmac.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% ascmac.dtx (with options: `ascmac') -%% -%% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community -%% -%% This file is part of the pLaTeX2e system (community edition). -%% ------------------------------------------------------------- -%% -%% wrapper for tascmac.sty -%% -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ascmac} - [2017/12/17 v2.0f - ascmac wrapper (community edition) - ] -\RequirePackage{tascmac} -\endinput -%% -%% End of file `ascmac.sty'. diff --git a/Master/texmf-dist/tex/platex/base/exppl2e.sty b/Master/texmf-dist/tex/platex/base/exppl2e.sty index 3365ad72fc3..eaaf3bc6538 100644 --- a/Master/texmf-dist/tex/platex/base/exppl2e.sty +++ b/Master/texmf-dist/tex/platex/base/exppl2e.sty @@ -385,9 +385,183 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % +% \subsection{直前のJFM由来スペースの削除【コミュニティ版独自】} +% 現状のp\TeX{}(\TeX\ Live 2017時点)では、 +% |\inhibitglue|プリミティブは「JFM由来のスペース(グルー・カーン)挿入 +% ルーチンを抑制する」働きをします。しかし、既に挿入されてしまった +% JFMグルーやカーンを削除することはできません。 +% +% \begin{macro}{\removejfmglue} +% そこで、「最後のノードがJFMグルーであった場合にそれを削除する」という +% ユーザ向け命令を定義します。この機能にはe-p\TeX{} 180226以降の +% |\lastnodesubtype|プリミティブが必要です。 +% \changes{v1.2x}{2018/03/01}{JFMグルーノードを削除するマクロ追加} +% \begin{macrocode} +%\plIncludeInRelease{2018/03/09}% +% {\removejfmglue}{Macro added}% +%<*plcore|platexrelease> +% \end{macrocode} +% \begin{macrocode} +\ifx\lastnodesubtype\@undefined + \let\removejfmglue\@undefined +\else + \def\pltx@gluetype{11} + \def\pltx@jfmgluesubtype{21} + \protected\def\removejfmglue{% + \ifnum\lastnodetype=\pltx@gluetype\relax + \ifnum\lastnodesubtype=\pltx@jfmgluesubtype\relax + \unskip + \fi + \fi} +\fi +% +%\plEndIncludeInRelease +%\plIncludeInRelease{0000/00/00}% +% {\removejfmglue}{Macro added}% +%\let\removejfmglue\@undefined +%\plEndIncludeInRelease +% \end{macrocode} +% \end{macro} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % \section{tabular環境のセル内のJFMグル―} % -% p\LaTeXe{}カーネル(2017/07/29)に導入したため削除。 +% \begin{macro}{\@tabclassz} +% \LaTeX{}カーネルは、アラインメント文字|&|の周囲に半角空白を書いたかどうかに +% かかわらず余分なスペースを出力しないように、|\ignorespaces|と|\unskip|を +% 発行しています(lttab.dtx)。しかし、これだけではJFMグルーが消えずに残って +% しまうので、p\LaTeX{}では追加の対処を入れます。 +% +% まず、|l|, |c|, |r|の場合です。 +% 2017/09/26の修正では「セルの要素を|\mbox|に入れ、 +% その最初で|\inhibitglue|を発行する」という方針でしたが、 +% 2018/03/09の修正では「|\removejfmglue|マクロが定義されている場合は +% 最初に|\inhibitglue|を発行し、最後に|\removejfmglue|を発行する」という +% 方針にします。こうすれば少々\LaTeX{}との互換性が向上します。 +% \changes{v1.2p}{2017/07/21}{tabular環境のセル内のJFMグル―を削除} +% \changes{v1.2r}{2017/09/26}{tabular環境の右揃え(r)で罫線がずれるように +% なっていたバグを修正} +% \changes{v1.2x}{2018/03/01}{\cs{removejfmglue}があれば利用するようにした} +% \begin{macrocode} +%\plIncludeInRelease{2018/03/09}{\@tabclassz} +% {Inhibit JFM glue in tabular cells}% +%<*plcore|platexrelease> +\ifx\removejfmglue\@undefined +\def\@tabclassz{% + \ifcase\@lastchclass + \@acolampacol + \or + \@ampacol + \or + \or + \or + \@addamp + \or + \@acolampacol + \or + \@firstampfalse\@acol + \fi + \edef\@preamble{% + \@preamble{% + \ifcase\@chnum + \hfil\mbox{\inhibitglue\ignorespaces\@sharp\unskip}\hfil % c + \or + \hskip1sp\mbox{\inhibitglue\ignorespaces\@sharp\unskip}\hfil % l + \or + \hfil\hskip1sp\mbox{\inhibitglue\ignorespaces\@sharp\unskip}% % r + \fi}}} +\else +\def\@tabclassz{% + \ifcase\@lastchclass + \@acolampacol + \or + \@ampacol + \or + \or + \or + \@addamp + \or + \@acolampacol + \or + \@firstampfalse\@acol + \fi + \edef\@preamble{% + \@preamble{% + \ifcase\@chnum + \hfil\inhibitglue\ignorespaces\@sharp\unskip\removejfmglue\hfil % c + \or + \hskip1sp\inhibitglue\ignorespaces\@sharp\unskip\removejfmglue\hfil % l + \or + \hfil\hskip1sp\inhibitglue\ignorespaces\@sharp\unskip\removejfmglue % r + \fi}}} +\fi +% +%\plEndIncludeInRelease +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@classv} +% 次に、|p|の場合です。 +% 2017/07/29の修正では|\mbox{}\inhibitglue|と|\unskip|を追加していましたが、 +% 以下のように|p|指定のセルの最初で|\par|として +% 改段落を発行すると、一行空いてしまうという症状が起きてしまいます(platex/\#63)。 +%\begin{verbatim} +% \begin{tabular}{p{5cm}} +% A\\ +% \relax\par +% A +% \end{tabular} +%\end{verbatim} +% ここでは、2017/07/29の修正から方針を改め、|\everypar|内に|\inhibitglue|を +% 仕込むという方針で対応します。 +% \changes{v1.2p}{2017/07/21}{tabular環境のセル内のJFMグル―を削除} +% \changes{v1.2x}{2018/03/01}{セル最初の\cs{par}で空行が入らないようにした} +% \begin{macrocode} +%\plIncludeInRelease{2018/03/09}{\@classv} +% {Inhibit JFM glue in tabular cells}% +%<*plcore|platexrelease> +\def\@classv{\@addtopreamble{\@startpbox{\@nextchar}\pltx@next@inhibitglue\ignorespaces +\@sharp\unskip\@endpbox}} +% +%\plEndIncludeInRelease +%\plIncludeInRelease{2017/07/29}{\@classv} +% {Inhibit JFM glue in tabular cells}% +%\def\@classv{\@addtopreamble{\@startpbox{\@nextchar}\mbox{}\inhibitglue\ignorespaces +%\@sharp\unskip\@endpbox}} +%\plEndIncludeInRelease +%\plIncludeInRelease{0000/00/00}{\@classv} +% {Inhibit JFM glue in tabular cells}% +%\def\@classv{\@addtopreamble{\@startpbox{\@nextchar}\ignorespaces +%\@sharp\@endpbox}} +%\plEndIncludeInRelease +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pltx@next@inhibitglue} +% 水平モードであればそのまま|\inhibitglue|を発行し、それ以外であれば +% |\everypar|内に|\inhibitglue|を仕込みます。 +% \changes{v1.2x}{2018/03/01}{\cs{everypar}に\cs{inhibitglue}を仕込むマクロ追加} +% \begin{macrocode} +%\plIncludeInRelease{2018/03/09}{\pltx@next@inhibitglue} +% {Add \pltx@next@inhibitglue}% +%<*plcore|platexrelease> +\protected\def\pltx@next@inhibitglue{% + \ifhmode\inhibitglue\else + \edef\@tempa{\everypar{\inhibitglue + \everypar{\unexpanded\expandafter{\the\everypar}}% + \unexpanded\expandafter{\the\everypar}}}% + \@tempa\fi} +% +%\plEndIncludeInRelease +%\plIncludeInRelease{0000/00/00}{\pltx@next@inhibitglue} +% {Add \pltx@next@inhibitglue}% +%\let\pltx@next@inhibitglue\@undefined +%\plEndIncludeInRelease +% \end{macrocode} +% \end{macro} +% +% % p\LaTeXe{}カーネル(2017/07/29)に導入したため削除。 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % diff --git a/Master/texmf-dist/tex/platex/base/jarticle.cls b/Master/texmf-dist/tex/platex/base/jarticle.cls index 54dee29d31c..ad7dda0cd24 100644 --- a/Master/texmf-dist/tex/platex/base/jarticle.cls +++ b/Master/texmf-dist/tex/platex/base/jarticle.cls @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `article,yoko') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jarticle} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -123,6 +123,7 @@ \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final} \ProcessOptions\relax \input{jsize1\@ptsize.clo} +\def\Cjascale{0.962216} \if@stysize \setlength\columnsep{2\Cwd} \else diff --git a/Master/texmf-dist/tex/platex/base/jarticle.sty b/Master/texmf-dist/tex/platex/base/jarticle.sty index 632cf58b3dd..7b0259aed6d 100644 --- a/Master/texmf-dist/tex/platex/base/jarticle.sty +++ b/Master/texmf-dist/tex/platex/base/jarticle.sty @@ -7,7 +7,7 @@ %% pl209.dtx (with options: `style,jarticle') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/jbk10.clo b/Master/texmf-dist/tex/platex/base/jbk10.clo index 6a1a6680d9f..db8f59405f2 100644 --- a/Master/texmf-dist/tex/platex/base/jbk10.clo +++ b/Master/texmf-dist/tex/platex/base/jbk10.clo @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `10pt,bk,yoko') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jbk10.clo} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{15}% diff --git a/Master/texmf-dist/tex/platex/base/jbk11.clo b/Master/texmf-dist/tex/platex/base/jbk11.clo index 2631554031a..e948cdc37b2 100644 --- a/Master/texmf-dist/tex/platex/base/jbk11.clo +++ b/Master/texmf-dist/tex/platex/base/jbk11.clo @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `11pt,bk,yoko') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jbk11.clo} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{15.5}% diff --git a/Master/texmf-dist/tex/platex/base/jbk12.clo b/Master/texmf-dist/tex/platex/base/jbk12.clo index 0921fe9d3c7..c3d78b9d9c6 100644 --- a/Master/texmf-dist/tex/platex/base/jbk12.clo +++ b/Master/texmf-dist/tex/platex/base/jbk12.clo @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `12pt,bk,yoko') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jbk12.clo} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{16.5}% diff --git a/Master/texmf-dist/tex/platex/base/jbook.cls b/Master/texmf-dist/tex/platex/base/jbook.cls index b7b5e168996..ae4cef59e17 100644 --- a/Master/texmf-dist/tex/platex/base/jbook.cls +++ b/Master/texmf-dist/tex/platex/base/jbook.cls @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `book,yoko') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jbook} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -133,6 +133,7 @@ \ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,openright} \ProcessOptions\relax \input{jbk1\@ptsize.clo} +\def\Cjascale{0.962216} \if@stysize \setlength\columnsep{2\Cwd} \else diff --git a/Master/texmf-dist/tex/platex/base/jbook.sty b/Master/texmf-dist/tex/platex/base/jbook.sty index 56d6df93ff6..bb46725487f 100644 --- a/Master/texmf-dist/tex/platex/base/jbook.sty +++ b/Master/texmf-dist/tex/platex/base/jbook.sty @@ -7,7 +7,7 @@ %% pl209.dtx (with options: `style,jbook') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/jltxdoc.cls b/Master/texmf-dist/tex/platex/base/jltxdoc.cls index 065d313892d..750ba659c65 100644 --- a/Master/texmf-dist/tex/platex/base/jltxdoc.cls +++ b/Master/texmf-dist/tex/platex/base/jltxdoc.cls @@ -7,7 +7,7 @@ %% jltxdoc.dtx (with options: `class') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/jreport.cls b/Master/texmf-dist/tex/platex/base/jreport.cls index 74b7cd3a8cb..e6541e5929e 100644 --- a/Master/texmf-dist/tex/platex/base/jreport.cls +++ b/Master/texmf-dist/tex/platex/base/jreport.cls @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `report,yoko') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jreport} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -131,6 +131,7 @@ \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany} \ProcessOptions\relax \input{jsize1\@ptsize.clo} +\def\Cjascale{0.962216} \if@stysize \setlength\columnsep{2\Cwd} \else diff --git a/Master/texmf-dist/tex/platex/base/jreport.sty b/Master/texmf-dist/tex/platex/base/jreport.sty index c898d43150e..6c4502171b0 100644 --- a/Master/texmf-dist/tex/platex/base/jreport.sty +++ b/Master/texmf-dist/tex/platex/base/jreport.sty @@ -7,7 +7,7 @@ %% pl209.dtx (with options: `style,jreport') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/jsize10.clo b/Master/texmf-dist/tex/platex/base/jsize10.clo index 803d5f3a9f8..159b590f2e7 100644 --- a/Master/texmf-dist/tex/platex/base/jsize10.clo +++ b/Master/texmf-dist/tex/platex/base/jsize10.clo @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `10pt,yoko') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jsize10.clo} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{15}% diff --git a/Master/texmf-dist/tex/platex/base/jsize11.clo b/Master/texmf-dist/tex/platex/base/jsize11.clo index f6bda2652a7..b3e8cdb8b43 100644 --- a/Master/texmf-dist/tex/platex/base/jsize11.clo +++ b/Master/texmf-dist/tex/platex/base/jsize11.clo @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `11pt,yoko') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jsize11.clo} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{15.5}% diff --git a/Master/texmf-dist/tex/platex/base/jsize12.clo b/Master/texmf-dist/tex/platex/base/jsize12.clo index 5f101a0e017..62cb93d187a 100644 --- a/Master/texmf-dist/tex/platex/base/jsize12.clo +++ b/Master/texmf-dist/tex/platex/base/jsize12.clo @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `12pt,yoko') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jsize12.clo} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{16.5}% diff --git a/Master/texmf-dist/tex/platex/base/jt1gt.fd b/Master/texmf-dist/tex/platex/base/jt1gt.fd index 01412ea3af0..29bc547fc04 100644 --- a/Master/texmf-dist/tex/platex/base/jt1gt.fd +++ b/Master/texmf-dist/tex/platex/base/jt1gt.fd @@ -7,14 +7,14 @@ %% plfonts.dtx (with options: `JT1gt') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- %% %% File: plfonts.dtx \ProvidesFile{jt1gt.fd} - [1997/01/24 v1.3 KANJI font defines] + [2018/02/04 v1.6l KANJI font defines] \DeclareKanjiFamily{JT1}{gt}{} \DeclareRelationFont{JT1}{gt}{m}{}{OT1}{cmr}{bx}{} \DeclareFontShape{JT1}{gt}{m}{n}{<5> <6> <7> <8> <9> <10> sgen*tgoth diff --git a/Master/texmf-dist/tex/platex/base/jt1mc.fd b/Master/texmf-dist/tex/platex/base/jt1mc.fd index ebd9ce717ee..3fba2724099 100644 --- a/Master/texmf-dist/tex/platex/base/jt1mc.fd +++ b/Master/texmf-dist/tex/platex/base/jt1mc.fd @@ -7,14 +7,14 @@ %% plfonts.dtx (with options: `JT1mc') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- %% %% File: plfonts.dtx \ProvidesFile{jt1mc.fd} - [1997/01/24 v1.3 KANJI font defines] + [2018/02/04 v1.6l KANJI font defines] \DeclareKanjiFamily{JT1}{mc}{} \DeclareRelationFont{JT1}{mc}{m}{}{OT1}{cmr}{m}{} \DeclareRelationFont{JT1}{mc}{bx}{}{OT1}{cmr}{bx}{} diff --git a/Master/texmf-dist/tex/platex/base/jy1gt.fd b/Master/texmf-dist/tex/platex/base/jy1gt.fd index c2710d9c677..2d6943e5862 100644 --- a/Master/texmf-dist/tex/platex/base/jy1gt.fd +++ b/Master/texmf-dist/tex/platex/base/jy1gt.fd @@ -7,14 +7,14 @@ %% plfonts.dtx (with options: `JY1gt') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- %% %% File: plfonts.dtx \ProvidesFile{jy1gt.fd} - [1997/01/24 v1.3 KANJI font defines] + [2018/02/04 v1.6l KANJI font defines] \DeclareKanjiFamily{JY1}{gt}{} \DeclareRelationFont{JY1}{gt}{m}{}{OT1}{cmr}{bx}{} \DeclareFontShape{JY1}{gt}{m}{n}{<5> <6> <7> <8> <9> <10> sgen*goth diff --git a/Master/texmf-dist/tex/platex/base/jy1mc.fd b/Master/texmf-dist/tex/platex/base/jy1mc.fd index a45f3b5a539..0fd86603a06 100644 --- a/Master/texmf-dist/tex/platex/base/jy1mc.fd +++ b/Master/texmf-dist/tex/platex/base/jy1mc.fd @@ -7,14 +7,14 @@ %% plfonts.dtx (with options: `JY1mc') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- %% %% File: plfonts.dtx \ProvidesFile{jy1mc.fd} - [1997/01/24 v1.3 KANJI font defines] + [2018/02/04 v1.6l KANJI font defines] \DeclareKanjiFamily{JY1}{mc}{} \DeclareRelationFont{JY1}{mc}{m}{}{OT1}{cmr}{m}{} \DeclareRelationFont{JY1}{mc}{bx}{}{OT1}{cmr}{bx}{} diff --git a/Master/texmf-dist/tex/platex/base/kinsoku.tex b/Master/texmf-dist/tex/platex/base/kinsoku.tex index 5d0767aa1f1..c6ef58789c3 100644 --- a/Master/texmf-dist/tex/platex/base/kinsoku.tex +++ b/Master/texmf-dist/tex/platex/base/kinsoku.tex @@ -7,7 +7,7 @@ %% kinsoku.dtx (with options: `plcore') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/nidanfloat.sty b/Master/texmf-dist/tex/platex/base/nidanfloat.sty deleted file mode 100644 index f7444b16137..00000000000 --- a/Master/texmf-dist/tex/platex/base/nidanfloat.sty +++ /dev/null @@ -1,652 +0,0 @@ -%% -%% This is file `nidanfloat.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% nidanfloat.dtx (with options: `core') -%% -%% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community -%% -%% This file is part of the pLaTeX2e system (community edition). -%% ------------------------------------------------------------- -%% -%% File: nidanfloat.dtx -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{nidanfloat}% - [2017/05/01 v2.8 Put double-floats at top/bottom within twocolumn mode] -\DeclareOption{balance}{\AtEndDocument{\let\clearpage\balanceclearpage}} -\DeclareOption{nobalance}{\relax} -\ExecuteOptions{nobalance} -\ProcessOptions -\newcommand\dblbotfraction{0.5} -\newcount\c@dblbotnumber -\setcounter{dblbotnumber}{2} -\newdimen\@dblbotroom -\newcount\@dblbotnum -\def\@dblfloatplacement{% - \global\@dbltopnum\c@dbltopnumber - \global\@dblbotnum\c@dblbotnumber % added - \global\@dbltoproom\dbltopfraction\@colht - \global\@dblbotroom\dblbotfraction\@colht % added - \@textmin\@colht - \advance\@textmin-\@dbltoproom - \advance\@textmin-\@dblbotroom % added - \@fpmin\dblfloatpagefraction\textheight - \@fptop\@dblfptop - \@fpsep\@dblfpsep - \@fpbot\@dblfpbot -} -\gdef\@dblbotlist{} -\gdef\L@toplist{} -\gdef\R@toplist{} -\gdef\L@botlist{} -\gdef\R@botlist{} -\def\@dblfloat{% - \if@twocolumn\let\reserved@a\@dbflt\else\let\reserved@a\@float\fi - \reserved@a} -\def\@dbflt#1{\@ifnextchar[{\@xdblfloat{#1}}{\@xdblfloat{#1}[tb]}} -\def\@xdblfloat#1[#2]{% - \@xfloat{#1}[#2]\hsize\textwidth\linewidth\textwidth} -\let\end@dblfloat\end@float -\def\@addtocurcol{% - \ifdim\wd\@currbox>\columnwidth - \@addtodblcol - \else - \@insertfalse - \@setfloattypecounts - \ifnum\@fpstype=8 % is only `!p' - \else - \ifnum\@fpstype=24 % is only `p' - \else - \@flsettextmin - \advance\@textmin\@textfloatsheight - \@reqcolroom\@pageht - \ifdim\@textmin>\@reqcolroom \@reqcolroom\@textmin\fi - \advance\@reqcolroom\ht\@currbox - \ifdim\@colroom>\@reqcolroom - \@flsetnum\@colnum - \ifnum\@colnum>\z@ - \@bitor\@currtype\@deferlist - \if@test - \else - \@bitor\@currtype{\L@botlist\R@botlist}% - \if@test - \@addtobot - \else - \ifodd\count\@currbox - \advance\@reqcolroom\intextsep - \ifdim\@colroom>\@reqcolroom - \global\advance\@colnum\m@ne - \global\advance\@textfloatsheight\ht\@currbox - \global\advance\@textfloatsheight 2\intextsep - \@cons\@midlist\@currbox - \if@nobreak - \nobreak - \@nobreakfalse - \everypar{}% - \else - \addpenalty \interlinepenalty - \fi - \vskip\intextsep - \box\@currbox - \penalty\interlinepenalty - \vskip\intextsep - \ifnum\outputpenalty<-\@Mii \vskip-\parskip \fi - \outputpenalty\z@ - \@inserttrue - \fi - \fi - \if@insert\else\@addtotoporbot\fi - \fi - \fi - \fi - \fi - \fi - \fi - \if@insert\else\@resethfps\@cons\@deferlist\@currbox\fi - \fi -} -\def\@addtotoporbot{% - \@getfpsbit \tw@ - \ifodd\@tempcnta - \@flsetnum\@topnum - \ifnum\@topnum>\z@ - \@tempswafalse - \@flcheckspace\@toproom\@toplist\L@toplist\R@toplist - \if@tempswa - \@bitor\@currtype{\@midlist\L@botlist\R@botlist}% - \if@test\else - \if@firstcolumn - \@flupdates \@topnum \@toproom \L@toplist - \else - \@flupdates \@topnum \@toproom \R@toplist - \fi - \@inserttrue - \fi - \fi - \fi - \fi - \if@insert\else\@addtobot\fi -} -\def\@addtobot{% - \@getfpsbit 4\relax - \ifodd\@tempcnta - \@flsetnum\@botnum - \ifnum\@botnum>\z@ - \@tempswafalse - \@flcheckspace\@botroom\@botlist\L@botlist\R@botlist - \if@tempswa - \global\maxdepth\z@ - \if@firstcolumn - \@flupdates \@botnum \@botroom \L@botlist - \else - \@flupdates \@botnum \@botroom \R@botlist - \fi - \@inserttrue - \fi - \fi - \fi -} -\let\org@addtonextcol\@addtonextcol -\def\@addtonextcol{% - \ifdim\wd\@currbox>\columnwidth - \@addtodblcol - \else - \org@addtonextcol - \fi -} -\def\@addtodblcol{% - \begingroup - \@insertfalse - \@setfloattypecounts - \ifnum\@fpstype=8 % is only `!p' - \else - \ifnum\@fpstype=24 % is only `p' - \else - \@bitor\@currtype{\@dbldeferlist} - %\@bitor\@currtype{\@deferlist\@dbldeferlist} - \if@test - \else - \@tempswafalse - \@checkdblspace - \if@tempswa - \@addtodbltoporbot - \fi - \fi - \fi - \fi - \if@insert\else\@cons\@dbldeferlist\@currbox\fi - \endgroup -} -\def\@addtodbltoporbot{% - \@getfpsbit \tw@ - \ifodd\@tempcnta - \@flsetnum\@dbltopnum - \ifnum\@dbltopnum>\z@ - \@bitor\@currtype{% - \L@toplist\R@toplist\L@botlist\R@botlist\@dblbotlist} - \if@test - \else - \@tempswafalse - \@dblflcheckspace \@dbltoproom \@dbltoplist - \if@tempswa - \@tempdima-\ht\@currbox - \advance\@tempdima - -\ifx\@dbltoplist\@empty \dbltextfloatsep\else\dblfloatsep\fi - \global\advance\@dbltoproom\@tempdima - \global\advance\@dbltopnum\m@ne - \@cons\@dbltoplist\@currbox - \if@firstcolumn - \advance\@colroom\@tempdima - \global\advance\@colroom\maxdepth - \else - \@tempdima\textheight - \@chkdblfloatht\advance\@tempdima-\@floatht - \L@chkfloatht\advance\@tempdima-\@floatht - \vbadness=\@M \splittopskip=\topskip \splitmaxdepth=\maxdepth - \setbox\z@=\vbox{\unvcopy\@leftcolumn}% - \setbox\@ne=\vsplit\z@ to\@tempdima - \advance\@colroom-\ht\z@ - \global\advance\@colroom-\dp\z@ - \fi - \@inserttrue - \fi - \fi - \fi - \fi - \if@insert\else\@addtodblbot\fi -} -\def\@addtodblbot{% - \@getfpsbit 4\relax - \ifodd\@tempcnta - \@flsetnum\@botnum - \ifnum\@botnum>\z@ - \@tempswafalse - \@dblflcheckspace \@dbltoproom \@dbltoplist - \if@tempswa - \@tempdima-\ht\@currbox \advance\@tempdima - -\ifx\@dblbotlist\@empty \dbltextfloatsep\else\dblfloatsep\fi - \global\advance\@dblbotroom\@tempdima - \global\advance\@dblbotnum\m@ne - \@cons\@dblbotlist\@currbox - \if@firstcolumn - \advance\@colroom\@tempdima - \global\advance\@colroom\maxdepth - \else - \@tempdima\textheight - \@chkdblfloatht\advance\@tempdima-\@floatht - \L@chkfloatht\advance\@tempdima-\@floatht - \vbadness=\@M \splittopskip=\topskip \splitmaxdepth=\maxdepth - \setbox\z@=\vbox{\unvcopy\@leftcolumn}% - \setbox\@ne=\vsplit\z@ to\@tempdima - \advance\@colroom-\ht\z@ - \global\advance\@colroom-\dp\z@ - \fi - \@inserttrue - \fi - \fi - \fi -} -\global\newdimen\@floatht \@floatht\z@ -\def \@flcheckspace #1#2#3#4{% - \advance \@reqcolroom - \if@twocolumn - \if@firstcolumn - \ifx #3\@empty \textfloatsep \else \floatsep \fi - \else - \ifx #4\@empty \textfloatsep \else \floatsep \fi - \fi - \else - \ifx #2\@empty \textfloatsep \else \floatsep \fi - \fi - \ifdim \@colroom>\@reqcolroom - \ifdim #1>\ht\@currbox - \@tempswatrue - \else - \ifnum \@fpstype<\sixt@@n - \@tempswatrue - \fi - \fi - \fi -} -\def\@dblflcheckspace#1#2{% - \@tempdima=#1\relax - \advance\@tempdima - -\ifx #2\@empty \dbltextfloatsep\else\dblfloatsep\fi - \ifdim\@tempdima>\ht\@currbox - \@tempswatrue - \else - \ifnum\@fpstype<\sixt@@n - \advance\@tempdima\@textmin - \if \@tempdima>\ht\@currbox - \@tempswatrue - \fi - \fi - \fi -} -\def\@checkdblspace{% - \@tempdima\@pageht\advance\@tempdima\@pagedp - \@tempdimb\textfraction\@colht - \ifdim\@tempdima<\@tempdimb \@tempdima\@tempdimb\fi - \if@firstcolumn\else - \advance\@tempdima\ht\@leftcolumn - \advance\@tempdima\dp\@leftcolumn - \fi - \L@chkfloatht\advance\@tempdima\@floatht - \R@chkfloatht\advance\@tempdima\@floatht - \@chkdblfloatht\advance\@tempdima\tw@\@floatht - \@tempdimb\ht\@currbox\advance\@tempdimb\dp\@currbox - \advance\@tempdimb - \ifdim\@floatht>\z@ \dbltextfloatsep\else\dblfloatsep\fi - \multiply\@tempdimb\tw@ \advance\@tempdima\@tempdimb - \ifdim\@tempdima>\tw@\textheight - \@tempswafalse - \else - \@tempswatrue - \fi -} -\def\tmp@comflelt#1{% - \setbox\@tempboxa - \vbox{\unvbox\@tempboxa\copy #1\vskip\floatsep}% -} -\def\tmp@comdblflelt#1{% - \setbox\@tempboxa - \vbox{\unvbox\@tempboxa\copy #1\vskip\dblfloatsep}% -} -\def\L@chkfloatht{\@floatht\z@ - \ifx\L@toplist\@empty\else - \let\@elt\tmp@comflelt\setbox\@tempboxa\vbox{}\L@toplist - \setbox\@ne\vbox{\boxmaxdepth\maxdepth - \unvbox\@tempboxa\vskip-\floatsep\topfigrule\vskip\textfloatsep - }% - \let\@elt\relax \advance\@floatht\ht\@ne \advance\@floatht\dp\@ne - \fi - \ifx\L@botlist\@empty\else - \let\@elt\tmp@comflelt\setbox\@tempboxa\vbox{}\L@botlist - \setbox\@ne\vbox{\boxmaxdepth\maxdepth - \vskip\textfloatsep\botfigrule\unvbox\@tempboxa\vskip-\floatsep - }% - \let\@elt\relax \advance\@floatht\ht\@ne \advance\@floatht\dp\@ne - \fi - \global\@floatht\@floatht -} -\def\R@chkfloatht{\@floatht\z@ - \ifx\R@toplist\@empty\else - \let\@elt\tmp@comflelt\setbox\@tempboxa\vbox{}\R@toplist - \setbox\@ne\vbox{\boxmaxdepth\maxdepth - \unvbox\@tempboxa\vskip-\floatsep\topfigrule\vskip\textfloatsep - }% - \let\@elt\relax \advance\@floatht\ht\@ne \advance\@floatht\dp\@ne - \fi - \ifx\R@botlist\@empty\else - \let\@elt\tmp@comflelt\setbox\@tempboxa\vbox{}\R@botlist - \setbox\@ne\vbox{\boxmaxdepth\maxdepth - \vskip\textfloatsep\botfigrule\unvbox\@tempboxa\vskip-\floatsep - }% - \let\@elt\relax \advance\@floatht\ht\@ne \advance\@floatht\dp\@ne - \fi - \global\@floatht\@floatht -} -\def\@chkdblfloatht{\@floatht\z@ - \ifx\@dbltoplist\@empty\else - \let\@elt\tmp@comdblflelt\setbox\@tempboxa\vbox{}\@dbltoplist - \setbox\@ne\vbox{\boxmaxdepth\maxdepth - \unvbox\@tempboxa - \vskip-\dblfloatsep - \dblfigrule - \vskip\dbltextfloatsep - }% - \let\@elt\relax \advance\@floatht\ht\@ne \advance\@floatht\dp\@ne - \fi - \ifx\@dblbotlist\@empty\else - \let\@elt\tmp@comdblflelt\setbox\@tempboxa\vbox{}\@dblbotlist - \setbox\@ne\vbox{\boxmaxdepth\maxdepth - \vskip\dbltextfloatsep - \dblfigrule - \unvbox\@tempboxa - \vskip-\dblfloatsep - }% - \let\@elt\relax \advance\@floatht\ht\@ne \advance\@floatht\dp\@ne - \fi - \global\@floatht\@floatht -} -\global\newdimen\@fixht -\global\newdimen\@rightfixht -\def\@combinefloats{% - %%\boxmaxdepth\maxdepth - \if@twocolumn - \if@firstcolumn - \else - \@fixht\ht\@leftcolumn \advance\@fixht\dp\@leftcolumn - \@chkdblfloatht \@tempdima\@floatht - \L@chkfloatht \advance\@tempdima\@floatht - \advance\@fixht\@tempdima - \ifdim\@fixht>\textheight - \@fixht\textheight - \advance\@fixht-\@tempdima - \advance\@fixht\maxdepth - \vbadness=\@M \splittopskip=\topskip \splitmaxdepth=\maxdepth - \setbox\z@=\vsplit\@leftcolumn to\@fixht - \advance\@fixht-\maxdepth - \@tempdima\baselineskip \advance\@tempdima-\topskip - \setbox\@outputbox=\vbox{% - \ifvoid\@leftcolumn - \else - \unvbox\@leftcolumn\vskip\@tempdima - \fi\relax - \unvbox\@outputbox}% \vss moved from here - \setbox\@leftcolumn=\vbox to\@fixht{\unvbox\z@\vss}% to here (2017/05/01) - \fi - \@fixht\ht\@leftcolumn - \advance\@fixht\dp\@leftcolumn \advance\@fixht\@floatht - \@rightfixht\ht\@outputbox \advance\@rightfixht\dp\@outputbox - \@chkdblfloatht \@tempdima\@floatht - \R@chkfloatht \advance\@tempdima\@floatht - \advance\@rightfixht\@tempdima - \ifdim\@rightfixht>\textheight - \@rightfixht\textheight - \advance\@rightfixht-\@tempdima - \advance\@rightfixht\maxdepth - \vbadness=\@M \splittopskip=\topskip \splitmaxdepth=\maxdepth - \setbox\z@=\vsplit\@outputbox to\@rightfixht - \advance\@rightfixht-\maxdepth - \unvbox\@outputbox - \setbox\@outputbox=\vbox to\@rightfixht{\unvbox\z@\vss}% - \fi - \@rightfixht\ht\@outputbox - \advance\@rightfixht\dp\@outputbox \advance\@rightfixht\@floatht - \ifx\L@toplist\@empty\else\L@cflt\fi - \ifx\L@botlist\@empty\else\L@cflb\fi - \ifx\R@toplist\@empty\else\R@cflt\fi - \ifx\R@botlist\@empty\else\R@cflb\fi - \fi - \else - \ifx\@toplist\@empty\else\@cflt\fi - \ifx\@botlist\@empty\else\@cflb\fi - \fi -} -\def\L@cflt{% - \let\@elt\@comflelt\setbox\@tempboxa\vbox{}\L@toplist - \setbox\@leftcolumn\vbox to\@fixht{\boxmaxdepth\maxdepth - \unvbox\@tempboxa - \vskip-\floatsep\topfigrule\vskip\textfloatsep\unvbox\@leftcolumn - \vss}% - \let\@elt\relax - \xdef\@freelist{\@freelist\L@toplist}\global\let\L@toplist\@empty - \@colht\@fixht -} -\def\L@cflb{% - \let\@elt\@comflelt\setbox\@tempboxa\vbox{}\L@botlist - \setbox\@leftcolumn\vbox to\@fixht{\boxmaxdepth\maxdepth - \unvbox\@leftcolumn - \vskip\textfloatsep\botfigrule\unvbox\@tempboxa\vskip-\floatsep - \vss}% - \let\@elt\relax - \xdef\@freelist{\@freelist\L@botlist}\global\let\L@botlist\@empty - \@colht\@fixht -} -\def\R@cflt{% - \let\@elt\@comflelt\setbox\@tempboxa\vbox{}\R@toplist - \setbox\@outputbox\vbox to\@rightfixht{\boxmaxdepth\maxdepth - \unvbox\@tempboxa - \vskip-\floatsep\topfigrule\vskip\textfloatsep\unvbox\@outputbox - \vss}% - \let\@elt\relax - \xdef\@freelist{\@freelist\R@toplist}\global\let\R@toplist\@empty - \@colht\@rightfixht -} -\def\R@cflb{% - \let\@elt\@comflelt\setbox\@tempboxa\vbox{}\R@botlist - \setbox\@outputbox\vbox to\@rightfixht{\boxmaxdepth\maxdepth - \unvbox\@outputbox - \vskip\textfloatsep\botfigrule\unvbox\@tempboxa\vskip-\floatsep - \vss}% - \let\@elt\relax - \xdef\@freelist{\@freelist\R@botlist}\global\let\R@botlist\@empty - \@colht\@rightfixht -} -\def\@combinedblfloats{% - \ifx\@dbltoplist\@empty - \else - \let\@elt\@comdblflelt\setbox\@tempboxa\vbox{}\@dbltoplist - \setbox\@outputbox\vbox{\boxmaxdepth\maxdepth - \unvbox\@tempboxa - \vskip-\dblfloatsep - \dblfigrule - \vskip\dbltextfloatsep - \box\@outputbox}% - \let\@elt\relax\xdef\@freelist{\@freelist\@dbltoplist}% - \global\let\@dbltoplist\@empty - \fi - \ifx\@dblbotlist\@empty - \else - \let\@elt\@comdblflelt\setbox\@tempboxa\vbox{}\@dblbotlist - \setbox\@outputbox\vbox{\boxmaxdepth\maxdepth - \box\@outputbox - \vskip\dbltextfloatsep - \dblfigrule - \unvbox\@tempboxa - \vskip-\dblfloatsep - }% - \let\@elt\relax\xdef\@freelist{\@freelist\@dblbotlist}% - \global\let\@dblbotlist\@empty - \fi - \global\setbox\@outputbox\vbox to\textheight{\unvbox\@outputbox}% -} -\newif\if@balance \@balancefalse -\newbox\@combinebox -\def\@outputdblcol{% - \if@firstcolumn - \global\@firstcolumnfalse - \global\setbox\@leftcolumn\box\@outputbox - \@colht\textheight - \@chkdblfloatht\global\advance\@colht-\@floatht - \else - \global\@firstcolumntrue - \if@balance % 左右カラムを均等に分割 - \@tempdima\baselineskip - \advance\@tempdima-\topskip - % 連結 - \setbox\@combinebox=\vbox{% - \unvbox\@leftcolumn\vskip\@tempdima\unvbox\@outputbox}% - \@tempdima\ht\@combinebox - \advance\@tempdima\dp\@combinebox - \divide\@tempdima\tw@ - % 分割 - \vbadness=\@M \splittopskip=\topskip \splitmaxdepth=\maxdepth - \setbox\@leftcolumn=\vsplit\@combinebox to\@tempdima - \setbox\@outputbox=\vtop{\unvbox\@combinebox} - \setbox\@leftcolumn=\vtop{\unvbox\@leftcolumn} - \fi - % 整形 - \@tempdima\ht\@leftcolumn - \setbox\@outputbox\vbox to\@tempdima{% - \hb@xt@\textwidth{% - \hb@xt@\columnwidth{% - \vbox to\@tempdima{\box\@leftcolumn\vss}\hss}% - \hfil - \vrule width\columnseprule - \hfil - \hb@xt@\columnwidth{% - \vbox to\@tempdima{\box\@outputbox\vss}\hss}% - }% - \vss - }% - \@combinedblfloats - \@outputpage - \begingroup - \@dblfloatplacement - \@startdblcolumn - \@whilesw\if@fcolmade \fi{\@outputpage\@startdblcolumn}% - \endgroup - \fi - \global\@balancefalse -} -\def\@startdblcolumn{% - \global\@colht\textheight - \@tryfcolumn\@dbldeferlist - \if@fcolmade - \else - \begingroup - \let\reserved@b\@dbldeferlist - \global\let\@dbldeferlist\@empty - \let\@elt\@sdblcolelt - \reserved@b - \endgroup - \fi - \@chkdblfloatht - \global\advance\@colht-\@floatht -} -\def\@doclearpage{% - \ifvoid\footins - \setbox\@tempboxa\vsplit\@cclv to\z@ \unvbox\@tempboxa - \setbox\@tempboxa\box\@cclv - \xdef\@deferlist{% - \L@toplist\R@toplist\L@botlist\R@botlist\@deferlist}% - \global\let\L@toplist\@empty % changed from \@toplist - \global\let\R@toplist\@empty % added - \global\let\L@botlist\@empty % changed from \@botlist - \global\let\R@botlist\@empty % added - \global\@colroom\@colht - \ifx\@currlist\@empty - \else - \@latexerr{Float(s) lost}\@ehb - \global\let\@currlist\@empty - \fi - \@makefcolumn\@deferlist - \@whilesw\if@fcolmade \fi{\@opcol\@makefcolumn\@deferlist}% - \if@twocolumn - \if@firstcolumn - % added \@dblbotlist - \xdef\@dbldeferlist{\@dbltoplist\@dblbotlist\@dbldeferlist}% - \global\let\@dbltoplist\@empty - \global\let\@dblbotlist\@empty % added - \global\@colht\textheight - \begingroup - \@dblfloatplacement - \@makefcolumn\@dbldeferlist - \@whilesw\if@fcolmade \fi{\@outputpage - \@makefcolumn\@dbldeferlist}% - \endgroup - \else - \vbox{}\clearpage - \fi - \fi - \else - \setbox\@cclv\vbox{\box\@cclv\vfil}% - \@makecol\@opcol - \clearpage - \fi -} -\long\def\@topnewpage[#1]{% - %\@nodocument - \@next\@currbox\@freelist{}{}% - \global\setbox\@currbox - \color@vbox - \normalcolor - \vbox{\hsize\textwidth - \@parboxrestore - \col@number\@ne - #1% - \vskip-\dbltextfloatsep}% - \color@endbox - \ifdim\ht\@currbox>\textheight - \ht\@currbox\textheight - \fi - \global\count\@currbox\tw@ - \@tempdima-\ht\@currbox - \advance\@tempdima-\dbltextfloatsep - \global\advance\@colht\@tempdima - \ifx\@dbltoplist\@empty - \else - \@latexerr{Float(s) lost}\@ehb - \let\@dbltoplist\@empty - \fi - \@cons\@dbltoplist\@currbox - \global\@dbltopnum\m@ne - \global\@dblbotnum\m@ne % added - \ifdim\@colht<2.5\baselineskip - \@latex@warning@no@line {Optional argument of \noexpand\twocolumn - too tall on page \thepage}% - \@emptycol - \if@firstcolumn - \else - \@emptycol - \fi - \else - \global\vsize\@colht - \global\@colroom\@colht - \@floatplacement - \fi - %\global\@dbltoproom\maxdimen - %\global\@dblbotroom\maxdimen - %\@addtodblcol -} -\def\balancenewpage{\par\vfil\global\@balancetrue\penalty-\@M} -\def\balanceclearpage{\balancenewpage - \write\m@ne{}\vbox{}\global\@balancetrue\penalty-\@Mi} -\endinput -%% -%% End of file `nidanfloat.sty'. diff --git a/Master/texmf-dist/tex/platex/base/oldpfont.sty b/Master/texmf-dist/tex/platex/base/oldpfont.sty index 62959a461ba..268814fa58b 100644 --- a/Master/texmf-dist/tex/platex/base/oldpfont.sty +++ b/Master/texmf-dist/tex/platex/base/oldpfont.sty @@ -7,7 +7,7 @@ %% pl209.dtx (with options: `oldfonts') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/pfltrace.sty b/Master/texmf-dist/tex/platex/base/pfltrace.sty index 06459d11a23..a415580d4c8 100644 --- a/Master/texmf-dist/tex/platex/base/pfltrace.sty +++ b/Master/texmf-dist/tex/platex/base/pfltrace.sty @@ -7,7 +7,7 @@ %% plcore.dtx (with options: `fltrace,trace') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/pl209.def b/Master/texmf-dist/tex/platex/base/pl209.def index 68376e34600..d80c2cfe120 100644 --- a/Master/texmf-dist/tex/platex/base/pl209.def +++ b/Master/texmf-dist/tex/platex/base/pl209.def @@ -7,7 +7,7 @@ %% pl209.dtx (with options: `pl209') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/platex.ltx b/Master/texmf-dist/tex/platex/base/platex.ltx index 37c4e0d7eb4..b36a4958e81 100644 --- a/Master/texmf-dist/tex/platex/base/platex.ltx +++ b/Master/texmf-dist/tex/platex/base/platex.ltx @@ -7,7 +7,7 @@ %% platex.dtx (with options: `plcore') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -23,6 +23,11 @@ **************************} \makeatletter \input plcore.ltx +\InputIfFileExists{pldefs.cfg} + {\typeout{*************************************^^J% + * Local config file pldefs.cfg used^^J% + *************************************}}% + {\input{pldefs.ltx}} \the\everyjob \everyjob\expandafter{% \the\everyjob diff --git a/Master/texmf-dist/tex/platex/base/platexrelease.sty b/Master/texmf-dist/tex/platex/base/platexrelease.sty index 7f81f324a97..9ff963103b1 100644 --- a/Master/texmf-dist/tex/platex/base/platexrelease.sty +++ b/Master/texmf-dist/tex/platex/base/platexrelease.sty @@ -9,7 +9,7 @@ %% plfonts.dtx (with options: `platexrelease') %% plcore.dtx (with options: `platexrelease') %% -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -18,8 +18,16 @@ \edef\p@known@latexreleaseversion {2017/04/15} \edef\platexreleaseversion - {2017/10/28} -\def\plIncludeInRelease#1{\kernel@ifnextchar[% + {2018/03/09} +\newif\if@plincludeinrelease +\@plincludeinreleasefalse +\def\plIncludeInRelease#1{% + \if@plincludeinrelease + \PackageError{platexrelease} + {mis-matched \string\plIncludeInRelease}{}% + \@plincludeinreleasefalse + \fi + \kernel@ifnextchar[% {\@plIncludeInRelease{#1}} {\@plIncludeInRelease{#1}[#1]}} \def\@plIncludeInRelease#1[#2]{\@plIncludeInRele@se{#2}} @@ -32,6 +40,7 @@ \expandafter\expandafter\expandafter\@gobble@plIncludeInRelease \else \GenericInfo{}{Applying: \the\toks@}% + \@plincludeinreleasetrue \expandafter\let\csname\string#2+\@currname+plIIR\endcsname\@empty \fi \else @@ -39,12 +48,28 @@ \expandafter\@gobble@plIncludeInRelease \fi } -\long\def\@gobble@plIncludeInRelease#1\plEndIncludeInRelease{} -\let\plEndIncludeInRelease\relax +\def\plEndIncludeInRelease{% + \if@plincludeinrelease + \@plincludeinreleasefalse + \else + \PackageError{platexrelease} + {mis-matched \string\plEndIncludeInRelease}{}% + \fi} +\long\def\@gobble@plIncludeInRelease#1\plEndIncludeInRelease{% + \@plincludeinreleasefalse + \@check@plIncludeInRelease#1\plIncludeInRelease + \@check@plIncludeInRelease\@end@check@plIncludeInRelease} +\long\def\@check@plIncludeInRelease#1\plIncludeInRelease + #2#3\@end@check@plIncludeInRelease{% + \ifx\@check@plIncludeInRelease#2\else + \PackageError{platexrelease} + {skipped \string\plIncludeInRelease}{}% + \fi} %% File: platexrelease.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesPackage{platexrelease} - [2018/01/27 v1.0j latexrelease support for pLaTeX Kernel] + [2018/01/27 v1.0k latexrelease support for pLaTeX Kernel + (including releases up to \platexreleaseversion)] \RequirePackageWithOptions{latexrelease} \ifnum\expandafter\@parse@version\latexreleaseversion//00\@nil >\expandafter\@parse@version\p@known@latexreleaseversion//00\@nil @@ -522,6 +547,25 @@ of this package available from CTAN} \def\<{\inhibitglue} \plEndIncludeInRelease %% File: plcore.dtx +\plIncludeInRelease{2018/03/09}% + {\removejfmglue}{Macro added}% +\ifx\lastnodesubtype\@undefined + \let\removejfmglue\@undefined +\else + \def\pltx@gluetype{11} + \def\pltx@jfmgluesubtype{21} + \protected\def\removejfmglue{% + \ifnum\lastnodetype=\pltx@gluetype\relax + \ifnum\lastnodesubtype=\pltx@jfmgluesubtype\relax + \unskip + \fi + \fi} +\fi +\plEndIncludeInRelease +\plIncludeInRelease{0000/00/00}% + {\removejfmglue}{Macro added}% +\let\removejfmglue\@undefined +\plEndIncludeInRelease \plIncludeInRelease{2017/10/28}{\@no@lnbk} {Break before prebreakpenalty}% \def\@no@lnbk #1[#2]{% @@ -1126,6 +1170,58 @@ of this package available from CTAN} \@startfield \strut} \plEndIncludeInRelease +\plIncludeInRelease{2018/03/09}{\@tabclassz} + {Inhibit JFM glue in tabular cells}% +\ifx\removejfmglue\@undefined +\def\@tabclassz{% + \ifcase\@lastchclass + \@acolampacol + \or + \@ampacol + \or + \or + \or + \@addamp + \or + \@acolampacol + \or + \@firstampfalse\@acol + \fi + \edef\@preamble{% + \@preamble{% + \ifcase\@chnum + \hfil\mbox{\inhibitglue\ignorespaces\@sharp\unskip}\hfil % c + \or + \hskip1sp\mbox{\inhibitglue\ignorespaces\@sharp\unskip}\hfil % l + \or + \hfil\hskip1sp\mbox{\inhibitglue\ignorespaces\@sharp\unskip}% % r + \fi}}} +\else +\def\@tabclassz{% + \ifcase\@lastchclass + \@acolampacol + \or + \@ampacol + \or + \or + \or + \@addamp + \or + \@acolampacol + \or + \@firstampfalse\@acol + \fi + \edef\@preamble{% + \@preamble{% + \ifcase\@chnum + \hfil\inhibitglue\ignorespaces\@sharp\unskip\removejfmglue\hfil % c + \or + \hskip1sp\inhibitglue\ignorespaces\@sharp\unskip\removejfmglue\hfil % l + \or + \hfil\hskip1sp\inhibitglue\ignorespaces\@sharp\unskip\removejfmglue % r + \fi}}} +\fi +\plEndIncludeInRelease \plIncludeInRelease{2017/09/26}{\@tabclassz} {Inhibit JFM glue in tabular cells}% \def\@tabclassz{% @@ -1204,6 +1300,11 @@ of this package available from CTAN} \hfil\hskip1sp\ignorespaces\@sharp\unskip \fi}}} \plEndIncludeInRelease +\plIncludeInRelease{2018/03/09}{\@classv} + {Inhibit JFM glue in tabular cells}% +\def\@classv{\@addtopreamble{\@startpbox{\@nextchar}\pltx@next@inhibitglue\ignorespaces +\@sharp\unskip\@endpbox}} +\plEndIncludeInRelease \plIncludeInRelease{2017/07/29}{\@classv} {Inhibit JFM glue in tabular cells}% \def\@classv{\@addtopreamble{\@startpbox{\@nextchar}\mbox{}\inhibitglue\ignorespaces @@ -1214,6 +1315,19 @@ of this package available from CTAN} \def\@classv{\@addtopreamble{\@startpbox{\@nextchar}\ignorespaces \@sharp\@endpbox}} \plEndIncludeInRelease +\plIncludeInRelease{2018/03/09}{\pltx@next@inhibitglue} + {Add \pltx@next@inhibitglue}% +\protected\def\pltx@next@inhibitglue{% + \ifhmode\inhibitglue\else + \edef\@tempa{\everypar{\inhibitglue + \everypar{\unexpanded\expandafter{\the\everypar}}% + \unexpanded\expandafter{\the\everypar}}}% + \@tempa\fi} +\plEndIncludeInRelease +\plIncludeInRelease{0000/00/00}{\pltx@next@inhibitglue} + {Add \pltx@next@inhibitglue}% +\let\pltx@next@inhibitglue\@undefined +\plEndIncludeInRelease \plIncludeInRelease{2016/04/17}{\@tabular} {Remove extra \xkanjiskip}% \def\@tabular{\leavevmode \null\hbox \bgroup $\let\@acol\@tabacol @@ -1294,6 +1408,21 @@ of this package available from CTAN} \ifmmode\@@underline{#1}% \else $\@@underline{\hbox{#1}}\m@th$\relax\fi} \plEndIncludeInRelease +\plIncludeInRelease{2018/03/09}% + {\e@alloc@chardef}{Extended Allocation (FAM256)}% +\ifx\omathchar\@undefined + \ifx\widowpenalties\@undefined + \mathchardef\e@alloc@top=255 + \let\e@alloc@chardef\chardef + \else + \mathchardef\e@alloc@top=32767 + \let\e@alloc@chardef\mathchardef + \fi +\else + \omathchardef\e@alloc@top=65535 + \let\e@alloc@chardef\omathchardef +\fi +\plEndIncludeInRelease \plIncludeInRelease{2016/11/29}% {\e@alloc@chardef}{Extended Allocation (FAM256)}% \ifx\omathchar\@undefined diff --git a/Master/texmf-dist/tex/platex/base/plcore.ltx b/Master/texmf-dist/tex/platex/base/plcore.ltx index 000ae2fb325..288406422f2 100644 --- a/Master/texmf-dist/tex/platex/base/plcore.ltx +++ b/Master/texmf-dist/tex/platex/base/plcore.ltx @@ -10,7 +10,7 @@ %% plvers.dtx (with options: `plfinal') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -18,10 +18,18 @@ %% File: plvers.dtx \def\pfmtname{pLaTeX2e} \def\pfmtversion - {2017/10/28} -\def\ppatch@level{4} + {2018/03/09} +\def\ppatch@level{0} \edef\platexBANNER{\the\everyjob\noexpand\typeout{}\relax}% save LaTeX banner -\def\plIncludeInRelease#1{\kernel@ifnextchar[% +\newif\if@plincludeinrelease +\@plincludeinreleasefalse +\def\plIncludeInRelease#1{% + \if@plincludeinrelease + \PackageError{platexrelease} + {mis-matched \string\plIncludeInRelease}{}% + \@plincludeinreleasefalse + \fi + \kernel@ifnextchar[% {\@plIncludeInRelease{#1}} {\@plIncludeInRelease{#1}[#1]}} \def\@plIncludeInRelease#1[#2]{\@plIncludeInRele@se{#2}} @@ -34,6 +42,7 @@ \expandafter\expandafter\expandafter\@gobble@plIncludeInRelease \else \GenericInfo{}{Applying: \the\toks@}% + \@plincludeinreleasetrue \expandafter\let\csname\string#2+\@currname+plIIR\endcsname\@empty \fi \else @@ -41,8 +50,23 @@ \expandafter\@gobble@plIncludeInRelease \fi } -\long\def\@gobble@plIncludeInRelease#1\plEndIncludeInRelease{} -\let\plEndIncludeInRelease\relax +\def\plEndIncludeInRelease{% + \if@plincludeinrelease + \@plincludeinreleasefalse + \else + \PackageError{platexrelease} + {mis-matched \string\plEndIncludeInRelease}{}% + \fi} +\long\def\@gobble@plIncludeInRelease#1\plEndIncludeInRelease{% + \@plincludeinreleasefalse + \@check@plIncludeInRelease#1\plIncludeInRelease + \@check@plIncludeInRelease\@end@check@plIncludeInRelease} +\long\def\@check@plIncludeInRelease#1\plIncludeInRelease + #2#3\@end@check@plIncludeInRelease{% + \ifx\@check@plIncludeInRelease#2\else + \PackageError{platexrelease} + {skipped \string\plIncludeInRelease}{}% + \fi} %% File: plfonts.dtx \let\k@encoding\@empty \let\ck@encoding\@empty @@ -659,11 +683,6 @@ \pltx@cond{\ifnum0\ifcat A\noexpand#21\fi\ifcat=\noexpand#21\fi>\z@}\fi {\@firstoftwo}{\@secondoftwo}% }{\@secondoftwo}} -\InputIfFileExists{pldefs.cfg} - {\typeout{*************************************^^J% - * Local config file pldefs.cfg used^^J% - *************************************}}% - {\input{pldefs.ltx}} %% File: plcore.dtx \def\NeedsTeXFormat#1{% \def\reserved@a{#1}% @@ -693,6 +712,18 @@ \def\documentstyle{% \makeatletter\input{pl209.def}\makeatother \documentclass} +\ifx\lastnodesubtype\@undefined + \let\removejfmglue\@undefined +\else + \def\pltx@gluetype{11} + \def\pltx@jfmgluesubtype{21} + \protected\def\removejfmglue{% + \ifnum\lastnodetype=\pltx@gluetype\relax + \ifnum\lastnodesubtype=\pltx@jfmgluesubtype\relax + \unskip + \fi + \fi} +\fi \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page \iftdir @@ -1023,6 +1054,7 @@ \newcommand\printglossary{\@input@{\jobname.gls}} \newcount\hour \newcount\minute +\ifx\removejfmglue\@undefined \def\@tabclassz{% \ifcase\@lastchclass \@acolampacol @@ -1046,8 +1078,39 @@ \or \hfil\hskip1sp\mbox{\inhibitglue\ignorespaces\@sharp\unskip}% % r \fi}}} -\def\@classv{\@addtopreamble{\@startpbox{\@nextchar}\mbox{}\inhibitglue\ignorespaces +\else +\def\@tabclassz{% + \ifcase\@lastchclass + \@acolampacol + \or + \@ampacol + \or + \or + \or + \@addamp + \or + \@acolampacol + \or + \@firstampfalse\@acol + \fi + \edef\@preamble{% + \@preamble{% + \ifcase\@chnum + \hfil\inhibitglue\ignorespaces\@sharp\unskip\removejfmglue\hfil % c + \or + \hskip1sp\inhibitglue\ignorespaces\@sharp\unskip\removejfmglue\hfil % l + \or + \hfil\hskip1sp\inhibitglue\ignorespaces\@sharp\unskip\removejfmglue % r + \fi}}} +\fi +\def\@classv{\@addtopreamble{\@startpbox{\@nextchar}\pltx@next@inhibitglue\ignorespaces \@sharp\unskip\@endpbox}} +\protected\def\pltx@next@inhibitglue{% + \ifhmode\inhibitglue\else + \edef\@tempa{\everypar{\inhibitglue + \everypar{\unexpanded\expandafter{\the\everypar}}% + \unexpanded\expandafter{\the\everypar}}}% + \@tempa\fi} \def\@tabular{\leavevmode \null\hbox \bgroup $\let\@acol\@tabacol \let\@classz\@tabclassz \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray} @@ -1085,13 +1148,8 @@ \let\e@alloc@chardef\mathchardef \fi \else - \ifx\enablecjktoken\@undefined % pTeX \omathchardef\e@alloc@top=65535 \let\e@alloc@chardef\omathchardef - \else % upTeX - \chardef\e@alloc@top=65535 - \let\e@alloc@chardef\chardef - \fi \fi \ifx\omathchar\@undefined \chardef\e@mathgroup@top=16 % LaTeX2e kernel standard diff --git a/Master/texmf-dist/tex/platex/base/pldefs.ltx b/Master/texmf-dist/tex/platex/base/pldefs.ltx index 147f0190c5a..8e9db2bb726 100644 --- a/Master/texmf-dist/tex/platex/base/pldefs.ltx +++ b/Master/texmf-dist/tex/platex/base/pldefs.ltx @@ -7,14 +7,14 @@ %% plfonts.dtx (with options: `pldefs,xpt') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- %% %% File: plfonts.dtx \ProvidesFile{pldefs.ltx} - [2017/11/06 v1.6j pLaTeX Kernel (Default settings)] + [2018/02/04 v1.6l pLaTeX Kernel (Default settings)] \DeclareKanjiEncodingDefaults{}{} \DeclareErrorKanjiFont{JY1}{mc}{m}{n}{10} \DeclareYokoKanjiEncoding{JY1}{}{} diff --git a/Master/texmf-dist/tex/platex/base/plext.sty b/Master/texmf-dist/tex/platex/base/plext.sty index fc28a40f256..91b85699afd 100644 --- a/Master/texmf-dist/tex/platex/base/plext.sty +++ b/Master/texmf-dist/tex/platex/base/plext.sty @@ -7,7 +7,7 @@ %% plext.dtx (with options: `package') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/plnews.cls b/Master/texmf-dist/tex/platex/base/plnews.cls new file mode 100644 index 00000000000..a39b6cbb991 --- /dev/null +++ b/Master/texmf-dist/tex/platex/base/plnews.cls @@ -0,0 +1,100 @@ +\NeedsTeXFormat{pLaTeX2e} +\ProvidesClass{plnews}[1997/02/01 v1.0a Standard pLaTeX class] + +\InputIfFileExists{polnews.cfg}% + {\ClassInfo{plnews}{Using local configuration file}}% + {\ClassInfo{plnews}{No local configuration file}} + +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{plnews}} +\ProcessOptions +\LoadClass[a4j,twocolumn,oneside]{jarticle} +\RequirePackage{shortvrb} +\MakeShortVerb{\|} +\setlength{\footskip}{15mm} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% \maketitle parameters. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\title{p\LaTeX~ニュース} +\newcommand{\@titlefont}{\normalfont\Huge} + +\newcommand{\publicationmonth}{\renewcommand{\@month}} +\newcommand{\@month}{\ClassError{ltnews} + {No \protect\publicationmonth~given}\@eha} + +\newcommand{\publicationyear}{\renewcommand{\@year}} +\newcommand{\@year}{\ClassError{ltnews} + {No \protect\publicationyear~given}\@eha} + +\newcommand{\publicationissue}{\renewcommand{\@issue}} +\newcommand{\@issue}{\ClassError{ltnews} + {No \protect\publicationissue~given}\@eha} +\newcommand{\issuename}{Issue} + +\renewcommand{\maketitle}{% + \twocolumn[{% + \parbox[t][7\baselineskip]{\textwidth}{% + \@titlefont\@title\hspace{3mm}% + \normalsize 第{\@issue}号\\[\medskipamount] + \normalfont{\@year}年{\@month}月~発行\\ + 作成者:\begin{tabular}[t]{l} + \@author + \end{tabular}% + }% + }]% +} + +\newcommand{\ps@titlepage}{% + \renewcommand{\@oddhead}{\hfill}% + \renewcommand{\@evenhead}{\hfill}% + \renewcommand{\@oddfoot}{\@title~第{\@issue}号\hfil\thepage}% + \renewcommand{\@evenfoot}{\@title~第{\@issue}号\hfil\thepage}% +} +\pagestyle{titlepage} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Sectioning +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\renewcommand{\section}{% + \@startsection{section}{1}{\z@} + {1.5\Cvs \@plus.6\Cvs \@minus.2\Cvs}% + {.5\Cvs \@plus.3\Cvs}{\reset@font\Large\bfseries} +} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Page Layout +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\setlength{\topmargin}{0pt} +\setlength{\headheight}{0pt} +\setlength{\headsep}{0pt} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% itemize +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\renewenvironment{itemize} + {\ifnum \@itemdepth >3\relax\@toodeep\else + \advance\@itemdepth\@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \expandafter + \list{\csname \@itemitem\endcsname}{% + \iftdir + \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip + \else\topsep\z@\fi + \labelwidth1zw \labelsep.3zw + \ifnum \@itemdepth =\@ne \leftmargin1zw\relax + \else\leftmargin\leftskip\fi + \advance\leftmargin 1zw + \fi + \parskip\z@ \itemsep\z@ \parsep\z@ % KN 1998/08/10 + \def\makelabel##1{\hss\llap{##1}}}% + \fi}{\endlist} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% misc. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\file#1{\textsf{#1}} +\def\option#1{\texttt{#1}} +\xspcode"5C=3 % \ +\xspcode"3C=3 % < +\xspcode"3E=3 % > + +\endinput diff --git a/Master/texmf-dist/tex/platex/base/ptrace.sty b/Master/texmf-dist/tex/platex/base/ptrace.sty index 013b7af7976..7f7d3836922 100644 --- a/Master/texmf-dist/tex/platex/base/ptrace.sty +++ b/Master/texmf-dist/tex/platex/base/ptrace.sty @@ -7,7 +7,7 @@ %% plfonts.dtx (with options: `trace') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/tarticle.cls b/Master/texmf-dist/tex/platex/base/tarticle.cls index 6593e6798e8..4fa11a3d2c1 100644 --- a/Master/texmf-dist/tex/platex/base/tarticle.cls +++ b/Master/texmf-dist/tex/platex/base/tarticle.cls @@ -7,7 +7,7 @@ %% jclasses.dtx (with options: `article,tate') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{tarticle} - [2017/09/19 v1.7g + [2018/02/04 v1.7h Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -124,6 +124,7 @@ \ProcessOptions\relax \input{tsize1\@ptsize.clo} \RequirePackage{plext} +\def\Cjascale{0.962216} \if@stysize \setlength\columnsep{3\Cwd} \else diff --git a/Master/texmf-dist/tex/platex/base/tarticle.sty b/Master/texmf-dist/tex/platex/base/tarticle.sty index 16792d49e90..60de890cf69 100644 --- a/Master/texmf-dist/tex/platex/base/tarticle.sty +++ b/Master/texmf-dist/tex/platex/base/tarticle.sty @@ -7,7 +7,7 @@ %% pl209.dtx (with options: `style,tarticle') %% %% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community +%% Copyright (c) 2016-2018 Japanese TeX Development Community %% %% This file is part of the pLaTeX2e system (community edition). %% ------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/platex/base/tascmac.sty b/Master/texmf-dist/tex/platex/base/tascmac.sty deleted file mode 100644 index 207bf51bd72..00000000000 --- a/Master/texmf-dist/tex/platex/base/tascmac.sty +++ /dev/null @@ -1,276 +0,0 @@ -%% -%% This is file `tascmac.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% ascmac.dtx (with options: `tascmac') -%% -%% Copyright (c) 2010 ASCII MEDIA WORKS -%% Copyright (c) 2016 Japanese TeX Development Community -%% -%% This file is part of the pLaTeX2e system (community edition). -%% ------------------------------------------------------------- -%% -%% "tascmac" document style option for tate gumi. -%% -%% Original version: -%% Copyright (C) by 1993, ASCII Corporation & Impress Corporation. -%% (Last update: 2006/07/14) -%% Modified by Japanese TeX Development Community, since 2016. -%% -%% (ChangeLog has moved to the source file ``ascmac.dtx'') -%% -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tascmac} - [2017/12/17 v2.0f - ascmac package (community edition) - ] -%% -%% Originally `ascmac' and `tascmac' can be used only in -%% pLaTeX, upLaTeX or LuaLaTeX with LuaTeX-ja support. -%% We (texjporg) started to support other engines, such as -%% pdfLaTeX, XeLaTeX and LuaLaTeX (even without LuaTeX-ja). -%% -\newif\ifascmac@ptex \ascmac@ptextrue -\ifx\kanjiskip\@undefined - \@ifpackageloaded{luatexja}{% - \PackageInfo{tascmac}{% - Patch from LuaTeX-ja will be applied}% - }{% - \PackageInfo{tascmac}{% - Assuming pdfLaTeX, XeLaTeX or LuaLaTeX}% - \ascmac@ptexfalse - }% -\fi -\chardef\ascmac@q@catcode=\catcode`\Q\relax -\ifascmac@ptex - \catcode`\Q=9\relax -\else - \catcode`\Q=14\relax -\fi -%% -%% Use Type1 font for ascgrp (pdfLaTeX, LuaLaTeX) -\ifascmac@ptex\else - \ifx\pdfextension\@undefined - \ifx\pdfmapline\@undefined\else - % pdfTeX, LuaTeX (<=0.81) - \pdfmapline{+ascgrp =0.85) - \pdfextension mapline{+ascgrp