summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-18 20:14:54 +0000
committerKarl Berry <karl@freefriends.org>2021-05-18 20:14:54 +0000
commit0c77f5a20c91f0bf16aca7cda36f154161e06afc (patch)
tree38cdc891a8d6593538c58baeea3071bf7fceba45
parent795f209c807150ac14e95c4f2ded2aa468f0cb9f (diff)
bxjscls (18may21)
git-svn-id: svn://tug.org/texlive/trunk@59253 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/README-ja.md2
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/README.md1
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdfbin382178 -> 382333 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex4
-rw-r--r--Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdfbin1173854 -> 1178317 bytes
-rw-r--r--Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx106
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls5
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls5
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def31
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def7
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty2
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls5
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls5
17 files changed, 161 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/bxjscls/README-ja.md b/Master/texmf-dist/doc/latex/bxjscls/README-ja.md
index 2797e7841b6..e584fdfbaaa 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/README-ja.md
+++ b/Master/texmf-dist/doc/latex/bxjscls/README-ja.md
@@ -99,6 +99,8 @@ XeLaTeX / LuaLaTeX の上でも日本語処理パッケージと連携して使
更新履歴
--------
+ * Version 2.5a 〈2021/05/18〉
+ - 新版の Pandoc テンプレートへの対策。
* Version 2.5 〈2021/02/02〉
- `plautopatch` オプションを追加。
* Version 2.4a 〈2021/01/27〉
diff --git a/Master/texmf-dist/doc/latex/bxjscls/README.md b/Master/texmf-dist/doc/latex/bxjscls/README.md
index 054e30c6523..f54f4f6c56a 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/README.md
+++ b/Master/texmf-dist/doc/latex/bxjscls/README.md
@@ -89,6 +89,7 @@ This package is distributed under the BSD 2-Clause License.
Revision History
----------------
+ * Version 2.5a 〈2021/05/18〉
* Version 2.5 〈2021/02/02〉
* Version 2.4a 〈2021/01/27〉
* Version 2.4 〈2020/10/16〉
diff --git a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf
index b06a1f069a0..3b42fbe3194 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf
+++ b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex
index 3a8825df3b9..c13b35f031f 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex
+++ b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex
@@ -11,8 +11,8 @@
\bxtexlogoimport{*}
\usepackage{shortvrb}
\MakeShortVerb{\|}
-\newcommand{\PkgVersion}{2.5}
-\newcommand{\PkgDate}{2021/02/02}
+\newcommand{\PkgVersion}{2.5a}
+\newcommand{\PkgDate}{2021/05/18}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}\nobr#1\nobr\mbox{}$\rangle$}
\newcommand{\Note}{\par\noindent ※}
diff --git a/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf b/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf
index 0b65682c12a..1c6cc80fba2 100644
--- a/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf
+++ b/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx b/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
index 58878b80729..92ea5eaa127 100644
--- a/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
+++ b/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
@@ -56,7 +56,8 @@
%<*driver>
\ProvidesFile{bxjscls.dtx}
%</driver>
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
+% [2021/02/02 v2.5 BXJS document classes]
% [2021/01/27 v2.4a BXJS document classes]
% [2020/10/16 v2.4 BXJS document classes]
% [2020/10/10 v2.3 BXJS document classes]
@@ -2315,8 +2316,9 @@
% \begin{macrocode}
\def\bxjs@@pandoc{pandoc}
\ifx\bxjs@jadriver\bxjs@@pandoc \ifx\bxjs@plautopatch@given\@undefined
+ \ifjsWitheTeX
\bxjs@plautopatchtrue
-\fi\fi
+\fi\fi\fi
\ifx j\jsEngine \ifbxjs@plautopatch
\RequirePackage{plautopatch}[2018/08/22]%v0.3
\fi\fi
@@ -9815,6 +9817,14 @@
% \begin{macrocode}
\ifbxjs@hyperref@enc
\bxjs@check@hyperref@unicode{false}
+% \end{macrocode}
+% 暫定的なナニカ。
+% \begin{macrocode}
+ \ifjsWithupTeX\ifbxjs@old@hook@system\else
+ \IfFileExists{pxjahyper-uni.def}{%
+ \AddToHook{package/after/hyperref}{\input{pxjahyper-uni.def}}
+ }{}
+ \fi\fi
\fi
% \end{macrocode}
%
@@ -10536,6 +10546,17 @@
\RequirePackage{bxjspandoc}
% \end{macrocode}
%
+% {\eTeX}ではない場合に警告を出す。
+% \Note 近い将来に{\eTeX}拡張を必須にする予定。
+% \begin{macrocode}
+\ifjsWitheTeX\else
+ \ClassWarningNoLine\bxjs@clsname
+ {!!!!!!!! WARNING !!!!!!!!\MessageBreak
+ This engine does not support e-TeX extension!\MessageBreak
+ Some feature might not work properly}
+\fi
+% \end{macrocode}
+%
% \begin{macro}{\bxjs@endpreamble@hook}
% |etoolbox| の |\AtEndPreamble| で実行されるBXJSクラス用のフック。
% \Note {\eTeX}以外では無効になる。
@@ -10543,12 +10564,18 @@
% \begin{macrocode}
\@onlypreamble\bxjs@endpreamble@hook
\let\bxjs@endpreamble@hook\@empty
+% \end{macrocode}
+% \end{macro}
+%
+% パッケージ読込。
+% \begin{macrocode}
+\RequirePackage{iftex}[2013/04/04]% v0.2
\ifjsWitheTeX
\RequirePackage{etoolbox}[2010/08/21]% v2.0
\AtEndPreamble{\bxjs@endpreamble@hook}
+ \RequirePackage{filehook}[2011/10/12]% v0.5d
\fi
% \end{macrocode}
-% \end{macro}
%
%^^A----------------
% \subsection{和文ドライバパラメタ}
@@ -11131,6 +11158,79 @@
% \end{macrocode}
%
%^^A----------------
+% \subsection{ifPDFTeXスイッチ}
+%
+% PandocモードではPandocの既定テンプレートを(無理やり){(u)\pTeX}に
+% 対応させることを目的にしている。
+%
+% 旧版のテンプレートでは|ifxetex|と|ifluatex|パッケージを読み込んだ
+% 上で「{\XeTeX}でも{\LuaTeX}でもないものは{pdf\TeX}」という前提の
+% 動作をしていた。
+% よって、{(u)\pTeX}に対応させる際には「{pdf\TeX}用の処理が実行される」
+% ことを前提にすればよかった。
+%
+% ところが、Pandocの2.12版では|iftex|パッケージが導入されて
+% 「{pdf\TeX}の判定を直接 |\ifPDFTeX| で行う」ように改修された。
+% このため、{(u)\pTeX}での実行でどのコードが実行されるかを予期する
+% ことが困難になってしまった。
+%
+% これに対処するため、
+% 「文書ファイルのプレアンブル実行中に限って |\ifPDFTeX| が
+% (実際とは異なり)真になるようにする」
+% という細工を施すことで、従来通り「{pdf\TeX}用の処理が実行される」
+% 前提が維持されるようにする。
+%
+% \begin{macrocode}
+\if j\jsEngine
+% \end{macrocode}
+% \begin{macro}{\bxjs@check@frontier}
+% |\bxjs@check@frontier\CS| は現在のパッケージ読込ネストレベルが
+% 丁度1であるときにのみ |\CS| を実行する。
+% \begin{macrocode}
+ \def\bxjs@check@frontier{%
+ \expandafter\bxjs@check@frontier@a\@currnamestack\noindent...\@nil}
+ \def\bxjs@check@frontier@a#1#2#3#4#5\@nil#6{%
+ \ifx\noindent#4#6\fi}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\bxjs@unforge@ifPDFTeX}
+% |\ifPDFTeX| を偽(正しい値)にする。
+% \begin{macrocode}
+ \@onlypreamble\bxjs@unforge@ifPDFTeX
+ \def\bxjs@unforge@ifPDFTeX{\global\bxjs@csletcs{ifPDFTeX}{iffalse}}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\bxjs@forge@ifPDFTeX}
+% |\ifPDFTeX| を真(偽装した値)にする。
+% \begin{macrocode}
+ \@onlypreamble\bxjs@forge@ifPDFTeX
+ \def\bxjs@forge@ifPDFTeX{\global\bxjs@csletcs{ifPDFTeX}{iftrue}}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\bxjs@unload@forge@ifPDFTeX}
+% |\ifPDFTeX| に対する細工を無効化する。
+% \begin{macrocode}
+ \def\bxjs@unload@forge@ifPDFTeX{%
+ \bxjs@unforge@ifPDFTeX
+ \global\let\bxjs@check@frontier\@gobble}
+% \end{macrocode}
+% \end{macro}
+% プレアンブル開始時は |\ifPDFTeX| は真で、終了時に偽装を無効化する。
+% |filehook| のフックで「パッケージ読込中は偽装を解除する」ことを
+% 実現している。
+% \begin{macrocode}
+ \jsAtEndOfClass{\bxjs@forge@ifPDFTeX}
+ \ifjsWitheTeX
+ \AtBeginOfEveryFile{\bxjs@check@frontier\bxjs@unforge@ifPDFTeX}%
+ \AtEndOfEveryFile{\bxjs@check@frontier\bxjs@forge@ifPDFTeX}%
+ \g@addto@macro\bxjs@endpreamble@hook{\bxjs@unload@forge@ifPDFTeX}
+ \else
+ \g@addto@macro\bxjs@begin@document@hook{\bxjs@unload@forge@ifPDFTeX}
+ \fi
+\fi
+% \end{macrocode}
+%
+%^^A----------------
% \subsection{完了}
% おしまい。
% \begin{macrocode}
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
index 1925824c606..7032930c8fd 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsarticle}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjs@clsname{bxjsarticle}
\newif\ifjsc@needsp@tch
@@ -769,8 +769,9 @@
\fi
\def\bxjs@@pandoc{pandoc}
\ifx\bxjs@jadriver\bxjs@@pandoc \ifx\bxjs@plautopatch@given\@undefined
+ \ifjsWitheTeX
\bxjs@plautopatchtrue
-\fi\fi
+\fi\fi\fi
\ifx j\jsEngine \ifbxjs@plautopatch
\RequirePackage{plautopatch}[2018/08/22]%v0.3
\fi\fi
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls
index 9517b85dc06..62d6aec7f98 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsbook}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjs@clsname{bxjsbook}
\newif\ifjsc@needsp@tch
@@ -778,8 +778,9 @@
\fi
\def\bxjs@@pandoc{pandoc}
\ifx\bxjs@jadriver\bxjs@@pandoc \ifx\bxjs@plautopatch@given\@undefined
+ \ifjsWitheTeX
\bxjs@plautopatchtrue
-\fi\fi
+\fi\fi\fi
\ifx j\jsEngine \ifbxjs@plautopatch
\RequirePackage{plautopatch}[2018/08/22]%v0.3
\fi\fi
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty
index a0d45a4222c..5cf64e98d23 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bxjscjkcat}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
\def\bxjx@pkgname{bxjscjkcat}
\newcount\bxjx@cnta
\@onlypreamble\bxjx@tmpdo
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
index 58d81eb641d..a89c3a72729 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bxjscompat}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
\def\bxac@pkgname{bxjscompat}
\let\bxac@engine=n
\def\bxac@do#1#2{%
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
index 9acf687e3b0..1017aa84960 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-minimal.def}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
%% このファイルは日本語文字を含みます
\def\DeclareJaTextFontCommand#1#2{%
\DeclareRobustCommand#1[1]{%
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def
index 5b09a0d548b..a6c4f15f4e8 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-modern.def}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
\input{bxjsja-standard.def}
\ifnum0\if x\jsEngine1\fi\if l\jsEngine1\fi=\z@
\def\encodingdefault{T1}%
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
index 19cea1b1933..8853a2d2eb7 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
@@ -21,14 +21,22 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-pandoc.def}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
\input{bxjsja-standard.def}
\RequirePackage{bxjspandoc}
+\ifjsWitheTeX\else
+ \ClassWarningNoLine\bxjs@clsname
+ {!!!!!!!! WARNING !!!!!!!!\MessageBreak
+ This engine does not support e-TeX extension!\MessageBreak
+ Some feature might not work properly}
+\fi
\@onlypreamble\bxjs@endpreamble@hook
\let\bxjs@endpreamble@hook\@empty
+\RequirePackage{iftex}[2013/04/04]% v0.2
\ifjsWitheTeX
\RequirePackage{etoolbox}[2010/08/21]% v2.0
\AtEndPreamble{\bxjs@endpreamble@hook}
+ \RequirePackage{filehook}[2011/10/12]% v0.5d
\fi
\newif\ifbxjs@jp@fix@strong \bxjs@jp@fix@strongtrue
\let\bxjs@kv@fixstrong@true\bxjs@jp@fix@strongtrue
@@ -293,6 +301,27 @@
\g@addto@macro\verb@egroup{\bxjs@pan@eghost}
\fi
\fi
+\if j\jsEngine
+ \def\bxjs@check@frontier{%
+ \expandafter\bxjs@check@frontier@a\@currnamestack\noindent...\@nil}
+ \def\bxjs@check@frontier@a#1#2#3#4#5\@nil#6{%
+ \ifx\noindent#4#6\fi}
+ \@onlypreamble\bxjs@unforge@ifPDFTeX
+ \def\bxjs@unforge@ifPDFTeX{\global\bxjs@csletcs{ifPDFTeX}{iffalse}}
+ \@onlypreamble\bxjs@forge@ifPDFTeX
+ \def\bxjs@forge@ifPDFTeX{\global\bxjs@csletcs{ifPDFTeX}{iftrue}}
+ \def\bxjs@unload@forge@ifPDFTeX{%
+ \bxjs@unforge@ifPDFTeX
+ \global\let\bxjs@check@frontier\@gobble}
+ \jsAtEndOfClass{\bxjs@forge@ifPDFTeX}
+ \ifjsWitheTeX
+ \AtBeginOfEveryFile{\bxjs@check@frontier\bxjs@unforge@ifPDFTeX}%
+ \AtEndOfEveryFile{\bxjs@check@frontier\bxjs@forge@ifPDFTeX}%
+ \g@addto@macro\bxjs@endpreamble@hook{\bxjs@unload@forge@ifPDFTeX}
+ \else
+ \g@addto@macro\bxjs@begin@document@hook{\bxjs@unload@forge@ifPDFTeX}
+ \fi
+\fi
\endinput
%%
%% End of file `bxjsja-pandoc.def'.
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
index 2be2fa09a83..29b7472c0fb 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-standard.def}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
%% このファイルは日本語文字を含みます
\input{bxjsja-minimal.def}
\bxjs@simplejasetupfalse
@@ -397,6 +397,11 @@
\bxjs@g@tmpa
\ifbxjs@hyperref@enc
\bxjs@check@hyperref@unicode{false}
+ \ifjsWithupTeX\ifbxjs@old@hook@system\else
+ \IfFileExists{pxjahyper-uni.def}{%
+ \AddToHook{package/after/hyperref}{\input{pxjahyper-uni.def}}
+ }{}
+ \fi\fi
\fi
\if \ifx\bxjs@driver@given\bxjs@driver@@dvipdfmx T%
\else\ifjsWithpTeXng T\else F\fi\fi T%
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
index f4e69960b5a..d3d6d416bf2 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bxjspandoc}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjsp@pkgname{bxjscjkcat}
\let\bxjsp@engine=n
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
index 192b8aab597..4d49391eb16 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsreport}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjs@clsname{bxjsreport}
\newif\ifjsc@needsp@tch
@@ -777,8 +777,9 @@
\fi
\def\bxjs@@pandoc{pandoc}
\ifx\bxjs@jadriver\bxjs@@pandoc \ifx\bxjs@plautopatch@given\@undefined
+ \ifjsWitheTeX
\bxjs@plautopatchtrue
-\fi\fi
+\fi\fi\fi
\ifx j\jsEngine \ifbxjs@plautopatch
\RequirePackage{plautopatch}[2018/08/22]%v0.3
\fi\fi
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls
index a4473bfddd3..19ad80f2e48 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsslide}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjs@clsname{bxjsslide}
\newif\ifjsc@needsp@tch
@@ -769,8 +769,9 @@
\fi
\def\bxjs@@pandoc{pandoc}
\ifx\bxjs@jadriver\bxjs@@pandoc \ifx\bxjs@plautopatch@given\@undefined
+ \ifjsWitheTeX
\bxjs@plautopatchtrue
-\fi\fi
+\fi\fi\fi
\ifx j\jsEngine \ifbxjs@plautopatch
\RequirePackage{plautopatch}[2018/08/22]%v0.3
\fi\fi