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/doc/platex/base/README.md | 4 +- Master/texmf-dist/doc/platex/base/ascmac.pdf | Bin 148478 -> 0 bytes Master/texmf-dist/doc/platex/base/exppl2e.pdf | Bin 144232 -> 165049 bytes Master/texmf-dist/doc/platex/base/nidanfloat.pdf | Bin 154985 -> 0 bytes Master/texmf-dist/doc/platex/base/platex-en.pdf | Bin 145626 -> 145928 bytes Master/texmf-dist/doc/platex/base/platex.pdf | Bin 277817 -> 276095 bytes .../texmf-dist/doc/platex/base/platexrelease.pdf | Bin 121449 -> 121442 bytes Master/texmf-dist/doc/platex/base/pldoc.pdf | Bin 786887 -> 798011 bytes Master/texmf-dist/source/platex/base/Makefile | 45 +- Master/texmf-dist/source/platex/base/ascmac.dtx | 712 ------------- Master/texmf-dist/source/platex/base/ascmac.ins | 23 - Master/texmf-dist/source/platex/base/jclasses.dtx | 21 +- .../texmf-dist/source/platex/base/nidanfloat.dtx | 1122 -------------------- .../texmf-dist/source/platex/base/nidanfloat.ins | 18 - Master/texmf-dist/source/platex/base/pl209.ins | 2 +- Master/texmf-dist/source/platex/base/platex.dtx | 115 +- .../source/platex/base/platexrelease.dtx | 6 +- .../source/platex/base/platexrelease.ins | 4 +- Master/texmf-dist/source/platex/base/plcls.ins | 2 +- Master/texmf-dist/source/platex/base/plcore.dtx | 197 +++- Master/texmf-dist/source/platex/base/pldocs.ins | 2 +- Master/texmf-dist/source/platex/base/plfmt.ins | 4 +- Master/texmf-dist/source/platex/base/plfonts.dtx | 48 +- Master/texmf-dist/source/platex/base/plnews.cls | 100 -- Master/texmf-dist/source/platex/base/plvers.dtx | 57 +- 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 +- 69 files changed, 911 insertions(+), 3164 deletions(-) delete mode 100644 Master/texmf-dist/doc/platex/base/ascmac.pdf delete mode 100644 Master/texmf-dist/doc/platex/base/nidanfloat.pdf delete mode 100644 Master/texmf-dist/source/platex/base/ascmac.dtx delete mode 100644 Master/texmf-dist/source/platex/base/ascmac.ins delete mode 100644 Master/texmf-dist/source/platex/base/nidanfloat.dtx delete mode 100644 Master/texmf-dist/source/platex/base/nidanfloat.ins delete mode 100644 Master/texmf-dist/source/platex/base/plnews.cls 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 diff --git a/Master/texmf-dist/doc/platex/base/README.md b/Master/texmf-dist/doc/platex/base/README.md index 1c3936d7041..49daab3fb2b 100644 --- a/Master/texmf-dist/doc/platex/base/README.md +++ b/Master/texmf-dist/doc/platex/base/README.md @@ -19,7 +19,7 @@ See the documents (platex.pdf, pldoc.pdf, platexrelease.pdf) for more informatio - Fix macros which are inconsistent with the latest e-pTeX (e.g. \footnote, tabular, \parbox, \underline). -- Fix several bugs in pLaTeX2e and ascmac.sty. +- Fix several bugs in pLaTeX2e format and packages. - Add platexrelease.sty. As with the latexrelease package, this package enables us to use the old versions of pLaTeX2e (from 2006/11/10 the ASCII edition). @@ -61,6 +61,6 @@ the 3-clause BSD license (see [LICENSE](./LICENSE)). ## Release Date -2018-01-27 +2018-03-09 Japanese TeX Development Community diff --git a/Master/texmf-dist/doc/platex/base/ascmac.pdf b/Master/texmf-dist/doc/platex/base/ascmac.pdf deleted file mode 100644 index 93ff816e7d3..00000000000 Binary files a/Master/texmf-dist/doc/platex/base/ascmac.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/platex/base/exppl2e.pdf b/Master/texmf-dist/doc/platex/base/exppl2e.pdf index bbf690ebf16..afc156db405 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/nidanfloat.pdf b/Master/texmf-dist/doc/platex/base/nidanfloat.pdf deleted file mode 100644 index c25d9fda39f..00000000000 Binary files a/Master/texmf-dist/doc/platex/base/nidanfloat.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/platex/base/platex-en.pdf b/Master/texmf-dist/doc/platex/base/platex-en.pdf index 230ea9c31f3..028e4108d5a 100644 Binary files a/Master/texmf-dist/doc/platex/base/platex-en.pdf and b/Master/texmf-dist/doc/platex/base/platex-en.pdf differ diff --git a/Master/texmf-dist/doc/platex/base/platex.pdf b/Master/texmf-dist/doc/platex/base/platex.pdf index 5180aefc1bf..1c09c427610 100644 Binary files a/Master/texmf-dist/doc/platex/base/platex.pdf and b/Master/texmf-dist/doc/platex/base/platex.pdf differ diff --git a/Master/texmf-dist/doc/platex/base/platexrelease.pdf b/Master/texmf-dist/doc/platex/base/platexrelease.pdf index ee587172dd9..7e331901248 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 01f282647a2..6d7eda7ff80 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/Makefile b/Master/texmf-dist/source/platex/base/Makefile index b2e570e058d..40c8fe035c2 100644 --- a/Master/texmf-dist/source/platex/base/Makefile +++ b/Master/texmf-dist/source/platex/base/Makefile @@ -1,6 +1,6 @@ STRIPTARGET = platex.ltx jarticle.cls pl209.def platexrelease.sty \ - nidanfloat.sty tascmac.sty jltxdoc.cls -DOCTARGET = platex platexrelease pldoc nidanfloat ascmac exppl2e \ + jltxdoc.cls +DOCTARGET = platex platexrelease pldoc exppl2e \ platex-en PDFTARGET = $(addsuffix .pdf,$(DOCTARGET)) DVITARGET = $(addsuffix .dvi,$(DOCTARGET)) @@ -35,14 +35,6 @@ PLREL = platexrelease.sty PLREL_SRC = platexrelease.dtx $(PLFMT_SRC) -NIDAN = nidanfloat.sty - -NIDAN_SRC = nidanfloat.dtx - -ASCMAC = tascmac.sty ascmac.sty - -ASCMAC_SRC = ascmac.dtx - INTRODOC_SRC = platex.dtx PLRELDOC_SRC = platexrelease.dtx @@ -70,16 +62,6 @@ platexrelease.sty: $(PLREL_SRC) platex $(KANJI) platexrelease.ins rm platexrelease.log -nidanfloat.sty: $(NIDAN_SRC) - rm -f $(NIDAN) - platex $(KANJI) nidanfloat.ins - rm nidanfloat.log - -tascmac.sty: $(ASCMAC_SRC) - rm -f $(ASCMAC) - platex $(KANJI) ascmac.ins - rm ascmac.log - jltxdoc.cls: jltxdoc.dtx rm -f jltxdoc.cls pldoc.tex Xins.ins platex $(KANJI) pldocs.ins @@ -110,18 +92,6 @@ pldoc.dvi: $(PLDOC_SRC) rm pldoc.glo pldoc.gls pldoc.tex Xins.ins rm ltxdoc.cfg pldoc.dic mkpldoc.sh dstcheck.pl -nidanfloat.dvi: $(NIDAN_SRC) - rm -f platex.cfg - platex $(KANJI) nidanfloat.dtx - platex $(KANJI) nidanfloat.dtx - rm nidanfloat.aux nidanfloat.log - -ascmac.dvi: $(ASCMAC_SRC) - rm -f platex.cfg - platex $(KANJI) ascmac.dtx - platex $(KANJI) ascmac.dtx - rm ascmac.aux ascmac.log ascmac.toc - exppl2e.dvi: exppl2e.sty rm -f platex.cfg platex $(KANJI) exppl2e.sty @@ -144,10 +114,6 @@ platexrelease.pdf: platexrelease.dvi dvipdfmx $(FONTMAP) $< pldoc.pdf: pldoc.dvi dvipdfmx $(FONTMAP) $< -nidanfloat.pdf: nidanfloat.dvi - dvipdfmx $(FONTMAP) $< -ascmac.pdf: ascmac.dvi - dvipdfmx $(FONTMAP) $< exppl2e.pdf: exppl2e.dvi dvipdfmx $(FONTMAP) $< platex-en.pdf: platex-en.dvi @@ -162,13 +128,13 @@ install: cp ./*.txt ${TEXMF}/doc/platex/base/ mkdir -p ${TEXMF}/source/platex/base cp ./Makefile ${TEXMF}/source/platex/base/ - cp ./plnews* ${TEXMF}/source/platex/base/ + cp ./plnews*.tex ${TEXMF}/source/platex/base/ cp ./*.dtx ${TEXMF}/source/platex/base/ cp ./*.ins ${TEXMF}/source/platex/base/ mkdir -p ${TEXMF}/tex/platex/base cp ./kinsoku.tex ${TEXMF}/tex/platex/base/ cp ./*.clo ${TEXMF}/tex/platex/base/ - ls ./*.cls | grep -v plnews.cls | xargs -I % cp % ${TEXMF}/tex/platex/base + cp ./*.cls ${TEXMF}/tex/platex/base/ cp ./*.def ${TEXMF}/tex/platex/base/ cp ./*.fd ${TEXMF}/tex/platex/base/ cp ./*.ltx ${TEXMF}/tex/platex/base/ @@ -177,16 +143,13 @@ install: cp ./platex.ini ${TEXMF}/tex/platex/config/ clean: rm -f $(PLFMT) $(PLCLS) $(PL209) $(PLREL) \ - $(NIDAN) $(ASCMAC) \ $(DVITARGET) \ jltxdoc.cls pldoc.tex Xins.ins cleanstrip: rm -f $(PLFMT) $(PLCLS) $(PL209) $(PLREL) \ - $(NIDAN) $(ASCMAC) \ jltxdoc.cls pldoc.tex Xins.ins cleanall: rm -f $(PLFMT) $(PLCLS) $(PL209) $(PLREL) \ - $(NIDAN) $(ASCMAC) \ $(DVITARGET) $(PDFTARGET) \ jltxdoc.cls pldoc.tex Xins.ins cleandoc: diff --git a/Master/texmf-dist/source/platex/base/ascmac.dtx b/Master/texmf-dist/source/platex/base/ascmac.dtx deleted file mode 100644 index f9895e6e146..00000000000 --- a/Master/texmf-dist/source/platex/base/ascmac.dtx +++ /dev/null @@ -1,712 +0,0 @@ -% \iffalse meta-comment -% -% Copyright (c) 2010 ASCII MEDIA WORKS -% Copyright (c) 2016-2017 Japanese TeX Development Community -% -% This file is part of the pLaTeX2e system (community edition). -% ------------------------------------------------------------- -% -% \fi -% -% -% \iffalse -% -% 2017/12/17 v2.0f -% - Fix a bug. -% 2017/12/06 v2.0e -% - Again works with non-e-TeX engines. -% 2017/07/22 v2.0d -% - Check existing \Return definition and throw an error -% if it is not compatible with ascmac. -% 2016/08/21 v2.0c -% - Support pdfLaTeX, XeLaTeX and LuaLaTeX. -% 2016/04/15 v2.0b -% - Simplify \@keytop. -% 2016/03/13 v2.0a -% - Avoid arithmetic overflow in \mask/\maskbox. -% 2016/03/12 v2.0 -% - Converted to DTX file. -% - Remove extra spaces before/after \keytop[c]{...}. -% - Adjust parameters for \keytop. -% 2016/03/06 -% - Set \tbaselineshift in itembox str and shadebox env. -% - Delete \tbaselineshift\z@ in \mask and \Maskbox. -% - Save \ybaselineshift. -% 2016/03/04 -% - boxnote, shadebox begin with \par\vspace{.3\baselineskip}. -% - Adjust the width of shadebox environment. -% 2016/02/21 (many thanks to ZR for suggestions in bxascmac) -% - Made compatible with pict2e (tate-gumi not supported yet). -% - Adjust parameters for drawing rounded rectangles. -% - Fix bugs in \maskbox and \Maskbox. -% 2006/07/14 (ST): itembox, screen environment bug fix. -% 2002/04/01 (KN): ASCII logo macros -% 1998/11/27 (KN and FTEXers): itembox -% 1998/02/27 (KN): set \tbaselineshift in minipage environment. -% -% \fi -% -% \iffalse -%<*ascmac> -%% wrapper for tascmac.sty -%% -% -%<*tascmac> -%% "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} -%<*driver> -\NeedsTeXFormat{pLaTeX2e} -\ProvidesFile{ascmac.dtx} -% -%\ProvidesPackage{tascmac} -%\ProvidesPackage{ascmac} - [2017/12/17 v2.0f -% ascmac package (community edition) -% ascmac wrapper (community edition) - ] -%<*driver> -\documentclass{jltxdoc} -\usepackage{ascmac} -\GetFileInfo{ascmac.dtx} -\title{The \textsf{ascmac} package \fileversion} -\author{Japanese \TeX\ Development Community} -\date{作成日:\filedate} -\begin{document} - \maketitle - \DocInput{\filename} -\end{document} -% -% \fi -% -% \tableofcontents -% -% \section{はじめに} -% -% \textsf{ascmac}パッケージは、\LaTeXe{}の標準機能の範囲で、図や罫線で -% 囲んだボックスを出力する命令などを提供します。\textsf{ascmac}パッケージ -% の実体は\textsf{tascmac}パッケージですが、これはもともと古いp\LaTeX{}で -% 配布されていた横組専用\textsf{ascmac}パッケージと、それを縦組に対応させ -% た\textsf{tascmac}パッケージを統合した名残です。 -% -% このドキュメントは、アスキーによって配布されている 2006/07/14 バージョン -% から派生して、日本語\TeX{}開発コミュニティによって開発されているバージョン -% のために新たに書かれました。コミュニティ版では、オリジナルのアスキー版の -% コードを元に、いくつかのバグ修正と他のパッケージとの互換性を改善しました。 -% また、v2.0c以降ではpdf\LaTeX{}などのエンジンもサポートしました。 -% -% \section{使いかた} -% -% \subsection{環境型の命令} -% -% \textsf{ascmac}パッケージが提供する環境型の命令は4種類あります。それぞれ -% テキストなどを罫線枠で囲んで出力します。 -% -% これらの環境は、すべて横幅がその時点での |\linewidth| の値になりますの -% で、ボックスの幅を変更したい場合は |minipage| 環境などで囲んでください。 -% 縦の長さは、自動的に内容に合わせて調整されます。 \medskip -% -% \DescribeEnv{boxnote} -% |boxnote| 環境は、破ったメモ用紙のような雰囲気のボックスを作ります。 -% 破ったような形の罫線は、ascgrpフォントを使って実現されています。 -% -% \begin{boxnote} -% ボックスノート環境です。 -% \end{boxnote} -% は、以下の入力から得られます。 -%\begin{verbatim} -% \begin{boxnote} -% ボックスノート環境です。 -% \end{boxnote} -%\end{verbatim} -% -% \DescribeEnv{screen} -% |screen| 環境は、四隅が丸い囲み枠の中にテキストを入れます。 -% オプション引数として |0| から |8| の整数値を指定すれば、四隅の丸みの -% 具合を変更することができます。整数値を大きくするにつれて丸みは小さく -% なっていきます。省略した場合は |0| とみなされます。 -% -% \begin{screen} -% 四隅が丸い囲み枠です。 -% \end{screen} -% \begin{screen}[4] -% 四隅が丸い囲み枠です。 -% \end{screen} -% は、以下の入力から得られます。 -%\begin{verbatim} -% \begin{screen} -% 四隅が丸い囲み枠です。 -% \end{screen} -% \begin{screen}[4] -% 四隅が丸い囲み枠です。 -% \end{screen} -%\end{verbatim} -% -% \DescribeEnv{itembox} -% |itembox| 環境は |screen| 環境に似ていますが、上端の罫線のところにタイトル -% を出力することができます。また、オプション引数 |l|, |c|, |r| でタイトル -% の出力位置を左、中央、右と指定できます。省略した場合は中央になります。 -% -% \begin{itembox}[l]{タイトル} -% 項目ボックスです。 -% \end{itembox} -% は、以下の入力から得られます。 -%\begin{verbatim} -% \begin{itembox}[l]{タイトル} -% 項目ボックスです。 -% \end{itembox} -%\end{verbatim} -% -% \DescribeEnv{shadebox} -% |shadebox| 環境は、影付きボックスの中にテキストを入れます。 -% 影の幅は |\shaderule| パラメータで規定され、デフォルトは5ptです。 -% -% \begin{shadebox} -% 影付きのボックスです。 -% \end{shadebox} -% は、以下の入力から得られます。 -%\begin{verbatim} -% \begin{shadebox} -% 影付きのボックスです。 -% \end{shadebox} -%\end{verbatim} -% -% \subsection{網掛け命令} -% -% 網掛けをする命令が3種類用意されています。|\mask| 命令は、引数の内容の部分 -% に網を掛けます。|\maskbox| 命令と |\Maskbox| 命令は、幅と高さを指定して -% 網掛けすることができます。そして、|\maskbox| 命令と |\Maskbox| 命令の違い -% は、後者のみボックスの周りに罫線を引くという点です。 -% -% これらの命令は、いずれもascgrpフォントに収録されている網掛けパターンの -% 文字を並べることで網掛けを実現しています。 -% -% \makeatletter -% \begin{table}[htbp] -% \centering -% \begin{tabular}{llll} -% A = {\@ascgrp A} & B = {\@ascgrp B} & C = {\@ascgrp C} & D = {\@ascgrp D} \\ -% E = {\@ascgrp E} & F = {\@ascgrp F} & G = {\@ascgrp G} & H = {\@ascgrp H} \\ -% I = {\@ascgrp I} & J = {\@ascgrp J} & K = {\@ascgrp K} & -% \end{tabular} -% \end{table} -% \makeatother -% -% \DescribeMacro{\mask} -% |\mask| 命令は、第1引数が網掛けをする内容で、第2引数が網掛けパターンを -% 示す記号(AからK)です。 -% -% \begin{center} -% \mask{網掛け例1}{A} \hfil \mask{網掛け例2}{C} -% \end{center} -% は、以下の入力から得られます。 -%\begin{verbatim} -% \mask{網掛け例1}{A} \hfil \mask{網掛け例2}{C} -%\end{verbatim} -% -% \DescribeMacro{\maskbox} -% |\maskbox| 命令は5つの引数を持ち、それぞれボックスの幅、高さ、 -% 網掛けパターン、出力位置、網掛けをする内容です。出力位置は |l|, |c|, |r| の -% いずれかで、それぞれ左、中央、右に出力します。 -% -% \begin{center} -% \maskbox{25em}{4em}{E}{c}{幅を指定した網掛けボックス} -% \end{center} -% は、以下の入力から得られます。 -%\begin{verbatim} -% \maskbox{25em}{4em}{E}{c}{幅を指定した網掛けボックス} -%\end{verbatim} -% -% \DescribeMacro{\Maskbox} -% |\Maskbox| 命令は |\maskbox| 命令と同様の引数を持ちますが、網掛けをする内容の -% 指定の前、すなわち5番目の引数として、ボックスを囲む罫線の太さも指定します。 -% したがって、全部で6つの引数を持ちます。 -% -% \begin{center} -% \Maskbox{30em}{4em}{A}{c}{1pt}{幅を指定した罫線付き網掛けボックス} -% \end{center} -% は、以下の入力から得られます。 -%\begin{verbatim} -% \Maskbox{30em}{4em}{A}{c}{1pt}{幅を指定した罫線付き網掛けボックス} -%\end{verbatim} -% -% \subsection{その他の命令} -% -% \DescribeMacro{\keytop} -% |\keytop| コマンドは、キーボード上の文字を示すときなどに便利です。 -% -% \begin{table}[htbp] -% \centering -% \begin{tabular}{cc} -% 入力 & 出力 \\ -% |\keytop{A}| & \keytop{A} \\ -% |\keytop{あ}| & \keytop{あ} -% \end{tabular} -% \end{table} -% -% \DescribeMacro{\yen} -% \DescribeMacro{\return} -% \DescribeMacro{\Return} -% 円記号を出力する |\yen| 命令は、Yと=を重ね合わせて出力しています。 -% 改行記号は |\return| と |\Return| です。改行記号はascgrpフォント -% を用いています。 -% -% \begin{table}[htbp] -% \centering -% \begin{tabular}{cc} -% 入力 & 出力 \\ -% |\yen| & \yen \\ -% |\return| & \return \\ -% |\Return| & \Return -% \end{tabular} -% \end{table} -% -% \DescribeMacro{\ascii} -% \DescribeMacro{\Ascii} -% \DescribeMacro{\ASCII} -% アスキーコーポレーションのロゴを出力する命令です。 -% サイズは3種類用意されています。 -% -% \ascii \hfil \Ascii \hfil \ASCII -% -% -% \StopEventually{} -% -% \section{コード} -% -% \textsf{ascmac}パッケージは\textsf{tascmac}パッケージのラッパーです。 -% \begin{macrocode} -%<*ascmac> -\RequirePackage{tascmac} -% -% \end{macrocode} -% -% 従来、\textsf{tascmac}パッケージの動作条件は、p\LaTeXe{}でした。 -% しかし、community editionでは、バージョンv2.0c以降でほかのエンジンも -% サポートすることにしました。 -% \begin{macrocode} -%<*tascmac> -%% -%% 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 -% \end{macrocode} -% -% (u)p\LaTeXe{}とLua\TeX-ja以外をサポートするためのトリックです。 -% 「Q」という文字のカテゴリーコードをこのパッケージを読んでいる間だけ -% 変更し、(u)p\LaTeXe{}またはLua\TeX-jaでは無視する文字に、それ以外では -% コメント文字(|%|と同じ)にします。 -% \changes{2016/08/21}{v2.0c}{pdf\LaTeX{}などをサポート} -% \begin{macrocode} -\chardef\ascmac@q@catcode=\catcode`\Q\relax -\ifascmac@ptex - \catcode`\Q=9\relax -\else - \catcode`\Q=14\relax -\fi -% \end{macrocode} -% -% pdf\LaTeX{}やLua\LaTeX{}のプリミティブを使って、ascgrpのType1フォントを -% 使用できるように設定します。 -% \changes{2016/08/21}{v2.0c}{pdf\LaTeX{}でascgrpのType1フォントを使用} -% \changes{2017/12/06}{v2.0e}{念のためe-拡張なしのエンジンでのエラーを防止} -% \changes{2017/12/17}{v2.0f}{判定が逆になっていたのを修正} -% \begin{macrocode} -%% -%% 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 -% \end{macrocode} -% -% \Finale -% -\endinput diff --git a/Master/texmf-dist/source/platex/base/ascmac.ins b/Master/texmf-dist/source/platex/base/ascmac.ins deleted file mode 100644 index 92093ae199d..00000000000 --- a/Master/texmf-dist/source/platex/base/ascmac.ins +++ /dev/null @@ -1,23 +0,0 @@ -\input docstrip -\keepsilent -\usedir{tex/platex/base} -\ifToplevel{\askonceonly} - -\Msg{*** Generating ascmac package ***} - -\preamble - -Copyright (c) 2010 ASCII MEDIA WORKS -Copyright (c) 2016 Japanese TeX Development Community - -This file is part of the pLaTeX2e system (community edition). -------------------------------------------------------------- - -\endpreamble - -\generate{ - \file{ascmac.sty}{\from{ascmac.dtx}{ascmac}} - \file{tascmac.sty}{\from{ascmac.dtx}{tascmac}} -} - -\endbatchfile diff --git a/Master/texmf-dist/source/platex/base/jclasses.dtx b/Master/texmf-dist/source/platex/base/jclasses.dtx index 739c334d3ef..1c05126c938 100644 --- a/Master/texmf-dist/source/platex/base/jclasses.dtx +++ b/Master/texmf-dist/source/platex/base/jclasses.dtx @@ -3,7 +3,7 @@ % % Copyright 1995-2001 ASCII Corporation. % Copyright (c) 2010 ASCII MEDIA WORKS -% 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). % ------------------------------------------------------------- @@ -93,6 +93,7 @@ % 奇数ページに送るように変更} % \changes{v1.7f}{2017/08/31}{和文書体の基準を全角空白から「漢」に変更} % \changes{v1.7g}{2017/09/19}{内部処理で使ったボックス0を空にした} +% \changes{v1.7h}{2018/02/04}{和文スケール値\cs{Cjascale}を定義} % \fi % % \iffalse @@ -122,7 +123,7 @@ %<11pt&bk>\ProvidesFile{tbk11.clo} %<12pt&bk>\ProvidesFile{tbk12.clo} % - [2017/09/19 v1.7g + [2018/02/04 v1.7h % Standard pLaTeX class] %<10pt|11pt|12pt> Standard pLaTeX file (size option)] %<*driver> @@ -755,6 +756,22 @@ % \end{macro} % \end{macro} % +% \begin{macro}{\Cjascale} +% このクラスファイルが意図する和文スケール値 +% ($1\,\mathrm{zw} \div \textmc{要求サイズ}$)を +% 表す実数値マクロ|\Cjascale|を定義します。 +% このp\LaTeXe{}の標準クラスでは、フォーマット作成時に読み込まれた +% フォント定義ファイル(\file{jy1mc.fd} / \file{jy1gt.fd} / +% \file{jt1mc.fd} / \file{jt1gt.fd})での和文スケール値がそのまま +% 有効ですので、これは0.962216です。 +% \changes{v1.7h}{2018/02/04}{和文スケール値\cs{Cjascale}を定義} +% \begin{macrocode} +%<*article|report|book> +\def\Cjascale{0.962216} +% +% \end{macrocode} +% \end{macro} +% % % % \section{レイアウト} diff --git a/Master/texmf-dist/source/platex/base/nidanfloat.dtx b/Master/texmf-dist/source/platex/base/nidanfloat.dtx deleted file mode 100644 index 87546cfca9b..00000000000 --- a/Master/texmf-dist/source/platex/base/nidanfloat.dtx +++ /dev/null @@ -1,1122 +0,0 @@ -% \iffalse -%% File: nidanfloat.dtx -% -% Copyright 1994 ASCII Co. -% Copyright (c) 2010 ASCII MEDIA WORKS -% Copyright (c) 2016-2017 Japanese TeX Development Community -% -% This file is part of the pLaTeX2e system (community edition). -% ------------------------------------------------------------- -% -% \fi -% -% -% \setcounter{StandardModuleDepth}{1} -% -% \StopEventually{} -% -% \iffalse -% \changes{v1.10}{1994/04/07}{platex2.09用} -% \changes{v2.2}{1997/10/22}{platex2e用に修正} -% \changes{v2.3}{2000/12/20}{一段抜きのフロートを混ぜるとエラーに -% なるのを修正(ありがとう、倉沢@QUIPUさん)} -% \changes{v2.4}{2001/02/19}{最終ページで左右の行間が揃わない部分を修正} -% \changes{v2.4}{2001/02/19}{柱が出ないのを修正} -% \changes{v2.4}{2001/07/23}{ページの大きさが小さくなるのを修正} -% \changes{v2.5}{2001/09/14}{パッケージオプション(balance,nobalance)を追加} -% \changes{v2.6}{2003/05/15}{\cs{@fstype}を\cs{@fstyle}とタイプミスしていた -% のを修正(ありがとう、川上@航空宇宙研究所さん)} -% \changes{v2.7}{2005/12/09}{必須フォーマットファイルをpLaTeX2eからLaTeX2eへ変更} -% \changes{v2.8}{2017/05/01}{\cs{@rightfixht}を追加} -% \changes{v2.8}{2017/05/01}{\cs{@outputbox}を作るときの -% \texttt{to \cs{@fixht}}の高さ指定をやめた} -% \changes{v2.8}{2017/05/01}{\cs{vss}の位置を移動} -% \changes{v2.8}{2017/05/01}{右カラム用の処理を丸ごと追加} -% \changes{v2.8}{2017/05/01}{右カラムでは\cs{@rightfixht}の高さで -% 組み立て、\cs{@colht}も更新するようにした} -% \fi -% -% \iffalse -\NeedsTeXFormat{LaTeX2e} -%<*driver> -\ProvidesFile{nidanfloat.dtx} -% -%\ProvidesPackage{nidanfloat}% - [2017/05/01 v2.8 Put double-floats at top/bottom within twocolumn mode] -% -%<*driver> -\documentclass{jltxdoc} -\GetFileInfo{nidanfloat.dtx} -\title{TOP, BOTTOM指定が可能な2段抜きフロート\\ - バージョン \space\fileversion} -\date{作成日:\filedate} -\author{中野 賢\footnote{株式会社 アスキー 出版技術部 - (メールアドレス:ken-na at ascii.co.jp)}} -\begin{document} - \maketitle - \DocInput{\filename} -\end{document} -% -% \fi -% -% \begin{abstract} -% \file{nidanfloat}パッケージは、二段組時に段抜きのフロートをページ下部にも -% 配置可能にする。 -% \end{abstract} -% -% \section{コード} -% -% \subsection{パッケージオプション} -% \changes{v2.5}{2001/09/14}{パッケージオプションを追加} -% \file{nidanfloat}パッケージでは、最終ページの左右カラムの高さを -% 均一に振り分けるようにしている。しかし、この機能の影響により、 -% 最終ページでの|\newpage|と|\clearpage|コマンドが正しく動作しない。 -% そこで、この機能を使うかどうかを指定するオプションを導入した。 -% パッケージ指定時にオプション``balance''を指定すると、 -% 最終ページの自動調整を行なうようになる。デフォルトでは行なわない。 -% \begin{macrocode} -%<*core> -\DeclareOption{balance}{\AtEndDocument{\let\clearpage\balanceclearpage}} -\DeclareOption{nobalance}{\relax} -\ExecuteOptions{nobalance} -\ProcessOptions -% \end{macrocode} -% -% \subsection{フロートパラメータ} -% ここでは、段抜きのフロートをページ下部に置くために作成したパラメータに -% ついて説明をする。 -% -% \begin{macro}{\dblbotfraction} -% 2段組時にページ下部に占めることのできる、二段抜きフロートの割合。 -% デフォルトは0.5、すなわちページ半分を占めることができるようにしている。 -% \begin{macrocode} -\newcommand\dblbotfraction{0.5} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\c@dblbotnumber} -% ページ下部に入れることのできる、二段抜きフロートの数。 -% デフォルトでは、二つの図を置くことができるようにしている。 -% |\c@dblbotnumber|はカウンタ|dblnumber|の内部形式。 -% \begin{macrocode} -\newcount\c@dblbotnumber -\setcounter{dblbotnumber}{2} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@dblbotroom} -% \begin{macro}{\@dblbotnum} -% |\@dblbotroom|は、ページ下部に占めることのできる、 -% 二段抜きフロートの割合を示す長さ変数。 -% |\@dblbotnum|は、ページ下部に入れることのできる、 -% 二段抜きフロートの数を保持するカウンタ。 -% \begin{macrocode} -\newdimen\@dblbotroom -\newcount\@dblbotnum -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\@dblfloatplacement} -% 二段組用のフロートパラメータを設定するマクロを、新たに追加したパラメータ -% も設定するように再定義する。 -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \subsection{フロートリストへの登録} -% 二段抜きフロートの定義は、クラスファイルで、つぎのようにして行なわれる。 -%\begin{verbatim} -% \newenvironment{figure*} -% {\@dblfloat{figure}} -% {\end@dblfloat} -%\end{verbatim} -% 文章中で|figure*|環境で囲まれた部分は、フロート保持用のリストに登録される。 -% この節では、段抜きフロートをページ下部にも置けるようにするために拡張した -% マクロについて説明をする。 -% -% \begin{macro}{\@dblbotlist} -% \begin{macro}{\L@toplist} -% \begin{macro}{\R@toplist} -% \begin{macro}{\L@botlist} -% \begin{macro}{\R@botlist} -% 二段組のページ下部に置くフロートを保持するために|\@dblbotlist|を追加する。 -% また、カラムの上下に置くフロート用には、左側と右側で区別をするため、 -% |\L@toplist|, |\R@toplist|, |\L@botlist|, |\R@botlist|を追加する。 -% \begin{macrocode} -\gdef\@dblbotlist{} -\gdef\L@toplist{} -\gdef\R@toplist{} -\gdef\L@botlist{} -\gdef\R@botlist{} -% \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\@dblfloat} -% \begin{macro}{\@dbflt} -% \begin{macro}{\end@dblfloat} -% |\@dblfloat|から呼び出される、|\@dbflt|を再定義し、位置指定が省略された -% ときのパラメータを``tb''とする。また、|\end@dblfloat|を|\end@float|にして、 -% 現在ページの下部にフロートを置けるようにする。 -% \begin{macrocode} -\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 -% \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\addtocurcol} -% |\@xdblfloat|から呼び出された、|\@xfloat|は位置指定オプションの評価を行ない、 -% フロートオブジェクトの組み立てを開始する。 -% フロートオブジェクトの組み立ては|\end@float|で終了する。 -% |\end@float|は、ペナルティ値を$-10004$にして|\output|ルーチンを起動する。 -% この値での|\output|ルーチンは|\@specialoutput|を起動する。 -% |\@specialoutput|は|\@addtocurcol|を呼び出し、フロートの内容を現在ページに -% 出力できるのならば出力をする。そうでなければ、別の可能性を探る。 -% \begin{macrocode} -\def\@addtocurcol{% -% \end{macrocode} -% このパッケージの場合、段抜きのフロートが渡される可能性があるので、まず、 -% それをチェックする。フロートの幅がカラム幅よりも大きい場合は、強制的に -% 段抜きフロートとして扱う。 -% \begin{macrocode} - \ifdim\wd\@currbox>\columnwidth - \@addtodblcol - \else -% \end{macrocode} -% それ以外の場合は、元の動作とほとんど同じである。 -% \begin{macrocode} - \@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 -% \end{macrocode} -% ページ下部のフロートを保持しているフロートリストの名前が異なる。 -% \begin{macrocode} - \@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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@addtotoporbot} -% フロートを保持しているリスト変数の修正。 -% \changes{v2.3}{2000/12/20}{% -% タイプミスの修正と\cs{@flcheckspace}の呼び出しを変更} -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@addtobot} -% フロートを保持しているリスト変数の修正。 -% \changes{v2.3}{2000/12/20}{\cs{@flcheckspace}の呼び出しを変更} -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\org@addtonextcol} -% \begin{macro}{\@addtonextcol} -% 挿入に失敗したフロートや`p'指定のフロートを出力するのに、 -% |\@startcolumn|で用いられる。このパッケージでは、カラム幅よりも大きい幅を -% 持つフロートに対しては、段抜きフロートリストとして出力するようにしている。 -% \begin{macrocode} -\let\org@addtonextcol\@addtonextcol -\def\@addtonextcol{% - \ifdim\wd\@currbox>\columnwidth - \@addtodblcol - \else - \org@addtonextcol - \fi -} -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\@addtodblcol} -% |\@addtodblcol|マクロは、フロートオブジェクトが現在ページに入るかどうか -% を確認し、入るのであれば|\@addtodbltoporbot|を呼び出す。そうでなければ、 -% |\@dbldeferlist|に登録する。 -% -% まず|@insert|フラグを偽にする。そして、フロートタイプを|\@fpstype|に得る。 -% フロートタイプが8または24の場合、位置オプションは`!p'か`p'だけであるので、 -% 無条件に|\@dbldeferlist|に加える。 -% \begin{macrocode} -\def\@addtodblcol{% - \begingroup - \@insertfalse - \@setfloattypecounts - \ifnum\@fpstype=8 % is only `!p' - \else - \ifnum\@fpstype=24 % is only `p' - \else -% \end{macrocode} -% そうでなければ、同タイプのフロートで未出力のものがあるかどうかを確認する。 -% 同タイプのフロートでまだ出力していないものがある場合は、現在のフロートを -% 出力しない。ただし、同タイプであってもカラム幅のフロートについては考慮 -% しない。出力することができるのならば、|\@addtodblbotortop|を呼び出す。 -% \begin{macrocode} - \@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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@addtodbltoporbot} -% まず、`t'の指定があるかと、ページ上部に入れる数を越えていないかを確認する。 -% \begin{macrocode} -\def\@addtodbltoporbot{% - \@getfpsbit \tw@ - \ifodd\@tempcnta - \@flsetnum\@dbltopnum - \ifnum\@dbltopnum>\z@ -% \end{macrocode} -% そして、ページ上部あるいは下部に同タイプのフロートが出力される可能性が -% あるのかを調べる。二段組フロートは一段組フロートの上部に置かれることに注意。 -% \begin{macrocode} - \@bitor\@currtype{% - \L@toplist\R@toplist\L@botlist\R@botlist\@dblbotlist} - \if@test - \else -% \end{macrocode} -% 配置可能ならば、出力するだけのスペースがあるのかを確認する。 -% \begin{macrocode} - \@tempswafalse - \@dblflcheckspace \@dbltoproom \@dbltoplist -% \end{macrocode} -% スペースがあれば、段抜きフロートが上部に占めることのできる高さから、 -% その分を引く。また、上部に入れる段抜きフロートの数を減らし、 -% 上部段抜き用のフロートリストに登録をする。 -% \begin{macrocode} - \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 -% \end{macrocode} -% 左カラムのときは、カラムの高さ|\@colroom|からフロート分を引く。 -% \begin{macrocode} - \if@firstcolumn - \advance\@colroom\@tempdima - \global\advance\@colroom\maxdepth -% \end{macrocode} -% 右カラムのときは、新規の段抜きフロート分だけでなく、これを挿入すること -% によって、左カラムから移動してくるテキストの高さも引く。 -% \begin{macrocode} - \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 -% \end{macrocode} -% 最後に、|@insert|フラグを真にする。 -% \begin{macrocode} - \@inserttrue - \fi - \fi - \fi - \fi - \if@insert\else\@addtodblbot\fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@addtodblbot} -% ページ下部に段抜きフロートを置くときも、上部と同じである。 -% ただし、二段組フロートは最下部に置かれるので、他の出力用リストを調べる -% 必要はないことが異なる。 -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \subsection{フロートの高さを計算するマクロ} -% -% \begin{macro}{\@floatht} -% |\@floatht|は、出力リストに格納されているフロートの高さを格納するのに用いる。 -% \begin{macrocode} -\global\newdimen\@floatht \@floatht\z@ -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@flcheckspace} -% \changes{v2.3}{2000/12/20}{状況別に場合わけするようにした} -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@dblflcheckspace} -% 段抜きフロートがページ上部あるいは下部に占めることのできる割合を越えて -% いないかをチェックする。越えていなければ|\@tempswa|を真にする。 -% \changes{v2.6}{2003/05/15}{\cs{@fstype}を\cs{@fstyle}とタイプミスしていた} -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@checkdblspace} -% 段抜きフロートと段抜きフロート間スペース(あるいは段抜きフロートとテキストと -% の間のスペース)を入れる余裕があるかを調べる。 -% -% まず、現在、組み立ててあるテキストの高さと、最小限入らなくてはならない -% テキストの量とを比較し、大きいほうを|\@tempdima|に格納する。 -% 右カラムにいるときは、左カラムのテキストの高さも加える。 -% \begin{macrocode} -\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 -% \end{macrocode} -% そして、出力する予定のカラム幅フロートと段抜きフロートの高さを加える。 -% このとき、段抜き用のフロートの高さは二倍する。 -% \begin{macrocode} - \L@chkfloatht\advance\@tempdima\@floatht - \R@chkfloatht\advance\@tempdima\@floatht - \@chkdblfloatht\advance\@tempdima\tw@\@floatht -% \end{macrocode} -% それから、現在のフロートの高さと必要なスペースを加える。 -% このときも、それらの高さを二倍する。 -% \begin{macrocode} - \@tempdimb\ht\@currbox\advance\@tempdimb\dp\@currbox - \advance\@tempdimb - \ifdim\@floatht>\z@ \dbltextfloatsep\else\dblfloatsep\fi - \multiply\@tempdimb\tw@ \advance\@tempdima\@tempdimb -% \end{macrocode} -% これらすべての要素分の高さが|\textheight|の2倍よりも小さければ、 -% 現在のフロートを置くことができると判断する。 -% \begin{macrocode} - \ifdim\@tempdima>\tw@\textheight - \@tempswafalse - \else - \@tempswatrue - \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\tmp@comflelt} -% \begin{macro}{\tmp@comdblflelt} -% 出力リストに格納されているフロートの高さを計るために用いる。 -% それぞれ、|\@comfelt|, |\@comdblflelt|と同じだが、フロートの内容が -% 失われないように|\copy|をしているのが異なる。 -% \begin{macrocode} -\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}% -} -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\L@chkfloatht} -% \begin{macro}{\R@chkfloatht} -% それぞれ、左カラムと右カラムに出力するフロートの高さを計算するのに用いる。 -% 計算結果は|\@floatht|に格納する。 -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\@chkdblfloatht} -% ページ上部と下部に出力する段抜きフロートの高さを計算し、 -% 結果を|\@floatht|に格納する。 -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \subsection{フロートとテキストのマージ} -% -% \begin{macro}{\@fixht} -% |\@fixht|は、左カラムの高さを格納するのに用いる。 -% \begin{macrocode} -\global\newdimen\@fixht -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@rightfixht} -% \emph{日本語\TeX{}開発コミュニティによる追加}: -% |\@rightfixht|は、右カラムの高さを格納するのに用いる。 -% \changes{v2.8}{2017/05/01}{\cs{@rightfixht}を追加} -% \begin{macrocode} -\global\newdimen\@rightfixht -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@combinefloats} -% \changes{v2.4}{2001/07/23}{\cs{boxmaxdepth}を\cs{maxdepth}にしないようにした} -% |\@combinefloats|は、カラム単位で、テキストとフロートをマージする。 -% このマクロは右カラムのときに実行する。 -% \begin{macrocode} -\def\@combinefloats{% - %%\boxmaxdepth\maxdepth - \if@twocolumn - \if@firstcolumn - \else -% \end{macrocode} -% 左カラムのテキスト、上下のカラム幅フロート、上下の段抜きフロートの高さの -% 合計を|\@fixht|に格納する。 -% \begin{macrocode} - \@fixht\ht\@leftcolumn \advance\@fixht\dp\@leftcolumn - \@chkdblfloatht \@tempdima\@floatht - \L@chkfloatht \advance\@tempdima\@floatht - \advance\@fixht\@tempdima -% \end{macrocode} -% |\@fixht|の高さが|\textheight|よりも大きい場合、テキストを分割し、入らない -% 部分を右カラムに移す。 -% \begin{macrocode} - \ifdim\@fixht>\textheight -% \end{macrocode} -% 左カラムに残す部分の高さを|\@fixht|に格納する。 -% \begin{macrocode} - \@fixht\textheight - \advance\@fixht-\@tempdima - \advance\@fixht\maxdepth -% \end{macrocode} -% |\@fixht|分のテキストをボックス0に格納する。 -% \begin{macrocode} - \vbadness=\@M \splittopskip=\topskip \splitmaxdepth=\maxdepth - \setbox\z@=\vsplit\@leftcolumn to\@fixht -% \end{macrocode} -% 移動する部分は|\@leftcolumn|に残っているので、 -% それを右カラム(|\@outputbox|)に入れる。 -% また、ボックス0の内容を左カラムに戻す。 -% \changes{v2.4}{2001/02/19}{行間が揃わない部分を修正} -% \changes{v2.4}{2001/02/19}{柱が出ないのを修正} -% \changes{v2.8}{2017/05/01}{\cs{@outputbox}を作るときの -% \texttt{to \cs{@fixht}}の高さ指定をやめた} -% \begin{macrocode} - \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 -% \end{macrocode} -% \changes{v2.5}{2001/09/14}{\cs{vsplit}時、infiniteエラーになるのを修正} -% |\@leftcolumn|を作成するときに用いていた|\vss|が -%\begin{verbatim} -% ! Infinite glue shrinkage found in box being split. -%\end{verbatim} -% のエラーを起こすことがあるので削除した。 -% -% \emph{日本語\TeX{}開発コミュニティによる修正}: -% この場所のすぐ上にあるコードの|\unvbox\@outputbox|の直後にあった|vss|を -% こちらに持ってきました。 -% \changes{v2.8}{2017/05/01}{\cs{vss}の位置を移動} -% \begin{macrocode} - \setbox\@leftcolumn=\vbox to\@fixht{\unvbox\z@\vss}% to here (2017/05/01) - \fi -% \end{macrocode} -% 左カラムのテキストサイズに左カラムに入るフロートの高さを加えることで、 -% 左カラムの高さを|\@fixht|に格納します。 -% \begin{macrocode} - \@fixht\ht\@leftcolumn - \advance\@fixht\dp\@leftcolumn \advance\@fixht\@floatht -% \end{macrocode} -% \emph{日本語\TeX{}開発コミュニティによる追加}: -% 右カラムについても同様に処理します。これで、古くからあった -% 右カラムとフロートが重なるバグを解消しました。 -% \changes{v2.8}{2017/05/01}{右カラム用の処理を丸ごと追加} -% \begin{macrocode} - \@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 -% \end{macrocode} -% 左右、それぞれテキストとカラム幅フロートを組み立てる。 -% \begin{macrocode} - \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 -% \end{macrocode} -% 二段組でないときは従来どおりの動作をする。 -% \begin{macrocode} - \else - \ifx\@toplist\@empty\else\@cflt\fi - \ifx\@botlist\@empty\else\@cflb\fi - \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\L@cflt} -% \begin{macro}{\L@cflb} -% \begin{macro}{\R@cflt} -% \begin{macro}{\R@cflb} -% 左カラムと右カラムを組み立てるのに用いる。 -% -% \emph{日本語\TeX{}開発コミュニティによる追加}: -% 左カラムでは|\@fixht|、右カラムでは|\@rightfixht|の高さになるように -% します。また、|\@colht|をこれらの高さに更新します。 -% \changes{v2.3}{2000/12/20}{\cs{gdef}を\cs{global}\cs{let}に変更} -% \changes{v2.8}{2017/05/01}{右カラムでは\cs{@rightfixht}の高さで -% 組み立て、\cs{@colht}も更新するようにした} -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\@combinedblfloats} -% テキストと段抜きフロートをマージする。このパッケージでは、ページ下部の -% 段抜きフロートもマージするように拡張している。 -% \begin{macrocode} -%\def\@comdblflelt#1{\setbox\@tempboxa -% \vbox{\unvbox\@tempboxa\box#1\vskip\dblfloatsep}} -% -\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}% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{二段組の出力} -% -% \begin{macro}{\if@balance} -% 左右のカラムを均等にして出力するかどうかを示すフラグ。 -% \begin{macrocode} -\newif\if@balance \@balancefalse -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@outputdblcol} -% 左右のカラムを連結し、出力するのは|\@outputdblcol|が行なう。 -% このパッケージでは、左右のカラムを均等に分割するためのルーチンを加えてある。 -% \begin{macrocode} -\newbox\@combinebox -% \end{macrocode} -% 左カラムを組み立てただけの時点では、それを|\@leftcolumn|に格納するだけで -% 出力はしない。 -% \changes{v2.4}{2001/02/19}{最終ページで左右の行間が揃わない部分を修正} -% \changes{v2.4}{2001/02/19}{柱が出ないのを修正} -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@startdblcolumn} -% 二段組を開始するとき、まだ出力をしていないフロートを出力する。 -% それらは|\sdblcolelt|を通じて、|\@addtonextcol|で出力される。 -% このパッケージでは、カラムの高さを|\textheight|からフロートの高さを -% 引いたものに設定するように再定義する。 -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@doclearpage} -% 出力フロート用リストの初期化をするために、|\@doclearpage|を再定義する。 -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@topnewpage} -% |\@dblbotroom|と|dblbotnumber|を初期化するために|\@topnewpage|を再定義する。 -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\balancenewpage} -% \begin{macro}{\balanceclearpage} -% テキストを均等に分割して出力するためのマクロ。 -% ただし、このマクロを用いた場合、そのページ内での|\newpage|や -% |\clearpage|コマンドが無効になることに注意。 -% \begin{macrocode} -\def\balancenewpage{\par\vfil\global\@balancetrue\penalty-\@M} -\def\balanceclearpage{\balancenewpage - \write\m@ne{}\vbox{}\global\@balancetrue\penalty-\@Mi} -\endinput -% -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% \Finale -% -% \endinput diff --git a/Master/texmf-dist/source/platex/base/nidanfloat.ins b/Master/texmf-dist/source/platex/base/nidanfloat.ins deleted file mode 100644 index 938c2214c2b..00000000000 --- a/Master/texmf-dist/source/platex/base/nidanfloat.ins +++ /dev/null @@ -1,18 +0,0 @@ -\input docstrip -\keepsilent -\ifToplevel{\askonceonly} -\usedir{tex/platex/base} -\Msg{*** nidangumi double float package ***} - -\preamble - -Copyright (c) 2010 ASCII MEDIA WORKS -Copyright (c) 2016 Japanese TeX Development Community - -This file is part of the pLaTeX2e system (community edition). -------------------------------------------------------------- - -\endpreamble - -\generate{\file{nidanfloat.sty}{\from{nidanfloat.dtx}{core}}} -\endbatchfile diff --git a/Master/texmf-dist/source/platex/base/pl209.ins b/Master/texmf-dist/source/platex/base/pl209.ins index a4171a6e80b..c4ba0d8393c 100644 --- a/Master/texmf-dist/source/platex/base/pl209.ins +++ b/Master/texmf-dist/source/platex/base/pl209.ins @@ -8,7 +8,7 @@ \preamble 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/source/platex/base/platex.dtx b/Master/texmf-dist/source/platex/base/platex.dtx index b709a5daf72..994136cbb0d 100644 --- a/Master/texmf-dist/source/platex/base/platex.dtx +++ b/Master/texmf-dist/source/platex/base/platex.dtx @@ -3,7 +3,7 @@ % % Copyright 1995,1996 ASCII Corporation. % Copyright (c) 2010 ASCII MEDIA WORKS -% 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). % ------------------------------------------------------------- @@ -73,6 +73,10 @@ % \file{platex.ltx}から\file{plcore.ltx}へ移動} % \changes{v1.0q}{2017/11/29}{英語版ドキュメントを追加} % \changes{v1.0r}{2017/12/02}{英語の参考文献も追加} +% \changes{v1.0s}{2017/12/05}{デフォルト設定ファイルの読み込みを +% \file{plcore.ltx}から\file{platex.ltx}へ移動} +% \changes{v1.0t}{2018/02/07}{ascmacパッケージを独立させた} +% \changes{v1.0u}{2018/02/18}{nidanfloatパッケージを独立させた} %\else % \changes{v1.0}{1995/05/08}{first edition} % \changes{v1.0a}{1995/08/25}{Added 'Compatibility', `Usage of \dst{}' @@ -104,6 +108,10 @@ % \file{platex.ltx} to \file{plcore.ltx}} % \changes{v1.0q}{2017/11/29}{New English documentation added!} % \changes{v1.0r}{2017/12/02}{English references added} +% \changes{v1.0s}{2017/12/05}{Moved loading default settings +% from \file{plcore.ltx} to \file{platex.ltx}} +% \changes{v1.0t}{2018/02/07}{Moved ascmac package to separate bundle} +% \changes{v1.0u}{2018/02/18}{Moved nidanfloat package to separate bundle} %\fi % \fi % @@ -111,7 +119,7 @@ %<*driver> \NeedsTeXFormat{pLaTeX2e} % \fi -\ProvidesFile{platex.dtx}[2017/12/02 v1.0r pLaTeX document file] +\ProvidesFile{platex.dtx}[2018/02/18 v1.0u pLaTeX document file] % \iffalse \documentclass{jltxdoc} \usepackage{plext} @@ -480,6 +488,29 @@ % \end{macrocode} % %\ifJAPANESE +% フォント関連のデフォルト設定ファイルである、 +% \file{pldefs.ltx}を読み込みます。 +% \TeX{}の入力ファイル検索パスに設定されている +% ディレクトリに\file{pldefs.cfg}ファイルがある場合は、 +% そのファイルを使います。 +% \changes{v1.0s}{2017/12/05}{デフォルト設定ファイルの読み込みを +% \file{plcore.ltx}から\file{platex.ltx}へ移動} +%\else +% Load font-related default settings, \file{pldefs.ltx}. +% If a file \file{pldefs.cfg} is found, then that file will be +% used instead. +% \changes{v1.0s}{2017/12/05}{Moved loading default settings +% from \file{plcore.ltx} to \file{platex.ltx}} +%\fi +% \begin{macrocode} +\InputIfFileExists{pldefs.cfg} + {\typeout{*************************************^^J% + * Local config file pldefs.cfg used^^J% + *************************************}}% + {\input{pldefs.ltx}} +% \end{macrocode} +% +%\ifJAPANESE % フォーマット作成時に\pLaTeX{}のバージョンがわかるように、 % 端末に表示します。 %\else @@ -546,7 +577,10 @@ % \end{itemize} % % また、プリロードフォントや組版パラメータなどのデフォルト設定は、 -% \file{plcore.ltx}の中で\file{pldefs.ltx}をロードすることにより行います。 +% \file{platex.ltx}の中で\file{pldefs.ltx}をロードすることにより行います +% \footnote{アスキー版では\file{plcore.ltx}の中でロードしていましたが、 +% 2018年以降の新しいコミュニティ版\pLaTeX{}では +% \file{platex.ltx}から読み込むことにしました。}。 % このファイル\file{pldefs.ltx}も\file{plfonts.dtx}から生成されます。 % \begin{chuui} % このファイルに記述されている設定を変更すれば @@ -568,7 +602,10 @@ % \end{itemize} % % Moreover, default settings of pre-loaded fonts and typesetting parameters -% are done by loading \file{pldefs.ltx} inside \file{plcore.ltx}. +% are done by loading \file{pldefs.ltx} inside +% \file{platex.ltx}.\footnote{ASCII \pLaTeX\ loaded \file{pldefs.ltx} +% inside \file{plcore.ltx}; however, \pLaTeX\ community edition newer than +% 2018 loads \file{pldefs.ltx} inside \file{platex.ltx}.} % This file \file{pldefs.ltx} is also stripped from \file{plfonts.dtx}. % \begin{chuui} % You can customize \pLaTeXe\ by tuning these settings. @@ -727,15 +764,12 @@ % \item oldpfont.sty\par % \pLaTeX~2.09のフォントコマンドを提供するパッケージ。 % \file{pl209.dtx}から作成される。 -% -% \item ascmac.sty, tascmac.sty\par -% \LaTeX{}の標準機能の範囲で、図や罫線で囲んだボックスを出力する命令 -% などを提供するパッケージ。旧バージョンの\pLaTeX{}でも配布されていた。 -% -% \item nidanfloat.sty\par -% 二段組時に段抜きのフロートをページ下部にも配置可能にする -% パッケージ。 % \end{itemize} +% +% なお、以前のバージョンに同梱していたascmacパッケージと +% nidanfloatパッケージは、別のバンドルとして独立させました。 +% \changes{v1.0t}{2018/02/07}{ascmacパッケージを独立させた} +% \changes{v1.0u}{2018/02/18}{nidanfloatパッケージを独立させた} %\else % \pLaTeXe\ packages: % \changes{v1.0d}{2016/01/27}{Updated descriptions of \pLaTeXe\ files} @@ -761,15 +795,13 @@ % \item oldpfont.sty\par % Provides \pLaTeX~2.09 font commands; % stripped from \file{pl209.dtx}. -% -% \item ascmac.sty, tascmac.sty\par -% Create fancy boxes etc., within the scope of native -% \LaTeXe\ picture commands (thus driver-independent). -% -% \item nidanfloat.sty\par -% Enable bottom (|b|) placement option for double float in -% two column mode (\emph{nidan-kumi}). % \end{itemize} +% +% The packages ``ascmac.sty'' and ``nidanfloat.sty'', +% which had been included in previous versions of \pLaTeX, +% is now distributed as a separate bundle. +% \changes{v1.0t}{2018/02/07}{Moved ascmac package to separate bundle} +% \changes{v1.0u}{2018/02/18}{Moved nidanfloat package to separate bundle} %\fi % % @@ -1121,16 +1153,6 @@ all others indicate the places where it is used.} \title{The \pLaTeXe\ Sources} \author{Ken Nakano \& Japanese \TeX\ Development Community} -% This command will be used to input the patch file -% if that file exists. -\newcommand{\includeltpatch}{% - \def\currentfile{plpatch.ltx} - \part{plpatch} - {\let\ttfamily\relax - \xdef\filekey{\filekey, \thepart={\ttfamily\currentfile}}}% - Things we did wrong\ldots - \IndexInput{plpatch.ltx}} - % Get the date and patch level from plvers.dtx \makeatletter \let\patchdate=\@empty @@ -1138,30 +1160,17 @@ all others indicate the places where it is used.} \def\ProvidesFile#1\pfmtversion#2#3\ppatch@level#4{% \date{#2}\xdef\patchdate{#4}\endinput} \input{plvers.dtx} -\global\let\X@date=\@date - -% Add the patch version if available. - \long\def\Xdef#1#2#3\def#4#5{% - \xdef\X@date{#2}% - \xdef\patchdate{#5}% - \endinput}% - \InputIfFileExists{plpatch.ltx} - {\let\def\Xdef}{\global\let\includeltpatch\relax} \endgroup -\ifx\@date\X@date - \def\Xpatch{0} - \ifx\patchdate\Xpatch\else - % number is assumed - \ifnum\patchdate>0 - \edef\@date{\@date\space Patch level\space\patchdate} - \else - \edef\@date{\@date\space Pre-Release\patchdate} - \fi\fi +% Add the patch version if available. +\def\Xpatch{0} +\ifx\patchdate\Xpatch\else +% number is assumed +\ifnum\patchdate>0 + \edef\@date{\@date\space Patch level\space\patchdate} \else - \@warning{plpatch.ltx does not match plvers.dtx!} - \let\includeltpatch\relax -\fi + \edef\@date{\@date\space Pre-Release\patchdate} +\fi\fi \makeatother \pagenumbering{roman} @@ -1187,14 +1196,12 @@ all others indicate the places where it is used.} \DocInclude{jltxdoc} % dtx documents class -%\includeltpatch % patch file (comment out May 8, 2016) - % \end{macrocode} %\ifJAPANESE % \file{ltxdoc.cfg}に|\AtEndOfClass{\OnlyDescription}|が指定されている場合は、 % ここで終了します。 %\else -% Stop here if ltxdoc.cfg says |\AtEndOfClass{\OnlyDescription}|. +% Stop here if \file{ltxdoc.cfg} says |\AtEndOfClass{\OnlyDescription}|. %\fi % \begin{macrocode} \StopEventually{\end{document}} diff --git a/Master/texmf-dist/source/platex/base/platexrelease.dtx b/Master/texmf-dist/source/platex/base/platexrelease.dtx index 792685fe724..ebfd5305369 100644 --- a/Master/texmf-dist/source/platex/base/platexrelease.dtx +++ b/Master/texmf-dist/source/platex/base/platexrelease.dtx @@ -23,15 +23,19 @@ % \changes{v1.0h}{2017/09/26}{p\LaTeX\ \texttt{!<2017/07/29!>}版に警告} % \changes{v1.0i}{2017/12/06}{タイポ修正} % \changes{v1.0j}{2018/01/27}{p\LaTeX\ \texttt{!<2017/09/26!>}版に警告} +% \changes{v1.0k}{2018/01/27}{Add \cs{platexreleaseversion} info +% to \cs{ProvidesPackage} output (sync with latexrelease.dtx v1.0i)} % \fi % % \iffalse \NeedsTeXFormat{pLaTeX2e} %<*driver> +\def\platexreleaseversion{} \ProvidesFile{platexrelease.dtx} % %\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)] %<*driver> \documentclass{jltxdoc} \GetFileInfo{platexrelease.dtx} diff --git a/Master/texmf-dist/source/platex/base/platexrelease.ins b/Master/texmf-dist/source/platex/base/platexrelease.ins index fccdc2ae146..d7b49dc39bd 100644 --- a/Master/texmf-dist/source/platex/base/platexrelease.ins +++ b/Master/texmf-dist/source/platex/base/platexrelease.ins @@ -1,13 +1,13 @@ \input docstrip \keepsilent -\usedir{tex/platex/base} \ifToplevel{\askonceonly} +\usedir{tex/platex/base} \Msg{*** Generating the pLaTeX files for supporting latexrelease ***} \preamble -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/source/platex/base/plcls.ins b/Master/texmf-dist/source/platex/base/plcls.ins index 600b914c7b9..9a19b77d302 100644 --- a/Master/texmf-dist/source/platex/base/plcls.ins +++ b/Master/texmf-dist/source/platex/base/plcls.ins @@ -8,7 +8,7 @@ \preamble 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/source/platex/base/plcore.dtx b/Master/texmf-dist/source/platex/base/plcore.dtx index 156d9319100..f15de60e8e7 100644 --- a/Master/texmf-dist/source/platex/base/plcore.dtx +++ b/Master/texmf-dist/source/platex/base/plcore.dtx @@ -80,13 +80,18 @@ % \changes{v1.2u}{2017/11/04}{emathの\cs{marusuuref}対策} % \changes{v1.2v}{2018/01/27}{v1.2oとv1.2qの修正で\cs{nolinebreak}が % 効かない場合があったので、元に戻した} +% \changes{v1.2w}{2018/02/24}{e-up\TeX{}でも\cs{omathchardef}を使用} +% \changes{v1.2x}{2018/03/01}{JFMグルーノードを削除するマクロ追加} +% \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}を仕込むマクロ追加} % \fi % % \iffalse %<*driver> \NeedsTeXFormat{pLaTeX2e} % \fi -\ProvidesFile{plcore.dtx}[2018/01/27 v1.2v pLaTeX core file] +\ProvidesFile{plcore.dtx}[2018/03/01 v1.2x pLaTeX core file] % \iffalse \documentclass{jltxdoc} \GetFileInfo{plcore.dtx} @@ -183,11 +188,51 @@ \def\documentstyle{% \makeatletter\input{pl209.def}\makeatother \documentclass} +% % \end{macrocode} % \end{macro} % % % +% \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} +% +% % \subsection{改ページ} % 縦組のとき、改ページ後の内容が偶数ページ(右ページ)からはじまるようにします。 % 横組のときには、奇数ページ(右ページ)からはじまります。 @@ -197,6 +242,7 @@ % \pstyle{empty}にし、ヘッダとフッタが入らないようにしています。 % \file{ltoutput.dtx}の定義を、縦組、横組に合わせて、定義しなおしたものです。 % \begin{macrocode} +%<*plcore> \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page \iftdir @@ -1624,15 +1670,21 @@ % しまうので、p\LaTeX{}では追加の対処を入れます。 % % まず、|l|, |c|, |r|の場合です。 -% セルの要素を|\mbox|に入れ、その最初で|\inhibitglue|を発行します。 +% 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{2017/09/26}{\@tabclassz} +%\plIncludeInRelease{2018/03/09}{\@tabclassz} % {Inhibit JFM glue in tabular cells}% %<*plcore|platexrelease> +\ifx\removejfmglue\@undefined \def\@tabclassz{% \ifcase\@lastchclass \@acolampacol @@ -1656,8 +1708,59 @@ \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{% +% \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}}} +%\plEndIncludeInRelease %\plIncludeInRelease{2017/07/29}{\@tabclassz} % {Inhibit JFM glue in tabular cells}% %\def\@tabclassz{% @@ -1714,16 +1817,34 @@ % \end{macro} % % \begin{macro}{\@classv} -% 次に、|p|の場合です。|\mbox{}\inhibitglue|と|\unskip|を追加しています。 +% 次に、|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{2017/07/29}{\@classv} +%\plIncludeInRelease{2018/03/09}{\@classv} % {Inhibit JFM glue in tabular cells}% %<*plcore|platexrelease> -\def\@classv{\@addtopreamble{\@startpbox{\@nextchar}\mbox{}\inhibitglue\ignorespaces +\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 @@ -1732,6 +1853,29 @@ % \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} +% % % \section{2013年以降の新しいp\TeX{}対応} % \LaTeXe{}のカーネルのコードをそのまま使うと、2013年以降のp\TeX{}では @@ -1864,7 +2008,7 @@ % ので、e-p\TeX{}の拡張レジスタを利用できるように設定します。 % \changes{v1.2j}{2016/11/09}{FAM256パッチ適用e-p\TeX{}に対応} % \begin{macrocode} -%\plIncludeInRelease{2016/11/29}% +%\plIncludeInRelease{2018/03/09}% % {\e@alloc@chardef}{Extended Allocation (FAM256)}% %<*plcore|platexrelease> % \end{macrocode} @@ -1879,16 +2023,17 @@ \else % \end{macrocode} % e-\TeX{}拡張で$2^{15}$個のレジスタが利用できます。 -% ^^A 「FAM256なしのe-(u)p\TeX{}」は事実上存在しないはず。 +% ^^A 備忘録:「FAM256なしのe-(u)p\TeX{}」は事実上存在しないはず。 % ^^A ただし、たとえばe-(u)p\TeX{}をベースにした % ^^A p\TeX{}-ng (Asiatic pTeX)はe-\TeX{}拡張を持っていて、 % ^^A FAM256パッチは適用されていないため、ここに該当する。 % ^^A cf: https://github.com/clerkma/ptex-ng % ^^A なお、p\TeX{}-ngはe-p\TeX{}と同様にpdf\TeX{}拡張の % ^^A 一部(e-p\TeX{}と範囲が一致しない)を持っていること、 -% ^^A また|\lastnodechar|などのe-p\TeX{}独自のプリミティブを -% ^^A 持っていないことにも注意…だったが、2017/09/06付で -% ^^A p\TeX{}-ngにも|\lastnodechar|が追加された。 +% ^^A また|\epTeXinputencoding|などのe-p\TeX{}独自のプリミティブを +% ^^A 持っていないことにも注意。 +% ^^A (|\lastnodechar|もe-p\TeX{}独自だったが、2017/09/06付で +% ^^A p\TeX{}-ngにも追加されている。) % \begin{macrocode} \mathchardef\e@alloc@top=32767 \let\e@alloc@chardef\mathchardef @@ -1896,19 +2041,39 @@ \else % \end{macrocode} % FAM256パッチが適用されたe-p\TeX{}の場合は、$2^{16}$個のレジスタが利用できます。 +% \changes{v1.2w}{2018/02/24}{e-up\TeX{}でも\cs{omathchardef}を使用} +% ^^A 備忘録:up\TeX{}では|\omathchardef|でなく|\chardef|も可だが、 +% ^^A フォーマット作成時に|-kanji-internal=euc|が指定される可能性が +% ^^A ないとは言い切れないので、FAM256パッチ適用済e-(u)p\TeX{}ならば +% ^^A 常に|\omathchardef|を用いることにする。 % \begin{macrocode} - \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 % \end{macrocode} % \begin{macrocode} % %\plEndIncludeInRelease +%\plIncludeInRelease{2016/11/29}% +% {\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 +% \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 +%\plEndIncludeInRelease %\plIncludeInRelease{2015/01/01}% % {\e@alloc@chardef}{Extended Allocation (FAM256)}% %\ifx\widowpenalties\@undefined diff --git a/Master/texmf-dist/source/platex/base/pldocs.ins b/Master/texmf-dist/source/platex/base/pldocs.ins index d1151a76314..f5ad788c1fc 100644 --- a/Master/texmf-dist/source/platex/base/pldocs.ins +++ b/Master/texmf-dist/source/platex/base/pldocs.ins @@ -8,7 +8,7 @@ \preamble 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/source/platex/base/plfmt.ins b/Master/texmf-dist/source/platex/base/plfmt.ins index 3d5689c16b6..bd64099ef5b 100644 --- a/Master/texmf-dist/source/platex/base/plfmt.ins +++ b/Master/texmf-dist/source/platex/base/plfmt.ins @@ -1,14 +1,14 @@ \input docstrip \keepsilent -\usedir{tex/platex/base} \ifToplevel{\askonceonly} +\usedir{tex/platex/base} \Msg{*** Generating the pLaTeX files for making the documents ***} \preamble 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/source/platex/base/plfonts.dtx b/Master/texmf-dist/source/platex/base/plfonts.dtx index b603356b19c..08d4ac126ff 100644 --- a/Master/texmf-dist/source/platex/base/plfonts.dtx +++ b/Master/texmf-dist/source/platex/base/plfonts.dtx @@ -3,7 +3,7 @@ % % Copyright 1994-2006 ASCII Corporation. % Copyright (c) 2010 ASCII MEDIA WORKS -% 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). % ------------------------------------------------------------- @@ -73,13 +73,16 @@ % 具体的な値ではなく「空」で初期化} % \changes{v1.6j}{2017/11/06}{縦横のエンコーディングのセット化を % plcoreからpldefsへ移動} +% \changes{v1.6k}{2017/12/05}{デフォルト設定ファイルの読み込みを +% \file{plcore.ltx}から\file{platex.ltx}へ移動} +% \changes{v1.6l}{2018/02/04}{和文スケール値を明文化} % \fi % % \iffalse %<*driver> \NeedsTeXFormat{pLaTeX2e} % \fi -\ProvidesFile{plfonts.dtx}[2017/11/06 v1.6j pLaTeX New Font Selection Scheme] +\ProvidesFile{plfonts.dtx}[2018/02/04 v1.6l pLaTeX New Font Selection Scheme] % \iffalse \documentclass{jltxdoc} \GetFileInfo{plfonts.dtx} @@ -119,7 +122,7 @@ % \begin{center} % \begin{tabular}{l|p{0.7\linewidth}} % \emph{オプション} & \emph{意味}\\\hline -% plcore & \file{plfonts.ltx}を生成します。\\ +% plcore & \file{plcore.ltx}の断片を生成します。\\ % trace & \file{ptrace.sty}を生成します。\\ % JY1mc & 横組用、明朝体のフォント定義ファイルを生成します。\\ % JY1gt & 横組用、ゴシック体のフォント定義ファイルを生成します。\\ @@ -2086,19 +2089,12 @@ % % % \subsection{デフォルト設定ファイルの読み込み} -% 最後に、デフォルト設定ファイルである、\file{pldefs.ltx}を読み込みます。 -% このファイルについての詳細は、第\ref{plfonts:pldefs}節を参照してください。 -% \TeX{}の入力ファイル検索パスに設定されているディレクトリに\file{pldefs.cfg}% -% ファイルがある場合は、そのファイルを使います。 -% \begin{macrocode} -%<*plcore> -\InputIfFileExists{pldefs.cfg} - {\typeout{*************************************^^J% - * Local config file pldefs.cfg used^^J% - *************************************}}% - {\input{pldefs.ltx}} -% -% \end{macrocode} +% デフォルト設定ファイル\file{pldefs.ltx}は、もともと\file{plcore.ltx}の途中で +% 読み込んでいましたが、2018年以降の新しいコミュニティ版\pLaTeX{}では +% \file{platex.ltx}から読み込むことにしました。 +% 実際の中身については、第\ref{plfonts:pldefs}節を参照してください。 +% \changes{v1.6k}{2017/12/05}{デフォルト設定ファイルの読み込みを +% \file{plcore.ltx}から\file{platex.ltx}へ移動} % % % @@ -2108,7 +2104,6 @@ % この節での内容は\file{pldefs.ltx}に出力されます。 % このファイルの内容を\file{plcore.ltx}に含めてもよいのですが、 % デフォルトの設定を参照しやすいように、別ファイルにしてあります。 -% \file{pldefs.ltx}は\file{plcore.ltx}から読み込まれます。 % % プリロードサイズは、\dst{}プログラムのオプションで変更することができます。 % これ以外の設定を変更したい場合は、\file{pldefs.ltx}を @@ -2117,13 +2112,13 @@ % \begin{macrocode} %<*pldefs> \ProvidesFile{pldefs.ltx} - [2017/11/06 v1.6j pLaTeX Kernel (Default settings)] + [2018/02/04 v1.6l pLaTeX Kernel (Default settings)] % % \end{macrocode} % % \subsection{テキストフォント} % テキストフォントのための属性やエラー書体などの宣言です。 -% +% p\LaTeX{}のデフォルトの横組エンコードはJY1、縦組エンコードはJT1とします。 % \noindent % 縦横エンコード共通: % \begin{macrocode} @@ -2169,7 +2164,7 @@ \input{jt1mc.fd} \input{jt1gt.fd} % \end{macrocode} -% フォントを有効にする +% フォントを有効にします。 % \begin{macrocode} \fontencoding{JT1}\selectfont \fontencoding{JY1}\selectfont @@ -2232,7 +2227,7 @@ % \subsection{プリロードフォント} % あらかじめフォーマットファイルにロードされるフォントの宣言です。 % \dst{}プログラムのオプションでロードされるフォントのサイズを -% 変更することができます。\file{platex.ins}では|xpt|を指定しています。 +% 変更することができます。\file{plfmt.ins}では|xpt|を指定しています。 % \begin{macrocode} %<*xpt> \DeclarePreloadSizes{JY1}{mc}{m}{n}{5,7,10,12} @@ -2358,13 +2353,22 @@ %\ProvidesFile{jy1gt.fd} %\ProvidesFile{jt1mc.fd} %\ProvidesFile{jt1gt.fd} -% [1997/01/24 v1.3 KANJI font defines] +% [2018/02/04 v1.6l KANJI font defines] % \end{macrocode} % 横組用、縦組用ともに、 % 明朝体のシリーズ|bx|がゴシック体となるように宣言しています。 % \changes{v1.2}{1995/11/24}{it, sl, sc の宣言を外した} % \changes{v1.3b}{1997/01/29}{フォント定義ファイルのサイズ指定の調整} % \changes{v1.3b}{1997/03/11}{すべてのサイズをロード可能にした} +% +% p\LaTeX{}では従属書体にOT1エンコーディングを指定しています。 +% また、要求サイズ(指定されたフォントサイズ)が10ptのとき、 +% 全角幅の実寸が9.62216ptとなるようにしますので、 +% 和文スケール値($1\,\mathrm{zw} \div \textmc{要求サイズ}$)は +% $9.62216\,\mathrm{pt}/10\,\mathrm{pt}=0.962216$です。 +% min10系のメトリックは全角幅が9.62216ptでデザインされているので、 +% これを1倍で読込みます。 +% \changes{v1.6l}{2018/02/04}{和文スケール値を明文化} % \begin{macrocode} %<*JY1mc> \DeclareKanjiFamily{JY1}{mc}{} diff --git a/Master/texmf-dist/source/platex/base/plnews.cls b/Master/texmf-dist/source/platex/base/plnews.cls deleted file mode 100644 index a39b6cbb991..00000000000 --- a/Master/texmf-dist/source/platex/base/plnews.cls +++ /dev/null @@ -1,100 +0,0 @@ -\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/source/platex/base/plvers.dtx b/Master/texmf-dist/source/platex/base/plvers.dtx index c222a47b19b..421ed0a6a93 100644 --- a/Master/texmf-dist/source/platex/base/plvers.dtx +++ b/Master/texmf-dist/source/platex/base/plvers.dtx @@ -3,7 +3,7 @@ % % Copyright 1995-2006 ASCII Corporation. % Copyright (c) 2010 ASCII MEDIA WORKS -% 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). % ------------------------------------------------------------- @@ -63,12 +63,15 @@ % \file{platex.ltx}から\file{plcore.ltx}へ移動} % \changes{v1.1g}{2017/12/04}{\pLaTeX{}のバナーの定義時に % \cs{pfmtname}, \cs{pfmtversion}, \cs{ppatch@level}を展開しないように} +% \changes{v1.1h}{2018/01/10}{Modify \cs{plIncludeInRelease} code +% to check matching \cs{plEndIncluderelease} +% (sync with ltvers 2018/01/08 v1.1a)} % \fi % % \iffalse %<*driver> % \fi -\ProvidesFile{plvers.dtx}[2017/12/04 v1.1g pLaTeX Kernel (Version Info)] +\ProvidesFile{plvers.dtx}[2018/01/10 v1.1h pLaTeX Kernel (Version Info)] % \iffalse \documentclass{jltxdoc} \GetFileInfo{plvers.dtx} @@ -133,10 +136,10 @@ % %\edef\platexreleaseversion %<*plcore|platexrelease> - {2017/10/28} + {2018/03/09} % %<*plcore> -\def\ppatch@level{4} +\def\ppatch@level{0} % % \end{macrocode} % \end{macro} @@ -336,9 +339,28 @@ % \cs{plEndIncludeInRelease}を新設。} % \changes{v1.1e}{2017/11/09}{\file{latexrelease}と % \cs{platexrelease}のエミュレート内部処理を分離} +% \changes{v1.1h}{2018/01/10}{Modify \cs{plIncludeInRelease} code +% to check matching \cs{plEndIncluderelease} +% (sync with ltvers 2018/01/08 v1.1a)} +% +% \iffalse +% 備忘録:\LaTeX{}では\cs{if@includeinrelease}の定義を +% \file{ltvers.dtx}ではなく\file{ltdefns.dtx}に遅らせてある。 +% しかし、これは\cs{newif}がその時点で定義されていないからにすぎず、 +% \pLaTeX{}では遅らせる必要がない。 +% \fi +% % \begin{macrocode} %<*plcore|platexrelease> -\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]}} % \end{macrocode} @@ -357,6 +379,7 @@ \expandafter\expandafter\expandafter\@gobble@plIncludeInRelease \else \GenericInfo{}{Applying: \the\toks@}% + \@plincludeinreleasetrue \expandafter\let\csname\string#2+\@currname+plIIR\endcsname\@empty \fi \else @@ -367,8 +390,28 @@ % \end{macrocode} % % \begin{macrocode} -\long\def\@gobble@plIncludeInRelease#1\plEndIncludeInRelease{} -\let\plEndIncludeInRelease\relax +\def\plEndIncludeInRelease{% + \if@plincludeinrelease + \@plincludeinreleasefalse + \else + \PackageError{platexrelease} + {mis-matched \string\plEndIncludeInRelease}{}% + \fi} +% \end{macrocode} +% +% \begin{macrocode} +\long\def\@gobble@plIncludeInRelease#1\plEndIncludeInRelease{% + \@plincludeinreleasefalse + \@check@plIncludeInRelease#1\plIncludeInRelease + \@check@plIncludeInRelease\@end@check@plIncludeInRelease} +% \end{macrocode} +% \begin{macrocode} +\long\def\@check@plIncludeInRelease#1\plIncludeInRelease + #2#3\@end@check@plIncludeInRelease{% + \ifx\@check@plIncludeInRelease#2\else + \PackageError{platexrelease} + {skipped \string\plIncludeInRelease}{}% + \fi} % % \end{macrocode} % \end{macro} 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