From 9a54c5f23b8512956986fd84dc7253a7aa45c1fa Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 16 Mar 2018 21:29:48 +0000 Subject: platex (16mar18) git-svn-id: svn://tug.org/texlive/trunk@46986 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/platex/base/LICENSE | 6 +- Master/texmf-dist/doc/platex/base/README.md | 2 +- Master/texmf-dist/doc/platex/base/exppl2e.pdf | Bin 165049 -> 165049 bytes .../texmf-dist/doc/platex/base/platexrelease.pdf | Bin 121442 -> 121553 bytes Master/texmf-dist/doc/platex/base/pldoc.pdf | Bin 798011 -> 798709 bytes .../source/platex/base/platexrelease.dtx | 2 + Master/texmf-dist/source/platex/base/plcore.dtx | 8 +- Master/texmf-dist/source/platex/base/plnewsc09.tex | 81 +++++++++++++++++++++ Master/texmf-dist/source/platex/base/plvers.dtx | 2 +- Master/texmf-dist/tex/platex/base/exppl2e.sty | 9 ++- .../texmf-dist/tex/platex/base/platexrelease.sty | 6 +- Master/texmf-dist/tex/platex/base/plcore.ltx | 6 +- 12 files changed, 105 insertions(+), 17 deletions(-) create mode 100644 Master/texmf-dist/source/platex/base/plnewsc09.tex (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/platex/base/LICENSE b/Master/texmf-dist/doc/platex/base/LICENSE index c052ebeb9c0..dc26b0028a8 100644 --- a/Master/texmf-dist/doc/platex/base/LICENSE +++ b/Master/texmf-dist/doc/platex/base/LICENSE @@ -12,9 +12,9 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the name of platex nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. +* Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE diff --git a/Master/texmf-dist/doc/platex/base/README.md b/Master/texmf-dist/doc/platex/base/README.md index 49daab3fb2b..4b93f85235c 100644 --- a/Master/texmf-dist/doc/platex/base/README.md +++ b/Master/texmf-dist/doc/platex/base/README.md @@ -61,6 +61,6 @@ the 3-clause BSD license (see [LICENSE](./LICENSE)). ## Release Date -2018-03-09 +2018-03-16 Japanese TeX Development Community diff --git a/Master/texmf-dist/doc/platex/base/exppl2e.pdf b/Master/texmf-dist/doc/platex/base/exppl2e.pdf index afc156db405..6edfb0d3f7f 100644 Binary files a/Master/texmf-dist/doc/platex/base/exppl2e.pdf and b/Master/texmf-dist/doc/platex/base/exppl2e.pdf differ diff --git a/Master/texmf-dist/doc/platex/base/platexrelease.pdf b/Master/texmf-dist/doc/platex/base/platexrelease.pdf index 7e331901248..9351a4007f8 100644 Binary files a/Master/texmf-dist/doc/platex/base/platexrelease.pdf and b/Master/texmf-dist/doc/platex/base/platexrelease.pdf differ diff --git a/Master/texmf-dist/doc/platex/base/pldoc.pdf b/Master/texmf-dist/doc/platex/base/pldoc.pdf index 6d7eda7ff80..6964de7ce4b 100644 Binary files a/Master/texmf-dist/doc/platex/base/pldoc.pdf and b/Master/texmf-dist/doc/platex/base/pldoc.pdf differ diff --git a/Master/texmf-dist/source/platex/base/platexrelease.dtx b/Master/texmf-dist/source/platex/base/platexrelease.dtx index ebfd5305369..3ed5b4dc385 100644 --- a/Master/texmf-dist/source/platex/base/platexrelease.dtx +++ b/Master/texmf-dist/source/platex/base/platexrelease.dtx @@ -313,6 +313,8 @@ of this package available from CTAN} some critical bugs. We advise you to\MessageBreak select another format date} \plIncludeInRelease{2017/10/28}{\PackageWarning}{pLaTeX Info}% + % * <2018/03/09>+1 + % * <2018/03/09> % * <2017/10/28>+4 \plEndIncludeInRelease \plIncludeInRelease{2017/07/29}{\PackageWarning}{pLaTeX Info}% diff --git a/Master/texmf-dist/source/platex/base/plcore.dtx b/Master/texmf-dist/source/platex/base/plcore.dtx index f15de60e8e7..dd8137673d7 100644 --- a/Master/texmf-dist/source/platex/base/plcore.dtx +++ b/Master/texmf-dist/source/platex/base/plcore.dtx @@ -85,13 +85,14 @@ % \changes{v1.2x}{2018/03/01}{\cs{removejfmglue}があれば利用するようにした} % \changes{v1.2x}{2018/03/01}{セル最初の\cs{par}で空行が入らないようにした} % \changes{v1.2x}{2018/03/01}{\cs{everypar}に\cs{inhibitglue}を仕込むマクロ追加} +% \changes{v1.2y}{2018/03/12}{\cs{inhibitglue}を\cs{everypar}の末尾に移動} % \fi % % \iffalse %<*driver> \NeedsTeXFormat{pLaTeX2e} % \fi -\ProvidesFile{plcore.dtx}[2018/03/01 v1.2x pLaTeX core file] +\ProvidesFile{plcore.dtx}[2018/03/12 v1.2y pLaTeX core file] % \iffalse \documentclass{jltxdoc} \GetFileInfo{plcore.dtx} @@ -1857,15 +1858,16 @@ % 水平モードであればそのまま|\inhibitglue|を発行し、それ以外であれば % |\everypar|内に|\inhibitglue|を仕込みます。 % \changes{v1.2x}{2018/03/01}{\cs{everypar}に\cs{inhibitglue}を仕込むマクロ追加} +% \changes{v1.2y}{2018/03/12}{\cs{inhibitglue}を\cs{everypar}の末尾に移動} % \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 + \edef\@tempa{\everypar{% \everypar{\unexpanded\expandafter{\the\everypar}}% - \unexpanded\expandafter{\the\everypar}}}% + \unexpanded\expandafter{\the\everypar}\inhibitglue}}% \@tempa\fi} % %\plEndIncludeInRelease diff --git a/Master/texmf-dist/source/platex/base/plnewsc09.tex b/Master/texmf-dist/source/platex/base/plnewsc09.tex new file mode 100644 index 00000000000..3944f5ec7e6 --- /dev/null +++ b/Master/texmf-dist/source/platex/base/plnewsc09.tex @@ -0,0 +1,81 @@ +%% <2018/03/09> +\documentclass{plnews} + +\publicationyear{2018}% 発行年 +\publicationmonth{03}% 発行月 +\publicationissue{c9}% 番号 +\author{日本語\TeX{}開発コミュニティ(\texttt{https://texjp.org/})} + +\def\cs#1{\texttt{\char92 #1}} +\def\pTeX{p\kern-.15em\TeX} +\def\eTeX{$\varepsilon$-\TeX} +\def\epTeX{$\varepsilon$-\pTeX} +\def\pLaTeX{p\kern-.05em\LaTeX} +\def\pLaTeXe{p\kern-.05em\LaTeXe} + +\begin{document} + +\maketitle + +この文書はコミュニティ版\pLaTeXe\ \texttt{<2018/03/09>}について、 +\pLaTeXe\ \texttt{<2017/10/28>}からの更新箇所をまとめたものです。 + + +\section{tabular環境の改良} +\pLaTeXe\ \texttt{<2017/07/29>}で導入した|tabular|環境の修正方針を +転換し、より\LaTeXe{}との互換性を高めました。具体的には +\begin{verbatim} + \begin{tabular}{p{5cm}} + A\\ + \relax\par + A + \end{tabular} +\end{verbatim} +のようなソースで余分な空行が入らないようにしました。 +これを実現するために後述する|\removejfmglue|命令を使用しています。 + + +\section{\cs{removejfmglue}命令の追加} +\<「最後のノードがJFM グルーであった場合にそれを削除する」という機能を +持つ|\removejfmglue|命令を追加しました。ただし、これは\epTeX\ 180226以降に +実装された|\lastnodesubtype|というプリミティブが利用可能な場合のみ使えます。 + + +\section{和文スケール値の新規約} +日本語用クラスファイルの新たな共通規約として、新たに +「クラスファイルが意図する和文スケール値 +($1\,\mathrm{zw} \div \textmc{要求サイズ}$)」 +を数値マクロ|\Cjascale|で定義することにしました。今後は +\begin{itemize} +\item 日本語クラスファイルの作成者は、 + 原則として|\Cjascale|を和文スケール値に設定する。 +\item 日本語フォントを変更するパッケージなどの作者は、 + 原則としてクラスファイルが定める|\Cjascale|を参照する。 +\end{itemize} +という運用を推奨します。 + + +\section{\pLaTeX{}とu\pLaTeX{}の共通化} +2016年以降、\pLaTeX{}とu\pLaTeX{}をともに日本語\TeX{}開発コミュニティが +管理するようになったことから、\TeX\ Live 2018以降では\pLaTeX{}と +u\pLaTeX{}のフォーマット作成時に使われる|.ltx|ファイル群を +大幅に共通化しました。これにより、従来はu\pLaTeX{}を\pLaTeX{}と独立に +インストールすることができましたが、今後はu\pLaTeX{}が\pLaTeX{}に +依存することになります。 + + +\section{開発版のテストのお願い} +今後\pLaTeX{}に導入するかもしれない修正パッチや仕様変更のテストにご協力くだ +さい。\TeX{}ファイルの冒頭(|\documentclass|より前)で +\begin{verbatim} + \RequirePackage{exppl2e} +\end{verbatim} +と書くことで、開発版をテストすることができます。 +バグ報告やご意見を歓迎します。 +\TeX\ ForumやGitHubのIssueシステムが利用できます。 +\begin{itemize} +\item \texttt{https://github.com/texjporg/platex} +\item \texttt{https://github.com/texjporg/uplatex} +\end{itemize} + +\end{document} diff --git a/Master/texmf-dist/source/platex/base/plvers.dtx b/Master/texmf-dist/source/platex/base/plvers.dtx index 421ed0a6a93..2550dc18048 100644 --- a/Master/texmf-dist/source/platex/base/plvers.dtx +++ b/Master/texmf-dist/source/platex/base/plvers.dtx @@ -139,7 +139,7 @@ {2018/03/09} % %<*plcore> -\def\ppatch@level{0} +\def\ppatch@level{1} % % \end{macrocode} % \end{macro} diff --git a/Master/texmf-dist/tex/platex/base/exppl2e.sty b/Master/texmf-dist/tex/platex/base/exppl2e.sty index eaaf3bc6538..ed4430d05a3 100644 --- a/Master/texmf-dist/tex/platex/base/exppl2e.sty +++ b/Master/texmf-dist/tex/platex/base/exppl2e.sty @@ -2,7 +2,7 @@ % % This is file `exppl2e.sty', for experimental pLaTeX2e. % -% Copyright (c) 2016-2017 Japanese TeX Development Community +% Copyright (c) 2016-2018 Japanese TeX Development Community % % This file is part of the pLaTeX2e system (community edition). % ------------------------------------------------------------- @@ -34,7 +34,7 @@ % case 1: This file must be a normal package \NeedsTeXFormat{pLaTeX2e} \ProvidesPackage{exppl2e} - [2017/12/06 v1.0r Experimental pLaTeX2e features] + [2018/03/12 v1.0t Experimental pLaTeX2e features] \PackageWarningNoLine{exppl2e}{% This is the unstable, experimental part of pLaTeX2e.\MessageBreak This package may contain:\MessageBreak @@ -542,15 +542,16 @@ % 水平モードであればそのまま|\inhibitglue|を発行し、それ以外であれば % |\everypar|内に|\inhibitglue|を仕込みます。 % \changes{v1.2x}{2018/03/01}{\cs{everypar}に\cs{inhibitglue}を仕込むマクロ追加} +% \changes{v1.2y}{2018/03/12}{\cs{inhibitglue}を\cs{everypar}の末尾に移動} % \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 + \edef\@tempa{\everypar{% \everypar{\unexpanded\expandafter{\the\everypar}}% - \unexpanded\expandafter{\the\everypar}}}% + \unexpanded\expandafter{\the\everypar}\inhibitglue}}% \@tempa\fi} % %\plEndIncludeInRelease diff --git a/Master/texmf-dist/tex/platex/base/platexrelease.sty b/Master/texmf-dist/tex/platex/base/platexrelease.sty index 9ff963103b1..619c40ecb90 100644 --- a/Master/texmf-dist/tex/platex/base/platexrelease.sty +++ b/Master/texmf-dist/tex/platex/base/platexrelease.sty @@ -131,6 +131,8 @@ of this package available from CTAN} some critical bugs. We advise you to\MessageBreak select another format date} \plIncludeInRelease{2017/10/28}{\PackageWarning}{pLaTeX Info}% + % * <2018/03/09>+1 + % * <2018/03/09> % * <2017/10/28>+4 \plEndIncludeInRelease \plIncludeInRelease{2017/07/29}{\PackageWarning}{pLaTeX Info}% @@ -1319,9 +1321,9 @@ of this package available from CTAN} {Add \pltx@next@inhibitglue}% \protected\def\pltx@next@inhibitglue{% \ifhmode\inhibitglue\else - \edef\@tempa{\everypar{\inhibitglue + \edef\@tempa{\everypar{% \everypar{\unexpanded\expandafter{\the\everypar}}% - \unexpanded\expandafter{\the\everypar}}}% + \unexpanded\expandafter{\the\everypar}\inhibitglue}}% \@tempa\fi} \plEndIncludeInRelease \plIncludeInRelease{0000/00/00}{\pltx@next@inhibitglue} diff --git a/Master/texmf-dist/tex/platex/base/plcore.ltx b/Master/texmf-dist/tex/platex/base/plcore.ltx index 288406422f2..8d723a272a8 100644 --- a/Master/texmf-dist/tex/platex/base/plcore.ltx +++ b/Master/texmf-dist/tex/platex/base/plcore.ltx @@ -19,7 +19,7 @@ \def\pfmtname{pLaTeX2e} \def\pfmtversion {2018/03/09} -\def\ppatch@level{0} +\def\ppatch@level{1} \edef\platexBANNER{\the\everyjob\noexpand\typeout{}\relax}% save LaTeX banner \newif\if@plincludeinrelease \@plincludeinreleasefalse @@ -1107,9 +1107,9 @@ \@sharp\unskip\@endpbox}} \protected\def\pltx@next@inhibitglue{% \ifhmode\inhibitglue\else - \edef\@tempa{\everypar{\inhibitglue + \edef\@tempa{\everypar{% \everypar{\unexpanded\expandafter{\the\everypar}}% - \unexpanded\expandafter{\the\everypar}}}% + \unexpanded\expandafter{\the\everypar}\inhibitglue}}% \@tempa\fi} \def\@tabular{\leavevmode \null\hbox \bgroup $\let\@acol\@tabacol \let\@classz\@tabclassz -- cgit v1.2.3