summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-09-14 20:02:59 +0000
committerKarl Berry <karl@freefriends.org>2022-09-14 20:02:59 +0000
commitb1dcdf9e503c7d53c26680b71eea28a7df31943a (patch)
tree2e59e659fc404dd9b6d69ea9967207719368412b /Master/texmf-dist/source
parent4fcfcd4bdadf60ba55b9e295bb7cd95f44a43f19 (diff)
jsclasses (14sep22)
git-svn-id: svn://tug.org/texlive/trunk@64386 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx33
-rw-r--r--Master/texmf-dist/source/platex/jsclasses/jslogo.dtx5
-rw-r--r--Master/texmf-dist/source/platex/jsclasses/jsverb.dtx3
-rw-r--r--Master/texmf-dist/source/platex/jsclasses/okumacro.dtx3
-rw-r--r--Master/texmf-dist/source/platex/jsclasses/okuverb.dtx3
5 files changed, 37 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx b/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
index 37567b64d9e..39c85dcabe0 100644
--- a/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
+++ b/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
@@ -9,13 +9,13 @@
% pLaTeX2ε新ドキュメントクラス(日本語 TeX 開発コミュニティ版)
% 原作者:奥村晴彦 <okumura@okumuralab.org>
%
-% Copyright 1993-2021
+% Copyright 1993-2022
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
% Copyright 1995-1999 ASCII Corporation.
% Copyright 1999-2016 Haruhiko Okumura
-% Copyright 2016-2021 Japanese TeX Development Community
+% Copyright 2016-2022 Japanese TeX Development Community
%
% \fi
%
@@ -32,9 +32,10 @@
%<*driver>
\ProvidesFile{jsclasses.dtx}
%</driver>
- [2021/06/28 jsclasses (okumura, texjporg)]
+ [2022/09/13 jsclasses (okumura, texjporg)]
%<*driver>
-\documentclass{jsarticle}
+\RequirePackage{plautopatch}
+\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
@@ -481,10 +482,14 @@
% ようですので,少し小さくします。
% また,中央の要素も |\displaystyle| にします。
%
+% [2022-09-13] \LaTeXe~2021-11-15 (ltmath.dtx 2021/10/14 v1.2j)で
+% |\@currentcounter|が追加されましたので,追随します。
+%
% \begin{macrocode}
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
+ \def\@currentcounter{equation}%
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
@@ -504,6 +509,9 @@
% \texttt{fleqn} で数式が本文左端から一定距離のところに出力されます。
% 森本さんにしたがって訂正しました。
%
+% [2022-09-13] \LaTeXe~2021-11-15 (ltmath.dtx 2021/10/14 v1.2j)で
+% |\@currentcounter|が追加されましたので,追随します。
+%
% \begin{macrocode}
\DeclareOption{leqno}{\input{leqno.clo}}
\DeclareOption{fleqn}{\input{fleqn.clo}%
@@ -511,6 +519,7 @@
\def\eqnarray{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
+ \def\@currentcounter{equation}%
\global\@eqnswtrue\m@th
\global\@eqcnt\z@
\tabskip\mathindent
@@ -771,9 +780,15 @@
% 発行する |\special| の中身を展開しておくようにしました。
% こうしないと,用紙サイズ設定を間違ってしまいます(Issue \#72)。
%
+% [2022-09-12] 次期\LaTeXe カーネルに|\stockwidth|,|\stockheight|が
+% 追加されるようですので,
+% クラスファイル側では未定義のときのみこれらの長さ変数を定義します。
+% h20y6mさん,ありがとうございます。
+%
% \begin{macrocode}
\iftombow
- \newdimen\stockwidth \newdimen\stockheight
+ \ifx\stockwidth\@undefined\newdimen\stockwidth\fi
+ \ifx\stockheight\@undefined\newdimen\stockheight\fi
\setlength{\stockwidth}{\paperwidth}
\setlength{\stockheight}{\paperheight}
\advance \stockwidth 2in
@@ -5589,6 +5604,13 @@
%
% [2018-03-11] |\next|などいくつかの内部命令を |\jsc@...| 付きの
% ユニークな名前にしました。
+%
+% [2022-09-13] \LaTeXe~2021-11-15 (ltfloat.dtx 2021/10/14 v1.2g)で
+% |\@currentcounter|が追加されましたので,追随します。
+% なお,\LaTeXe~2021-06-01 (ltfloat.dtx 2021/02/10 v1.2e)で
+% parhook対応として\cs{par}が追加されていますが,
+% 実は同時に\cs{color@endgroup}も\cs{endgraf}するように変更
+% されていますので,不要だと思います。というわけで追加しません。
% \begin{macrocode}
\long\def\@footnotetext{%
\insert\footins\bgroup
@@ -5597,6 +5619,7 @@
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
+ \def\@currentcounter{footnote}%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark
}%
diff --git a/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx b/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx
index e8350bdb61b..dc058e5ff41 100644
--- a/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx
+++ b/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx
@@ -15,7 +15,7 @@
% LaTeX 関連のロゴ(pLaTeX2ε新ドキュメントクラス付録)
%
% Copyright 1999-2016 Haruhiko Okumura
-% Copyright 2016-2019 Japanese TeX Development Community
+% Copyright 2016-2022 Japanese TeX Development Community
%
% \fi
%
@@ -29,7 +29,8 @@
%</driver>
[2019/07/25 okumura, texjporg]
%<*driver>
-\documentclass{jsarticle}
+\RequirePackage{plautopatch}
+\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
diff --git a/Master/texmf-dist/source/platex/jsclasses/jsverb.dtx b/Master/texmf-dist/source/platex/jsclasses/jsverb.dtx
index ed6fefde630..a62afba4357 100644
--- a/Master/texmf-dist/source/platex/jsclasses/jsverb.dtx
+++ b/Master/texmf-dist/source/platex/jsclasses/jsverb.dtx
@@ -22,7 +22,8 @@
%<jsverb>\NeedsTeXFormat{pLaTeX2e}
%<jsverb>\ProvidesFile{jsverb.sty}[2007/01/28 okumura]
%<*driver>
-\documentclass{jsarticle}
+\RequirePackage{plautopatch}
+\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
diff --git a/Master/texmf-dist/source/platex/jsclasses/okumacro.dtx b/Master/texmf-dist/source/platex/jsclasses/okumacro.dtx
index e2d70e47706..9f20aaf31ad 100644
--- a/Master/texmf-dist/source/platex/jsclasses/okumacro.dtx
+++ b/Master/texmf-dist/source/platex/jsclasses/okumacro.dtx
@@ -14,7 +14,8 @@
%<okumacro>\NeedsTeXFormat{pLaTeX2e}
%<okumacro>\ProvidesPackage{okumacro}[2021/07/01 okumura, texjporg]
%<*driver>
-\documentclass{jsarticle}
+\RequirePackage{plautopatch}
+\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
diff --git a/Master/texmf-dist/source/platex/jsclasses/okuverb.dtx b/Master/texmf-dist/source/platex/jsclasses/okuverb.dtx
index b6cc0256ece..36942172456 100644
--- a/Master/texmf-dist/source/platex/jsclasses/okuverb.dtx
+++ b/Master/texmf-dist/source/platex/jsclasses/okuverb.dtx
@@ -20,7 +20,8 @@
%<okuverb>\NeedsTeXFormat{pLaTeX2e}
%<okuverb>\ProvidesFile{okuverb.sty}[2003/09/03 okumura]
%<*driver>
-\documentclass{jsarticle}
+\RequirePackage{plautopatch}
+\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "