From 222983be38ba4303d38271934e2d248bae9d1e18 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 1 Dec 2018 22:46:14 +0000 Subject: platex (1dec18) git-svn-id: svn://tug.org/texlive/trunk@49292 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/platex/base/README.md | 2 +- .../texmf-dist/doc/platex/base/README2_asciimw.txt | 59 ------- .../texmf-dist/doc/platex/base/README_asciimw.txt | 170 --------------------- Master/texmf-dist/doc/platex/base/exppl2e.pdf | Bin 144333 -> 171445 bytes Master/texmf-dist/doc/platex/base/pldoc.pdf | Bin 824845 -> 840422 bytes Master/texmf-dist/source/platex/base/jclasses.dtx | 16 +- .../source/platex/base/platexrelease.dtx | 1 + Master/texmf-dist/source/platex/base/plcore.dtx | 65 +++++++- Master/texmf-dist/source/platex/base/plext.dtx | 47 ++++-- Master/texmf-dist/source/platex/base/plfonts.dtx | 13 ++ Master/texmf-dist/source/platex/base/plnewsc12.tex | 69 +++++++++ Master/texmf-dist/source/platex/base/plvers.dtx | 84 +++++----- Master/texmf-dist/tex/platex/base/exppl2e.sty | 88 ++++++++++- Master/texmf-dist/tex/platex/base/jarticle.cls | 8 +- Master/texmf-dist/tex/platex/base/jbk10.clo | 2 +- Master/texmf-dist/tex/platex/base/jbk11.clo | 2 +- Master/texmf-dist/tex/platex/base/jbk12.clo | 2 +- Master/texmf-dist/tex/platex/base/jbook.cls | 8 +- Master/texmf-dist/tex/platex/base/jreport.cls | 8 +- Master/texmf-dist/tex/platex/base/jsize10.clo | 2 +- Master/texmf-dist/tex/platex/base/jsize11.clo | 2 +- Master/texmf-dist/tex/platex/base/jsize12.clo | 2 +- .../texmf-dist/tex/platex/base/platexrelease.sty | 15 +- Master/texmf-dist/tex/platex/base/plcore.ltx | 25 +-- Master/texmf-dist/tex/platex/base/plext.sty | 9 +- Master/texmf-dist/tex/platex/base/tarticle.cls | 8 +- Master/texmf-dist/tex/platex/base/tbk10.clo | 2 +- Master/texmf-dist/tex/platex/base/tbk11.clo | 2 +- Master/texmf-dist/tex/platex/base/tbk12.clo | 2 +- Master/texmf-dist/tex/platex/base/tbook.cls | 8 +- Master/texmf-dist/tex/platex/base/treport.cls | 8 +- Master/texmf-dist/tex/platex/base/tsize10.clo | 2 +- Master/texmf-dist/tex/platex/base/tsize11.clo | 2 +- Master/texmf-dist/tex/platex/base/tsize12.clo | 2 +- 34 files changed, 384 insertions(+), 351 deletions(-) delete mode 100644 Master/texmf-dist/doc/platex/base/README2_asciimw.txt delete mode 100644 Master/texmf-dist/doc/platex/base/README_asciimw.txt create mode 100644 Master/texmf-dist/source/platex/base/plnewsc12.tex (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/platex/base/README.md b/Master/texmf-dist/doc/platex/base/README.md index 3f1f661f4bc..b365a0b735f 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-09-22 +2018-12-01 Japanese TeX Development Community diff --git a/Master/texmf-dist/doc/platex/base/README2_asciimw.txt b/Master/texmf-dist/doc/platex/base/README2_asciimw.txt deleted file mode 100644 index d0873d03620..00000000000 --- a/Master/texmf-dist/doc/platex/base/README2_asciimw.txt +++ /dev/null @@ -1,59 +0,0 @@ -==================================================-*-indented-text-*-= - 注意 -====================================================================== - -現在の pTeX では、8 ビットコードの連続は 16 ビットコードと認識 -される可能性があります。そのため、フランス語やキリル文字などの 8 ビッ -トコードの連続する TeX ソースやハイフンパターンはまず使えせん。 - -そのため、pLaTeX2e では $TEXMF/tex/platex/base/ ディレクトリに -hyphen.cfg を用意して、不用意に他のハイフンパターンを読み込まないよう -に対策を施してあります。 - -この hyphen.cfg を他の名前 (phyphen.cfg など) に変更して、他の -hyphen.cfg を使うなどとして標準以外のハイフンパターンを読み込んだ場合、 -漢字コードと一致したときはそのまま漢字コードと認識し、漢字コードと一致 -しない場合はエラーとなる場合があります。例えば cmcyralt パッケージでは、 -途中でつぎのようなエラーになります。 - -==== -(/prj/ptex-cd/share/texmf/tex/latex/contrib/other/cmcyralt/rhy -phen.tex Russian hyphenation -! Bad \patterns. -l.107 . え - 2 -? -==== - -このときは、“?”のプロンプトに対して“x”で終了してください。残念なが -ら、このハイフンパターンは pTeX では利用できません。 - - -[babel パッケージを利用する場合] - -SJIS の pTeX でフランス語のハイフンパターンを利用すると、フォーマット -ファイル作成時に上述のようなエラーが起こることが分かっています。やはり、 -8 ビットコードの連続が 16 ビットコードと誤認されてしまうためです。 - -それでも、babel パッケージを pLaTeX で利用する際は、まず -$TEXMF/tex/platex/base/ の hyphen.cfg を他の phyphen.cfg などの名前に -変えて、babel パッケージの hyphen.cfg が使われるようにしておいてくださ -い。その後は、babel パッケージの install.txt の記述に従って、インストー -ル作業を行ってください。 - -インストール作業中に、8 ビットコードの並びを 16 ビットコードと誤認して、 -途中で、上述のようなエラーになることがあるかもしれません。 - -このときは、“?”のプロンプトに対して“x”で終了してください。残念なが -ら、このハイフォネーションパターンは pTeX では利用できません。 - -language.dat からエラーの出たハイフンパターンを削除して、エラーのでな -いハイフォネーションパターンだけを選択してから、もう一度フォーマットファ -イルを作り直してください。 - -フォーマットファイルが正常に作られても、8 ビットコードの連続が漢字コー -ドと認識されたり、エラーが出るなどの似た現象が、LaTeX ソースを処理する -際に起こる可能性もあります。 - -== -富樫 秀昭 diff --git a/Master/texmf-dist/doc/platex/base/README_asciimw.txt b/Master/texmf-dist/doc/platex/base/README_asciimw.txt deleted file mode 100644 index 87aeb5c13ad..00000000000 --- a/Master/texmf-dist/doc/platex/base/README_asciimw.txt +++ /dev/null @@ -1,170 +0,0 @@ -=========================================================================== - pLaTeX2e <2006/01/04> - - Copyright 1995-2006 ASCII Corporation -=========================================================================== - ---------------------------------------------------------------------------- -● pLaTeX2e について ---------------------------------------------------------------------------- - * pLaTeX2e <2006/01/04> 版は LaTeX2e <2003/12/01> 版に対応しています。 - - * pLaTeX2e は、 TeX バージョン 3.1415 以降をベースにした pTeX で動作をし - ます。それ以外の TeX では動作しませんので、ご注意ください。 - - * pLaTeX2e は、LaTeX2e に日本語の組版機能を追加したものです。 - LaTeX2e は、LaTeXの新しいバージョンであり、 従来の LaTeXバージョン2.09 - とは内部構造が大きく異なっています。 そのため、バージョン2.09 との互換 - 性は「互換モード」という形で取っています。pLaTeX2eも同様に、バージョン - 2.09をベースにした、 jLaTeX および pLaTeX との互換性は互換モードで対処 - しています。旧バージョンとの互換性についての詳細は、pl209.dtx ファイル - を参照してください。 - ---------------------------------------------------------------------------- -● インストール ---------------------------------------------------------------------------- -pLaTeX2e をインストールするには、pTeX と LaTeX2e のファイルが必要です。 -このドキュメントでは、すでに pTeX がインストールされているものとして説 -明します。pTeX のインストールについては、pTeX に付属のドキュメントを参 -照してください。 pTeX のソースファイルは、以下のサイトなどから入手する -ことができます。 - - * ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ - * ftp://ftp.kuis.kyoto-u.ac.jp/TeX/ASCII-pTeX/ - * ftp://bash.cc.keio.ac.jp/pub/TeX/ascii-ptex/ - * ftp://ftp.ring.gr.jp/pub/text/TeX/ascii-ptex/ - -LaTeX2e は、CTAN サイトの macros/latex/base ディレクトリから入手するこ -とができます。主な CTAN サイトはつぎのとおりです。 - - * ftp://ftp.ring.gr.jp/pub/text/CTAN/ - * ftp://ftp.u-aizu.ac.jp/pub/tex/CTAN/ - * ftp://ftp.riken.go.jp/pub/tex-archive/ - * ftp://lab.kdd.co.jp/TeX/CTAN/ - * ftp://ftp.shsu.edu/tex-archive/ - * ftp://ftp.dante.de/tex-archive/ - * ftp://ftp.tex.ac.uk/tex-archive/ - -LaTeX2e では、デフォルトで EC エンコードのフォントが用いられています。 -EC エンコードのフォントは、CTAN サイトの fonts/ec ディレクトリにあります。 - -インストールは、つぎの順序で進めていきます。 - - 1. LaTeX2e のインストール - 2. pLaTeX2e のインストール - -LaTeX2e のインストールについての詳細は LaTeX2e に付属の install.txt を -参照してください。LaTeX 2.09 のシステムの保存方法なども述べられています。 -この文書では、インストール手順の概要だけ示します。 - -以前のバージョンの LaTeX2e や pLaTeX2e をインストールしてある場合は、 -以後の作業を進める前に、(必要ならばバックアップを取ってから)それらを -削除してください。デフォルトの設定でインストールしてある場合、 LaTeX2e -と pLaTeX2e は、それぞれ、つぎのディレクトリにあります。ここで、$TEXMF -は、TeX のライブラリディレクトリ(たとえば、/usr/local/share/texmf)を -意味します。 - - LaTeX2e --- $TEXMF/tex/latex/base - pLaTeX2e --- $TEXMF/ptex/platex/base - ----------------------------------------- -1. LaTeX2e のインストール ----------------------------------------- -(1) $TEXMF/fonts/public/ec ディレクトリに EC フォントのファイル置きます。 - DC フォントは削除してください。 - -(2) $TEXMF/tex/latex/base ディレクトリに LaTeX2e のファイルを置きます。 - ここで、各ファイルに書き込み許可があるかどうかを確認してください。 - ない場合は、chmod コマンドなどで、書き込み許可を与えてください。 - -(3) unpack.ins を処理します。 - - tex -ini unpack.ins - -(4) フォーマットファイルを作成します。 - - tex -ini latex.ltx - -(5) フォーマットファイルを移動します。 - - mv -f latex.fmt $TEXMF/web2c - -(6) 実行ファイルを作成します - - cd /usr/local/bin - ln -s tex latex - -(7) 正しくインストールできたかを確認するには、次のコマンドを実行します。 - - cd /tmp - latex ltxcheck - - 実行結果は ltxcheck.log に記録されています。正しくインストールされ - ていれば、すべてのテストが "OK" になります。エラーが表示された場合 - は、その指示に従って環境を構築し直します。 - ----------------------------------------- -2. pLaTeX2e のインストール ----------------------------------------- -(1) $TEXMF ディレクトリに ptex-texmf-*.tar.gz を展開します。 - -(2) フォーマットファイルを作成します。 - - ptex -ini platex.ltx - -(3) フォーマットファイルを移動します。 - - mv -f platex.fmt $TEXMF/web2c - -(4) 実行ファイルを作成します。 - - cd /usr/local/bin - ln -s ptex platex - -(5) ls-R ファイルを更新します。 - - mktexlsr - ---------------------------------------------------------------------------- -● pLaTeX2e の文書ファイルについて ---------------------------------------------------------------------------- -pLaTeX2e のパッケージに含まれているファイルのうち、拡張子が .dtx のファイ -ルは、pLaTeX2e で定義をしているコマンドのソースコード、ソースコードの説明、 -コマンドの簡単な使い方などをまとめた文書ファイルです。.dtx ファイルは、直 -接、pLaTeX2e で処理できます。 - - platex platex.dtx - -また、pldoc.tex ファイルを処理すれば、すべての dtx ファイルをまとめて、一 -つの文書ファイルとして作成することもできます。 - - platex pldoc.tex - -pldoc.tex から pldoc.dvi を作成する手順は、platex.dtx ファイルで説明をして -います。UNIX 環境ならば、つぎの二行を実行するだけで、DVIファイルを作成する -ことができます。 - - platex Xins.ins - sh mkpldoc.sh - -なお、 pLaTeX2e の文書ファイル pldoc.tex から pldoc.dvi を作成するとき、索 -引の生成に mendex プログラムを用います。このとき、mendex 2.3g より古いバー -ジョンでは、索引ファイルの生成時にエラーとなりますので注意してください。 - ---------------------------------------------------------------------------- -● その他 ---------------------------------------------------------------------------- -pLaTeX2e で拡張された機能については platex.dtx を参照してください。 -LaTeX2e で拡張された機能については LaTeX2e の付属文書を参照してください。 -前回の版からの修正は、plnews*.tex や ltnews*.tex を参照してください。 - -pTeX と pLaTeX2e の最新情報は、 - pTeX ホームページ(http://www.ascii.co.jp/pb/ptex) -にて公開しています。 - -お問い合わせやバグレポートなどは、電子メールで www-ptex@ascii.co.jp 宛て -にお願いします。 - ---------------------------------------------------------------------------- -株式会社アスキー -=== EOT =================================================================== diff --git a/Master/texmf-dist/doc/platex/base/exppl2e.pdf b/Master/texmf-dist/doc/platex/base/exppl2e.pdf index 74e6f130889..4dcf242f067 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/pldoc.pdf b/Master/texmf-dist/doc/platex/base/pldoc.pdf index b278ab6743b..b78551254be 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/jclasses.dtx b/Master/texmf-dist/source/platex/base/jclasses.dtx index 2582ed42fcf..b3b99a53a2b 100644 --- a/Master/texmf-dist/source/platex/base/jclasses.dtx +++ b/Master/texmf-dist/source/platex/base/jclasses.dtx @@ -95,6 +95,8 @@ % \changes{v1.7g}{2017/09/19}{内部処理で使ったボックス0を空にした} % \changes{v1.7h}{2018/02/04}{和文スケール値\cs{Cjascale}を定義} % \changes{v1.8}{2018/07/03}{\cs{today}のデフォルトを和暦から西暦に変更} +% \changes{v1.8a}{2018/10/25}{ファイル書き出し時の行末文字対策 +% (sync with ltsect.dtx 2018/09/26 v1.1c)} % \fi % % \iffalse @@ -124,7 +126,7 @@ %<11pt&bk>\ProvidesFile{tbk11.clo} %<12pt&bk>\ProvidesFile{tbk12.clo} % - [2018/07/03 v1.8 + [2018/10/25 v1.8a % Standard pLaTeX class] %<10pt|11pt|12pt> Standard pLaTeX file (size option)] %<*driver> @@ -3883,7 +3885,7 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\@tocmarg} +% \begin{macro}{\@tocrmarg} % 複数行にわたる場合の右マージンです。 % \begin{macrocode} \newcommand{\@tocrmarg}{2.55em} @@ -3962,14 +3964,18 @@ % ^^A このコマンドによる影響はありません。 % % このマクロは\file{ltsect.dtx}で定義されています。 +% \changes{v1.8a}{2018/10/25}{ファイル書き出し時の行末文字対策 +% (sync with ltsect.dtx 2018/09/26 v1.1c)} % \begin{macrocode} +\providecommand*\protected@file@percent{} \def\addcontentsline#1#2#3{% \protected@write\@auxout {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble -%\@temptokena{\rensuji{\thepage}}}% -%\@temptokena{\thepage}}% +% \@temptokena{\rensuji{\thepage}}}% +% \@temptokena{\thepage}}% {\string\@writefile{#1}% - {\protect\contentsline{#2}{#3}{\the\@temptokena}}}% + {\protect\contentsline{#2}{#3}{\the\@temptokena}% + \protected@file@percent}}% } % \end{macrocode} % \end{macro} diff --git a/Master/texmf-dist/source/platex/base/platexrelease.dtx b/Master/texmf-dist/source/platex/base/platexrelease.dtx index cdba2211ab9..a04ccf9b445 100644 --- a/Master/texmf-dist/source/platex/base/platexrelease.dtx +++ b/Master/texmf-dist/source/platex/base/platexrelease.dtx @@ -324,6 +324,7 @@ 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-12-01> % * <2018-07-28>+1 % * <2018-07-28> % * <2018-05-20> diff --git a/Master/texmf-dist/source/platex/base/plcore.dtx b/Master/texmf-dist/source/platex/base/plcore.dtx index 01f03994153..024901cbb62 100644 --- a/Master/texmf-dist/source/platex/base/plcore.dtx +++ b/Master/texmf-dist/source/platex/base/plcore.dtx @@ -10,6 +10,19 @@ % % \fi % +% \iffalse +%<*driver> +\ifx\JAPANESEtrue\undefined + \expandafter\newif\csname ifJAPANESE\endcsname + \JAPANESEtrue +\fi +\def\eTeX{$\varepsilon$-\TeX} +\def\pTeX{p\kern-.15em\TeX} +\def\epTeX{$\varepsilon$-\pTeX} +\def\pLaTeX{p\kern-.05em\LaTeX} +\def\pLaTeXe{p\kern-.05em\LaTeXe} +% +% \fi % % \setcounter{StandardModuleDepth}{1} % \StopEventually{} @@ -98,13 +111,16 @@ % \changes{v1.2z}{2018/05/13}{\cs{@tombowreset@@paper}コマンドに分離} % \changes{v1.3}{2018/09/02}{\cs{removejfmglue}の挙動を明文化} % \changes{v1.3}{2018/09/02}{\file{platexrelease}バグ修正} +% \changes{v1.3a}{2018/10/31}{\LaTeXe{}とp\LaTeXe{}の更新タイミングずれ対策を +% \file{plvers.dtx} (plfinal) から\file{plcore.dtx}へ移動、latexrelease対策 +% (sync with ltfinal 2018/08/24 v2.1f)} % \fi % % \iffalse %<*driver> \NeedsTeXFormat{pLaTeX2e} % \fi -\ProvidesFile{plcore.dtx}[2018/09/02 v1.3 pLaTeX core file] +\ProvidesFile{plcore.dtx}[2018/10/31 v1.3a pLaTeX core file] % \iffalse \documentclass{jltxdoc} \GetFileInfo{plcore.dtx} @@ -895,7 +911,7 @@ % \end{macro} % % \begin{macro}{\maketombowbox} -% |\maketombow|コマンドは、トンボとなるボックスを作るために用います。 +% |\maketombowbox|コマンドは、トンボとなるボックスを作るために用います。 % このコマンドは、トンボとなるボックスを作るだけで、それらのボックスを % 出力するのではないことに注意をしてください。 % \changes{v1.2z}{2018/05/13}{bleed幅を\cs{@tombowbleed}に切り出し} @@ -2395,5 +2411,50 @@ % \end{macrocode} % \end{macro} % +% +% \section{\LaTeXe{}とp\LaTeXe{}の更新タイミングずれ対策} +% \changes{v1.3a}{2018/10/31}{\LaTeXe{}とp\LaTeXe{}の更新タイミングずれ対策を +% \file{plvers.dtx} (plfinal) から\file{plcore.dtx}へ移動、latexrelease対策 +% (sync with ltfinal 2018/08/24 v2.1f)} +% +% \begin{macro}{\l@nohyphenation} +% 通常はBabelのハイフネーション定義により提供されるパラメータです。 +% しかし、\LaTeXe\ 2017-04-15以降・p\LaTeXe\ 2017-04-08以降では、 +% |\verb|の途中でハイフネーションが起きないようにするために必須の +% ものとなりました。 +% \LaTeXe{}は特殊な状況も想定してltfinal.dtxで対策しているようですので、 +% p\LaTeXe{}も念のためここで対策します(参考:latex2e svn r1405)。 +% \begin{macrocode} +%<*plcore> +\ifx\l@nohyphenation \@undefined + \newlanguage\l@nohyphenation +\fi +% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\document@default@language} +% \LaTeXe\ 2017-04-15で導入されたパラメータですが、これに先立ち +% p\LaTeXe\ 2017-04-08でも使用しています。 +% verbatim環境の途中で +% 改ページが起きた場合にヘッダでハイフネーションが抑制されないように、 +% |\@outputpage|で|\language|をリセットするときに使われます +% (参考:latex2e svn r1407)。 +% \begin{macrocode} +%\plIncludeInRelease{2017/04/08}{\document@default@language}% +% {Save language for hyphenation}% +%<*plcore|platexrelease> +\ifx\document@default@language \@undefined + \let\document@default@language\m@ne +\fi +% +%\plEndIncludeInRelease +%\plIncludeInRelease{0000/00/00}{\document@default@language}% +% {Save language for hyphenation}% +%\let\document@default@language\@undefined +%\plEndIncludeInRelease +% \end{macrocode} +% \end{macro} +% % \Finale \endinput diff --git a/Master/texmf-dist/source/platex/base/plext.dtx b/Master/texmf-dist/source/platex/base/plext.dtx index 89c777796af..8dbce770027 100644 --- a/Master/texmf-dist/source/platex/base/plext.dtx +++ b/Master/texmf-dist/source/platex/base/plext.dtx @@ -77,6 +77,10 @@ % \cs{...@layoutc@ption}へ変更} % \changes{v1.2j}{2018/09/20}{Change \cs{@stabular} to \cs{p@stabular}, % to avoid conflict with \textsf{stabular} package} +% \changes{v1.2k}{2018/10/07}{キャプションのデフォルトの組方向をyからnへ +% 変更 (forum:2506, issue~76)} +% \changes{v1.2k}{2018/10/07}{キャプションの組み方向が基本組の組み方向と +% 直交する場合に、深さを忘れていたバグ修正 (forum:2506, issue~76)} % \fi % % \iffalse @@ -85,7 +89,7 @@ \ProvidesFile{plext.dtx} % %\ProvidesPackage{plext} - [2018/09/20 v1.2j pLaTeX package file (community edition)] + [2018/10/07 v1.2k pLaTeX package file (community edition)] %<*driver> \documentclass{jltxdoc} \usepackage{plext} @@ -539,21 +543,26 @@ % |\pcaption|コマンドでエラーが発せられます。 % このコマンドはプリアンブルでのみ、使用できます。 % -% \DescribeMacro\DeclareLayoutCaption % |\DeclareLayoutCaption|\meta{type}^^A % |<|\meta{dir}|>(|\meta{width}|)[|\meta{pos1}\meta{pos2}|]| % % コマンド引数を省略することはできません。 % \meta{dir}には、`|y|', `|t|', `|z|', `|n|'のいずれかを指定します。 % `|n|'と指定をすると、本文の組み方向と同じ方向でキャプションが組まれます。 -% これがデフォルトです。 +% これがデフォルトです。(補足:2018/09/20 v1.2jまでは、この説明に反して +% 実際のコードは`|y|'がデフォルトになっており、 +% 「日本語\LaTeXe{}ブック」にも`|y|'と書かれていましたが、 +% 後述の★のバグ修正に合わせ、2018/10/07 v1.2kで`|n|'に直しました。) % % \meta{width}には、キャプションを折り返す長さを指定します。 % `|(12zw)|'と指定をすると、漢字12文字分の長さで折り返されます。 -% `|(\floatwidth)|'と指定をすると、 -% キャプションの幅はフロートオブジェクトの幅となります。 -% これがデフォルトです。なお、`|(\floatheight)|'と指定をすると、 -% キャプションの幅はフロートオブジェクトの高さとなります。 +% デフォルトは|(.8\linewidth)|です。 +% ^^A (補足:2018/09/20 v1.2jまでは、ここの説明文だけ +% ^^A `|(\floatwidth)|'がデフォルトと書かれていましたが、 +% ^^A 実際のコード及び「日本語\LaTeXe{}ブック」に合わせました。) +% なお、キャプションの幅をフロートオブジェクトの幅に合わせる場合は +% `|(\floatwidth)|'と指定し、高さに合わせる場合は`|(\floatheight)|'と +% 指定します。 % % \meta{pos1}と\meta{pos2}には、キャプションを出力する位置を指定します。 % \meta{pos1}は、`|c|', `|t|', `|b|'のいずれかです。 @@ -577,9 +586,11 @@ \@onlypreamble\DeclareLayoutCaption % \end{macrocode} % \changes{v1.0h}{1996/03/13}{キャプション出力位置の初期値を設定} +% \changes{v1.2k}{2018/10/07}{キャプションのデフォルトの組方向をyからnへ +% 変更 (forum:2506, issue~76)} % \begin{macrocode} -\DeclareLayoutCaption{figure}(.8\linewidth)[cd] -\DeclareLayoutCaption{table}(.8\linewidth)[cu] +\DeclareLayoutCaption{figure}(.8\linewidth)[cd] +\DeclareLayoutCaption{table}(.8\linewidth)[cu] % \end{macrocode} % \end{macro} % @@ -707,11 +718,23 @@ % % キャプションを折り返さなくてもよい場合、|\@tempdima|をキャプションの長さに % します。ただし、キャプションの組み方向が基本組の組み方向と異なる場合 -% (|\@tempswa|が真)は、ボックス0の幅ではなく、高さに設定をします。 +% (|\@tempswa|が真)は、ボックス0の幅ではなく、高さに設定をします +% (p\TeX{}では同じボックスでも、組方向によって |\wd| と |\ht|+|\wd| の +% 返す寸法が異なることに注意)。 % |\captionwidth|の値が、キャプションの幅よりも長い場合、 % 折り返さなくてはなりませんので、|\@tempdima|を|\captionwidth|にします。 -% \begin{macrocode} - \if@tempswa \@tempdima\ht0 \else\@tempdima\wd0 \fi +% +% \noindent\emph{日本語\TeX{}開発コミュニティによる修正}: +% 2018/09/20 v1.2jまでは、キャプションの組方向が基本組の組み方向と +% 直交する場合に深さを考慮するのを忘れていたために、 +% 本来は折り返さずに済むはずの短いキャプションが、必ず折り返されて +% しまうというバグ(★)がありました。2018/10/07 v1.2kでこのバグを +% 修正したため、組版結果が大きく変わる場合があります。 +% \changes{v1.2k}{2018/10/07}{キャプションの組み方向が基本組の組み方向と +% 直交する場合に、深さを忘れていたバグ修正 (forum:2506, issue~76)} +% \begin{macrocode} + \if@tempswa \@tempdima\ht0 \advance\@tempdima\dp0 + \else \@tempdima\wd0 \fi \ifdim\@tempdima>\captionwidth \@tempdima\captionwidth \fi \@pboxswfalse \setbox0\hbox{\if@rotsw $\fi diff --git a/Master/texmf-dist/source/platex/base/plfonts.dtx b/Master/texmf-dist/source/platex/base/plfonts.dtx index a095566165b..78f54e1e6aa 100644 --- a/Master/texmf-dist/source/platex/base/plfonts.dtx +++ b/Master/texmf-dist/source/platex/base/plfonts.dtx @@ -10,6 +10,19 @@ % % \fi % +% \iffalse +%<*driver> +\ifx\JAPANESEtrue\undefined + \expandafter\newif\csname ifJAPANESE\endcsname + \JAPANESEtrue +\fi +\def\eTeX{$\varepsilon$-\TeX} +\def\pTeX{p\kern-.15em\TeX} +\def\epTeX{$\varepsilon$-\pTeX} +\def\pLaTeX{p\kern-.05em\LaTeX} +\def\pLaTeXe{p\kern-.05em\LaTeXe} +% +% \fi % % \setcounter{StandardModuleDepth}{1} % \StopEventually{} diff --git a/Master/texmf-dist/source/platex/base/plnewsc12.tex b/Master/texmf-dist/source/platex/base/plnewsc12.tex new file mode 100644 index 00000000000..b732bc0b546 --- /dev/null +++ b/Master/texmf-dist/source/platex/base/plnewsc12.tex @@ -0,0 +1,69 @@ +%% <2018-12-01> +\documentclass{plnews} + +\publicationyear{2018}% 発行年 +\publicationmonth{12}% 発行月 +\publicationissue{c12}% 番号 +\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-12-01>}について、 +\pLaTeXe\ \texttt{<2018-07-28>}からの更新箇所をまとめたものです。 + + +\section{\file{plext}のバグ修正} +\file{plext}パッケージが拡張する|\pcaption|命令について、 +下記の仕様変更とバグ修正を行いました。 +\begin{description} +\item[仕様変更] + 本文が縦組の時、キャプションも縦組にする。 + (従来は、本文の組方向によらず常にキャプションは横組 + になっていました。) +\item[バグ修正] + 本文が縦組で、キャプションを横組にする場合に + 「どんなに短いキャプションでも、幅を増やして + 一行に収めることができなかった」というバグの修正。 +\end{description} +詳細はGitHub issue 76及び\TeX\ forum 2506を参照してください。 + + +\section{\LaTeXe\ \texttt{<2018-12-01>}対応} +\LaTeXe\ \texttt{<2018-12-01>}では、 +「外部ファイルへの書き出しと読み込み」が絡む処理(目次など)で +\begin{quote} +書き出されたファイルの行末に空白文字があり、 +それに由来する不自然な空白が出力される場合があった +\end{quote} +という従来の挙動が修正され、不自然な空白が生じなくなります。 +このため、(u)\pLaTeX{}の標準クラスもこの修正に追随しました。 +詳細はGitHub issue 79を参照してください。 + + +\section{開発版のテストのお願い} +今後p\LaTeX{}に導入するかもしれない修正パッチや仕様変更のテストに +ご協力ください。\TeX{}ファイルの冒頭(|\documentclass|より前)で +\begin{verbatim} +\RequirePackage{exppl2e} +\end{verbatim} +と書くことで、現在の開発版をテストすることができます。 +現在は、支柱コマンドで用いられる|\strut|の挙動に関するパッチが +入っています。 + +詳細は\file{exppl2e.pdf}を参照してください。 +\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 4970216fe31..5ad8deaaa4a 100644 --- a/Master/texmf-dist/source/platex/base/plvers.dtx +++ b/Master/texmf-dist/source/platex/base/plvers.dtx @@ -10,6 +10,19 @@ % % \fi % +% \iffalse +%<*driver> +\ifx\JAPANESEtrue\undefined + \expandafter\newif\csname ifJAPANESE\endcsname + \JAPANESEtrue +\fi +\def\eTeX{$\varepsilon$-\TeX} +\def\pTeX{p\kern-.15em\TeX} +\def\epTeX{$\varepsilon$-\pTeX} +\def\pLaTeX{p\kern-.05em\LaTeX} +\def\pLaTeXe{p\kern-.05em\LaTeXe} +% +% \fi % % \setcounter{StandardModuleDepth}{1} % \StopEventually{} @@ -72,12 +85,16 @@ % 最初(plcore)に早めた} % \changes{v1.1l}{2018/04/09}{バナーの保存しかたを改良} % \changes{v1.1l}{2018/04/09}{バナーの再構築のしかたを改良} +% \changes{v1.1m}{2018/09/24}{バナーの再構築を簡略化} +% \changes{v1.1n}{2018/10/31}{\LaTeXe{}とp\LaTeXe{}の更新タイミングずれ対策を +% \file{plvers.dtx} (plfinal) から\file{plcore.dtx}へ移動} +% \changes{v1.1o}{2018/12/01}{\LaTeX\ \texttt{!<2018-12-01!>}版対応確認} % \fi % % \iffalse %<*driver> % \fi -\ProvidesFile{plvers.dtx}[2018/04/09 v1.1l pLaTeX Kernel (Version Info)] +\ProvidesFile{plvers.dtx}[2018/12/01 v1.1o pLaTeX Kernel (Version Info)] % \iffalse \documentclass{jltxdoc} \GetFileInfo{plvers.dtx} @@ -114,6 +131,7 @@ % \changes{v1.1a}{2017/02/20}{\LaTeX\ \texttt{!<2017/01/01!>}版対応確認} % \changes{v1.1c}{2017/04/23}{\LaTeX\ \texttt{!<2017-04-15!>}版対応確認} % \changes{v1.1j}{2018/04/07}{\LaTeX\ \texttt{!<2018-04-01!>}版対応確認} +% \changes{v1.1o}{2018/12/01}{\LaTeX\ \texttt{!<2018-12-01!>}版対応確認} % % このバージョンのp\LaTeXe{}は、次のバージョンの\LaTeX{}\footnote{% % \LaTeX\ authors: Johannes Braams, David Carlisle, Alan Jeffrey, @@ -127,14 +145,13 @@ %\edef\latexreleaseversion %\edef\p@known@latexreleaseversion %<*2ekernel|latexrelease|platexrelease> - {2018-04-01} + {2018-12-01} % % \end{macrocode} % % まず、次のバージョンの\LaTeX{}が利用可能なことを確認します。 % \LaTeXe\ 2017-04-15で、バージョン番号(日付)のフォーマットが -% YYYY/MM/DD形式からYYYY-MM-DDに変更され、またハイフネーションに関係する -% パラメータ|\document@default@language|等が導入されています。 +% YYYY/MM/DD形式からYYYY-MM-DDに変更されています。 % ^^A \LaTeXe\ 2017/01/01以降はe-\TeX{}必須になっています。 % \changes{v1.1i}{2018/03/31}{\LaTeXe\ 2017-04-15以降必須} % \begin{macrocode} @@ -169,10 +186,10 @@ % %\edef\platexreleaseversion %<*plcore|platexrelease> - {2018-07-28} + {2018-12-01} % %<*plcore> -\def\ppatch@level{1} +\def\ppatch@level{0} % % \end{macrocode} % \end{macro} @@ -259,6 +276,7 @@ % \changes{v1.1k}{2018/04/08}{バナー調節のコードを最後(plfinal)ではなく % 最初(plcore)に早めた} % \changes{v1.1l}{2018/04/09}{バナーの再構築のしかたを改良} +% \changes{v1.1m}{2018/09/24}{バナーの再構築を簡略化} % % まず、\LaTeXe{}のバージョン表示(|\typeout{LaTeX2e version}|)より % 前に実行されるコードがあれば、それを抽出して|\everyjob|に入れます。 @@ -266,9 +284,8 @@ % \begin{macrocode} %<*plcore> \begingroup - \def\parse@@BANNER\platexNILa#1\typeout#2#3\platexNILb{#1} - \toks0=\expandafter\expandafter\expandafter{% - \expandafter\parse@@BANNER\platexBANNER} + \def\platexNILa#1\typeout#2#3\platexNILb{#1} + \toks0=\expandafter\expandafter\expandafter{\platexBANNER} \global\everyjob\expandafter{\the\toks0}% \endgroup % \end{macrocode} @@ -285,9 +302,8 @@ %\ifx\ppatch@level\@undefined % fallback if undefined in pLaTeX % \def\ppatch@level{0}\fi \begingroup - \def\parse@@BANNER\platexNILa#1\typeout#2#3\platexNILb{#2} - \toks0=\expandafter\expandafter\expandafter{% - \expandafter\parse@@BANNER\platexBANNER} + \def\platexNILa#1\typeout#2#3\platexNILb{#2} + \toks0=\expandafter\expandafter\expandafter{\platexBANNER} \ifnum\ppatch@level=0 \toks2={\pfmtname\space<\pfmtversion>\space}% \else\ifnum\ppatch@level>0 @@ -309,9 +325,8 @@ % 元の\LaTeX{}のバナーから取得するコードを\file{platex.ini}から取り入れた} % \begin{macrocode} \begingroup - \def\parse@@BANNER\platexNILa#1\typeout#2#3\platexNILb{#3} - \toks0=\expandafter\expandafter\expandafter{% - \expandafter\parse@@BANNER\platexBANNER} + \def\platexNILa#1\typeout#2#3\platexNILb{#3} + \toks0=\expandafter\expandafter\expandafter{\platexBANNER} \edef\platexBANNER{\the\everyjob \the\toks0} \global\everyjob\expandafter{\platexBANNER}% \endgroup @@ -326,43 +341,18 @@ % \changes{v1.0z}{2016/08/26}{\file{platex.cfg}の読み込みを % \file{plcore.ltx}から\file{platex.ltx}へ移動} % -% \iffalse -% \subsection{ハイフネーション関連} -% -% \begin{macro}{\l@nohyphenation} -% \LaTeXe\ 2017-04-15で、|\verb|の途中でハイフネーションが起きないように -% する修正が入りました。この修正には|\l@nohyphenation|が定義済みでなければ -% なりませんが、通常はBabelの定義ファイルによって提供されています。 -% \LaTeXe{}は特殊な状況も想定してltfinalで対策しているようですので、 -% p\LaTeXe{}も念のためplfinalで対策します(参考:latex2e svn r1405)。 +% ^^A \LaTeXe{}とp\LaTeXe{}の更新タイミングずれ対策 +% ^^A (ハイフネーション関連パラメータの定義)は、 +% ^^A \file{plvers.dtx}から\file{plcore.dtx}へ移動しました。 % \changes{v1.1b}{2017/03/19}{\cs{l@nohyphenation}の定義を保証 % (sync with ltfinal 2017/03/09 v2.0t)} -% \begin{macrocode} -%<*plfinal> -%\ifx\l@nohyphenation \@undefined -% \newlanguage\l@nohyphenation -%\fi -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\document@default@language} -% \LaTeXe\ 2017-04-15で導入されたパラメータです。更新タイミングのずれの -% 可能性を考慮し、p\LaTeXe{}でも準備しておきます。verbatim環境の途中で -% 改ページが起きた場合にヘッダでハイフネーションが抑制されないように、 -% |\@outputpage|で|\language|をリセットするときに使われます -% (参考:latex2e svn r1407)。 % \changes{v1.1b}{2017/03/19}{\cs{document@default@language}の定義を保証 % (sync with ltfinal 2017/03/09 v2.0t)} -% \begin{macrocode} -%\ifx\document@default@language \@undefined -% \let\document@default@language\m@ne -%\fi -% -% \end{macrocode} -% \end{macro} -% \fi +% \changes{v1.1n}{2018/10/31}{\LaTeXe{}とp\LaTeXe{}の更新タイミングずれ対策を +% \file{plvers.dtx} (plfinal) から\file{plcore.dtx}へ移動} +% % -% \subsection{latexreleaseパッケージへの対応} +% \section{latexreleaseパッケージへの対応} % % 最後に、latexreleaseパッケージへの対応です。 % \begin{macro}{\plIncludeInRelease} diff --git a/Master/texmf-dist/tex/platex/base/exppl2e.sty b/Master/texmf-dist/tex/platex/base/exppl2e.sty index a07dcc657aa..9d40c233fcc 100644 --- a/Master/texmf-dist/tex/platex/base/exppl2e.sty +++ b/Master/texmf-dist/tex/platex/base/exppl2e.sty @@ -34,7 +34,7 @@ % case 1: This file must be a normal package \NeedsTeXFormat{pLaTeX2e} \ProvidesPackage{exppl2e} - [2018/07/28 v1.0w Experimental pLaTeX2e features] + [2018/11/25 v1.1b Experimental pLaTeX2e features] \PackageWarningNoLine{exppl2e}{% This is the unstable, experimental part of pLaTeX2e.\MessageBreak This package may contain:\MessageBreak @@ -127,6 +127,7 @@ % \section{改行} % % 強制改行|\\|と|\par|が連続した場合の挙動については以下のとおり保留中。 +% 参考:GitHub:texjporg/platex\#27 % % \begin{macro}{\@gnewline} % \changes{v1.1c}{1995/08/25}{行頭禁則文字の直前での改行での不具合の修正} @@ -209,6 +210,7 @@ % % p\LaTeXe{}カーネル(2017/10/28)の修正に加え、以下の修正を検討中ですが、 % 現時点では保留しています。 +% 参考:GitHub:texjporg/platex\#57 % % \begin{macro}{\@setref@} % さらに、参照した結果が「空」の場合 @@ -219,7 +221,11 @@ % \pageref{a}\label{a} % \end{document} %\end{verbatim} -% に相互参照が収束しなくなるのを防ぐため、水平モード以外では +% に相互参照が収束しなくなる\footnote{奇数回コンパイルすると +% Output written on test.dvi (1 page, 212 bytes). +% となり、偶数回コンパイルすると +% No pages of output. +% となります。}のを防ぐため、水平モード以外では % やはり|\null|を発行してみます。 % \begin{macrocode} %\def\@setref@{\ifhmode\spacefactor\@m\else\null\fi} @@ -232,21 +238,87 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% \section{脚注の合印直後での改行を許可} +% \section{空のページ} % -% 2016/09/03に導入済み。 +% 現時点では保留しています。 +% 参考:GitHub:texjporg/platex\#78 % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% \LaTeXe\ 2017/01/01以降では、例えば +%\begin{verbatim} +% \documentclass{tarticle} +% \begin{document} +% \begin{figure} +% \end{figure} +% \clearpage +% a +% \end{document} +%\end{verbatim} +% のようにすると「空のフロート」だけの空白ページを発生させることが +% できます。この場合、縦組クラスを用いているとフッタが持ち上がります。 % -% \section{e-p\TeX{}でのFAM256パッチの利用} +% なお、\LaTeXe\ 2015/01/01〜2016/03/31 patch level 3では +%\begin{verbatim} +% ! Output loop---100 consecutive dead cycles. +%\end{verbatim} +% のエラーが出て、それ以前では空白ページは発生しません。 % -% 2016/11/29に導入済み。 +% フロートでない空白ページでページフッタが持ち上がる問題へは、 +% |\@makecol|の|\iftdir\vbox{\hskip\z@}\fi|で対処してありますが、 +% フロートがある空白ページでは|\@makecol|が呼ばれないことから +% 対策が効いていません。ただ、フロートが空である状況は +% 元々不自然なので、現在はサポートしていません。 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \section{支柱} % -% 2017/04/08に導入済み。 +% \begin{macro}{\strut} +% \cs{strut}を縦数式ディレクションで使った場合への修正。 +% \begin{macrocode} +%% \strut の改良版 +\def\strut{\relax + \iftdir + \ifmdir + %% [縦数式ディレクション] + %% テキストモードの場合は \zstrutbox でなければならない気がする。 + %% (下線 \underline で使う場合に横組の 90 度回転にならない) + %% 数式モードの場合は \zstrutbox に変えるとかえってバランスが崩れるが, + %% これは \copy したボックスにベースライン補正が効かないためであり, + %% その分 \lower で下げる。 + \ifmmode \lower \tbaselineshift \copy \zstrutbox \else \unhcopy \zstrutbox \fi + \else + %% [縦ディレクション] + %% テキストモードの場合は \tstrutbox で良い。 + %% 数式モードに入ると自動的に [縦数式ディレクション] に入るので分岐不要。 + \unhcopy \tstrutbox + \fi + \else + %% [横ディレクション] + %% テキストモードの場合は \(y)strutbox で良い。 + %% 数式モードではベースライン補正分だけ \lower で下げる。 + \ifmmode \lower \ybaselineshift \copy \ystrutbox \else \unhcopy \ystrutbox \fi + \fi} +%% \strutbox は \zstrutbox を使うとまずそうなので 2017-04-08 のままとする。 +%% 以下のコードは使わない。 +%\def\strutbox{% +% \iftdir \ifmdir \zstrutbox \else \tstrutbox \fi +% \else \ystrutbox \fi} +% \end{macrocode} +% \end{macro} +% +% \cs{strutbox}の変更は2017/04/08に導入済み。 +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% \section{脚注の合印直後での改行を許可} +% +% 2016/09/03に導入済み。 +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% \section{e-p\TeX{}でのFAM256パッチの利用} +% +% 2016/11/29に導入済み。 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % diff --git a/Master/texmf-dist/tex/platex/base/jarticle.cls b/Master/texmf-dist/tex/platex/base/jarticle.cls index d20bc4f79ce..a4d2d987b65 100644 --- a/Master/texmf-dist/tex/platex/base/jarticle.cls +++ b/Master/texmf-dist/tex/platex/base/jarticle.cls @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jarticle} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -665,12 +665,14 @@ \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}% \par}% \fi} +\providecommand*\protected@file@percent{} \def\addcontentsline#1#2#3{% \protected@write\@auxout {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble -\@temptokena{\thepage}}% + \@temptokena{\thepage}}% {\string\@writefile{#1}% - {\protect\contentsline{#2}{#3}{\the\@temptokena}}}% + {\protect\contentsline{#2}{#3}{\the\@temptokena}% + \protected@file@percent}}% } \newcommand{\tableofcontents}{% \section*{\contentsname diff --git a/Master/texmf-dist/tex/platex/base/jbk10.clo b/Master/texmf-dist/tex/platex/base/jbk10.clo index acd70a73140..aa8ae22b828 100644 --- a/Master/texmf-dist/tex/platex/base/jbk10.clo +++ b/Master/texmf-dist/tex/platex/base/jbk10.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jbk10.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a 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 cccc01a445f..0e905125d47 100644 --- a/Master/texmf-dist/tex/platex/base/jbk11.clo +++ b/Master/texmf-dist/tex/platex/base/jbk11.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jbk11.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a 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 5c17be75076..c006099157f 100644 --- a/Master/texmf-dist/tex/platex/base/jbk12.clo +++ b/Master/texmf-dist/tex/platex/base/jbk12.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jbk12.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a 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 30d6a50f3f7..d60128610d2 100644 --- a/Master/texmf-dist/tex/platex/base/jbook.cls +++ b/Master/texmf-dist/tex/platex/base/jbook.cls @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jbook} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -758,12 +758,14 @@ \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}% \par}% \fi} +\providecommand*\protected@file@percent{} \def\addcontentsline#1#2#3{% \protected@write\@auxout {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble -\@temptokena{\thepage}}% + \@temptokena{\thepage}}% {\string\@writefile{#1}% - {\protect\contentsline{#2}{#3}{\the\@temptokena}}}% + {\protect\contentsline{#2}{#3}{\the\@temptokena}% + \protected@file@percent}}% } \newcommand{\tableofcontents}{% \if@twocolumn\@restonecoltrue\onecolumn diff --git a/Master/texmf-dist/tex/platex/base/jreport.cls b/Master/texmf-dist/tex/platex/base/jreport.cls index c09e5eddbc9..a9b4a02e2cf 100644 --- a/Master/texmf-dist/tex/platex/base/jreport.cls +++ b/Master/texmf-dist/tex/platex/base/jreport.cls @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jreport} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -754,12 +754,14 @@ \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}% \par}% \fi} +\providecommand*\protected@file@percent{} \def\addcontentsline#1#2#3{% \protected@write\@auxout {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble -\@temptokena{\thepage}}% + \@temptokena{\thepage}}% {\string\@writefile{#1}% - {\protect\contentsline{#2}{#3}{\the\@temptokena}}}% + {\protect\contentsline{#2}{#3}{\the\@temptokena}% + \protected@file@percent}}% } \newcommand{\tableofcontents}{% \if@twocolumn\@restonecoltrue\onecolumn diff --git a/Master/texmf-dist/tex/platex/base/jsize10.clo b/Master/texmf-dist/tex/platex/base/jsize10.clo index c408ff5ae1d..b53d51cc733 100644 --- a/Master/texmf-dist/tex/platex/base/jsize10.clo +++ b/Master/texmf-dist/tex/platex/base/jsize10.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jsize10.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a 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 d1f4e3f32c8..3d6b44e506d 100644 --- a/Master/texmf-dist/tex/platex/base/jsize11.clo +++ b/Master/texmf-dist/tex/platex/base/jsize11.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jsize11.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a 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 e7e845e097e..672a9ea523b 100644 --- a/Master/texmf-dist/tex/platex/base/jsize12.clo +++ b/Master/texmf-dist/tex/platex/base/jsize12.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{jsize12.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{16.5}% diff --git a/Master/texmf-dist/tex/platex/base/platexrelease.sty b/Master/texmf-dist/tex/platex/base/platexrelease.sty index 114f64dd5cf..a2712102ca5 100644 --- a/Master/texmf-dist/tex/platex/base/platexrelease.sty +++ b/Master/texmf-dist/tex/platex/base/platexrelease.sty @@ -16,9 +16,9 @@ %% %% File: plvers.dtx \edef\p@known@latexreleaseversion - {2018-04-01} + {2018-12-01} \edef\platexreleaseversion - {2018-07-28} + {2018-12-01} \newif\if@plincludeinrelease \@plincludeinreleasefalse \def\plIncludeInRelease#1{% @@ -133,6 +133,7 @@ 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-12-01> % * <2018-07-28>+1 % * <2018-07-28> % * <2018-05-20> @@ -1934,6 +1935,16 @@ of this package available from CTAN} {\e@mathgroup@top}{LaTeX2e original}% \let\e@mathgroup@top\@undefined \plEndIncludeInRelease +\plIncludeInRelease{2017/04/08}{\document@default@language}% + {Save language for hyphenation}% +\ifx\document@default@language \@undefined + \let\document@default@language\m@ne +\fi +\plEndIncludeInRelease +\plIncludeInRelease{0000/00/00}{\document@default@language}% + {Save language for hyphenation}% +\let\document@default@language\@undefined +\plEndIncludeInRelease \endinput %% %% End of file `platexrelease.sty'. diff --git a/Master/texmf-dist/tex/platex/base/plcore.ltx b/Master/texmf-dist/tex/platex/base/plcore.ltx index 93ea6b7cc52..7c3075985ec 100644 --- a/Master/texmf-dist/tex/platex/base/plcore.ltx +++ b/Master/texmf-dist/tex/platex/base/plcore.ltx @@ -33,21 +33,19 @@ \fi \def\pfmtname{pLaTeX2e} \def\pfmtversion - {2018-07-28} -\def\ppatch@level{1} + {2018-12-01} +\def\ppatch@level{0} \edef\platexBANNER{\noexpand\platexNILa \the\everyjob % LaTeX banner and delayed codes \noexpand\platexNILb} \begingroup - \def\parse@@BANNER\platexNILa#1\typeout#2#3\platexNILb{#1} - \toks0=\expandafter\expandafter\expandafter{% - \expandafter\parse@@BANNER\platexBANNER} + \def\platexNILa#1\typeout#2#3\platexNILb{#1} + \toks0=\expandafter\expandafter\expandafter{\platexBANNER} \global\everyjob\expandafter{\the\toks0}% \endgroup \begingroup - \def\parse@@BANNER\platexNILa#1\typeout#2#3\platexNILb{#2} - \toks0=\expandafter\expandafter\expandafter{% - \expandafter\parse@@BANNER\platexBANNER} + \def\platexNILa#1\typeout#2#3\platexNILb{#2} + \toks0=\expandafter\expandafter\expandafter{\platexBANNER} \ifnum\ppatch@level=0 \toks2={\pfmtname\space<\pfmtversion>\space}% \else\ifnum\ppatch@level>0 @@ -60,9 +58,8 @@ \global\everyjob\expandafter{\platexBANNER}% \endgroup \begingroup - \def\parse@@BANNER\platexNILa#1\typeout#2#3\platexNILb{#3} - \toks0=\expandafter\expandafter\expandafter{% - \expandafter\parse@@BANNER\platexBANNER} + \def\platexNILa#1\typeout#2#3\platexNILb{#3} + \toks0=\expandafter\expandafter\expandafter{\platexBANNER} \edef\platexBANNER{\the\everyjob \the\toks0} \global\everyjob\expandafter{\platexBANNER}% \endgroup @@ -1326,6 +1323,12 @@ \else \mathchardef\e@mathgroup@top=256 % for e-pTeX FAM256 patched \fi +\ifx\l@nohyphenation \@undefined + \newlanguage\l@nohyphenation +\fi +\ifx\document@default@language \@undefined + \let\document@default@language\m@ne +\fi %% File: plvers.dtx \AtBeginDocument{% \@ifpackageloaded{latexrelease}{% diff --git a/Master/texmf-dist/tex/platex/base/plext.sty b/Master/texmf-dist/tex/platex/base/plext.sty index 69482194e17..bfab42a6416 100644 --- a/Master/texmf-dist/tex/platex/base/plext.sty +++ b/Master/texmf-dist/tex/platex/base/plext.sty @@ -15,7 +15,7 @@ %% File: plext.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesPackage{plext} - [2018/09/20 v1.2j pLaTeX package file (community edition)] + [2018/10/07 v1.2k pLaTeX package file (community edition)] \newif\if@rotsw \def\array{\let\@acol\@arrayacol \let\@classz\@arrayclassz \let\@classiv\@arrayclassiv @@ -192,8 +192,8 @@ \if Z\caption@posa\def\caption@posa{#4}\fi \if Z\caption@posb\def\caption@posb{#5}\fi}} \@onlypreamble\DeclareLayoutCaption -\DeclareLayoutCaption{figure}(.8\linewidth)[cd] -\DeclareLayoutCaption{table}(.8\linewidth)[cu] +\DeclareLayoutCaption{figure}(.8\linewidth)[cd] +\DeclareLayoutCaption{table}(.8\linewidth)[cu] \def\layoutcaption{\def\caption@dir{Z}\captionwidth\z@ \def\caption@posa{Z}\def\caption@posb{Z}% \@ifnextchar<\X@layoutcaption{% @@ -257,7 +257,8 @@ \captionfontsetup\parindent\z@\inhibitglue \csname fnum@\@captype\endcsname\char\euc"A1A1\relax#1}% \if@rotsw \m@th$\fi}% - \if@tempswa \@tempdima\ht0 \else\@tempdima\wd0 \fi + \if@tempswa \@tempdima\ht0 \advance\@tempdima\dp0 + \else \@tempdima\wd0 \fi \ifdim\@tempdima>\captionwidth \@tempdima\captionwidth \fi \@pboxswfalse \setbox0\hbox{\if@rotsw $\fi diff --git a/Master/texmf-dist/tex/platex/base/tarticle.cls b/Master/texmf-dist/tex/platex/base/tarticle.cls index 5a6a6f2f66d..3ad596d32fd 100644 --- a/Master/texmf-dist/tex/platex/base/tarticle.cls +++ b/Master/texmf-dist/tex/platex/base/tarticle.cls @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{tarticle} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -669,12 +669,14 @@ \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}% \par}% \fi} +\providecommand*\protected@file@percent{} \def\addcontentsline#1#2#3{% \protected@write\@auxout {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble -\@temptokena{\rensuji{\thepage}}}% + \@temptokena{\rensuji{\thepage}}}% {\string\@writefile{#1}% - {\protect\contentsline{#2}{#3}{\the\@temptokena}}}% + {\protect\contentsline{#2}{#3}{\the\@temptokena}% + \protected@file@percent}}% } \newcommand{\tableofcontents}{% \section*{\contentsname diff --git a/Master/texmf-dist/tex/platex/base/tbk10.clo b/Master/texmf-dist/tex/platex/base/tbk10.clo index fcc4e2952c7..4f6b9c5623b 100644 --- a/Master/texmf-dist/tex/platex/base/tbk10.clo +++ b/Master/texmf-dist/tex/platex/base/tbk10.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{tbk10.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{17}% diff --git a/Master/texmf-dist/tex/platex/base/tbk11.clo b/Master/texmf-dist/tex/platex/base/tbk11.clo index 3cf967d12bf..4187ea44c45 100644 --- a/Master/texmf-dist/tex/platex/base/tbk11.clo +++ b/Master/texmf-dist/tex/platex/base/tbk11.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{tbk11.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{17}% diff --git a/Master/texmf-dist/tex/platex/base/tbk12.clo b/Master/texmf-dist/tex/platex/base/tbk12.clo index 480cbc16e4e..b84fa217e28 100644 --- a/Master/texmf-dist/tex/platex/base/tbk12.clo +++ b/Master/texmf-dist/tex/platex/base/tbk12.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{tbk12.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{18}% diff --git a/Master/texmf-dist/tex/platex/base/tbook.cls b/Master/texmf-dist/tex/platex/base/tbook.cls index 365c08943ad..c8ab2dcc704 100644 --- a/Master/texmf-dist/tex/platex/base/tbook.cls +++ b/Master/texmf-dist/tex/platex/base/tbook.cls @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{tbook} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -762,12 +762,14 @@ \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}% \par}% \fi} +\providecommand*\protected@file@percent{} \def\addcontentsline#1#2#3{% \protected@write\@auxout {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble -\@temptokena{\rensuji{\thepage}}}% + \@temptokena{\rensuji{\thepage}}}% {\string\@writefile{#1}% - {\protect\contentsline{#2}{#3}{\the\@temptokena}}}% + {\protect\contentsline{#2}{#3}{\the\@temptokena}% + \protected@file@percent}}% } \newcommand{\tableofcontents}{% \if@twocolumn\@restonecoltrue\onecolumn diff --git a/Master/texmf-dist/tex/platex/base/treport.cls b/Master/texmf-dist/tex/platex/base/treport.cls index 27422b20fbd..cd21d882928 100644 --- a/Master/texmf-dist/tex/platex/base/treport.cls +++ b/Master/texmf-dist/tex/platex/base/treport.cls @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{treport} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX class] \newcounter{@paper} \newif\if@landscape \@landscapefalse @@ -758,12 +758,14 @@ \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}% \par}% \fi} +\providecommand*\protected@file@percent{} \def\addcontentsline#1#2#3{% \protected@write\@auxout {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble -\@temptokena{\rensuji{\thepage}}}% + \@temptokena{\rensuji{\thepage}}}% {\string\@writefile{#1}% - {\protect\contentsline{#2}{#3}{\the\@temptokena}}}% + {\protect\contentsline{#2}{#3}{\the\@temptokena}% + \protected@file@percent}}% } \newcommand{\tableofcontents}{% \if@twocolumn\@restonecoltrue\onecolumn diff --git a/Master/texmf-dist/tex/platex/base/tsize10.clo b/Master/texmf-dist/tex/platex/base/tsize10.clo index 64e301fdffb..ee839c781bf 100644 --- a/Master/texmf-dist/tex/platex/base/tsize10.clo +++ b/Master/texmf-dist/tex/platex/base/tsize10.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{tsize10.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{17}% diff --git a/Master/texmf-dist/tex/platex/base/tsize11.clo b/Master/texmf-dist/tex/platex/base/tsize11.clo index d3194562c76..9cd2dc0596a 100644 --- a/Master/texmf-dist/tex/platex/base/tsize11.clo +++ b/Master/texmf-dist/tex/platex/base/tsize11.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{tsize11.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{17}% diff --git a/Master/texmf-dist/tex/platex/base/tsize12.clo b/Master/texmf-dist/tex/platex/base/tsize12.clo index 67e8e6e0687..b2fbca1068f 100644 --- a/Master/texmf-dist/tex/platex/base/tsize12.clo +++ b/Master/texmf-dist/tex/platex/base/tsize12.clo @@ -15,7 +15,7 @@ %% File: jclasses.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesFile{tsize12.clo} - [2018/07/03 v1.8 + [2018/10/25 v1.8a Standard pLaTeX file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{18}% -- cgit v1.2.3