texlive[56476] Master/texmf-dist: bxjscls (29sep20)
commits+karl at tug.org
commits+karl at tug.org
Tue Sep 29 23:24:54 CEST 2020
Revision: 56476
http://tug.org/svn/texlive?view=revision&revision=56476
Author: karl
Date: 2020-09-29 23:24:54 +0200 (Tue, 29 Sep 2020)
Log Message:
-----------
bxjscls (29sep20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/bxjscls/README-ja.md
trunk/Master/texmf-dist/doc/latex/bxjscls/README.md
trunk/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf
trunk/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex
trunk/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf
trunk/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls
Modified: trunk/Master/texmf-dist/doc/latex/bxjscls/README-ja.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bxjscls/README-ja.md 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/doc/latex/bxjscls/README-ja.md 2020-09-29 21:24:54 UTC (rev 56476)
@@ -99,6 +99,8 @@
更新履歴
--------
+ * Version 2.2b 〈2020/09/29〉
+ - LaTeX カーネル 2020/10/01 版への対応。
* Version 2.2a 〈2020/09/22〉
- バグ修正。
* Version 2.2 〈2020/09/04〉
Modified: trunk/Master/texmf-dist/doc/latex/bxjscls/README.md
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex 2020-09-29 21:24:54 UTC (rev 56476)
@@ -11,8 +11,8 @@
\bxtexlogoimport{*}
\usepackage{shortvrb}
\MakeShortVerb{\|}
-\newcommand{\PkgVersion}{2.2a}
-\newcommand{\PkgDate}{2020/09/22}
+\newcommand{\PkgVersion}{2.2b}
+\newcommand{\PkgDate}{2020/09/29}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}\nobr#1\nobr\mbox{}$\rangle$}
\newcommand{\Note}{\par\noindent ※}
Modified: trunk/Master/texmf-dist/doc/latex/bxjscls/bxjscls.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx 2020-09-29 21:24:54 UTC (rev 56476)
@@ -56,7 +56,8 @@
%<*driver>
\ProvidesFile{bxjscls.dtx}
%</driver>
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
+% [2020/09/22 v2.2a BXJS document classes]
% [2020/09/04 v2.2 BXJS document classes]
% [2020/05/28 v2.1 BXJS document classes]
% [2020/04/04 v2.0a BXJS document classes]
@@ -3488,6 +3489,17 @@
% \paragraph{geometry パッケージを読み込む \ZRX}
% \mbox{}
% \begin{ZRnote}
+% ムニャムニャ。
+% \begin{macrocode}
+\def\bxjs at geometry@name{geometry}
+\ifx\AddToHook\@undefined
+ \let\bxjs at apply@bd at pre@geometry at hook\AtBeginDocument
+\else
+ \def\bxjs at apply@bd at pre@geometry at hook{%
+ \AddToHook{begindocument}[\bxjs at geometry@name]}
+\fi
+% \end{macrocode}
+%
% |geoemtry=class| の場合に、実際に |geometry| パッケージを読みこむ。
% \begin{macrocode}
\ifx\bxjs at geometry\bxjs at geometry@class
@@ -3516,13 +3528,14 @@
% \Note |geometry| のbegin-documentフックにおいて、Lua{\TeX}の
% 旧版互換を有効にする。
% \begin{macrocode}
-\AtBeginDocument{\bxjs at bd@pre at geometry@hook}
-\AtBeginDocument{\ImposeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook
+\bxjs at apply@bd at pre@geometry at hook{\bxjs at bd@pre at geometry@hook}
+\bxjs at apply@bd at pre@geometry at hook{\ImposeOldLuaTeXBehavior}
\bxjs at preproc@layout
\edef\bxjs at next{%
\noexpand\RequirePackage[\bxjs at layout@paper,\bxjs at layout]{geometry}%
}\bxjs at next
-\AtBeginDocument{\RevokeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook{\RevokeOldLuaTeXBehavior}
% \end{macrocode}
%
% \begin{macro}{\bxjs at geometry@driver}
@@ -4562,7 +4575,7 @@
% |\title| にフックを入れる。
% \begin{macrocode}
\renewcommand*{\title}[1]{\bxjs at decl@subtitle\gdef\@title{#1}}
-\AtBeginDocument{\bxjs at decl@subtitle}
+\g at addto@macro\bxjs at begin@document at hook{\bxjs at decl@subtitle}
\def\bxjs at decl@subtitle{%
\global\let\bxjs at decl@subtitle\relax
\ifx\subtitle\@undefined
@@ -9525,6 +9538,12 @@
% DVIのなるべく早い位置にspecialを出力する。
% \begin{macrocode}
\@onlypreamble\bxjs at urgent@special
+\@onlypreamble\bxjs at urgent@special at a
+% \end{macrocode}
+% {\LaTeX}カーネルの新フック管理が導入済かを調べる。
+% 未導入の古い版である場合。
+% \begin{macrocode}
+\ifx\AddToHook\@undefined
\def\bxjs at urgent@special#1{%
\AtBeginDvi{\special{#1}}%
\g at addto@macro\bxjs at begin@document at hook{%
@@ -9538,6 +9557,18 @@
}%
}
% \end{macrocode}
+% 導入済の場合。
+% \Note 自分が先行する必要がある対象のパッケージを適宜追加する。
+% \begin{macrocode}
+\else
+ \def\bxjs at urgent@special#1{%
+ \bxjs at urgent@special at a
+ \AddToHook{shipout/firstpage}[./urgent]{\special{#1}}}
+ \def\bxjs at urgent@special at a{%
+ \DeclareHookRule{shipout/firstpage}{./urgent}{<}{hyperref}%
+ \global\let\bxjs at urgent@special at a\relax}
+\fi
+% \end{macrocode}
% \end{macro}
%
%^^A----------------
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls 2020-09-29 21:24:54 UTC (rev 56476)
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsarticle}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjs at clsname{bxjsarticle}
\newif\ifjsc at needsp@tch
@@ -1149,6 +1149,13 @@
}
\edef\jsGeometryOptions{%
\bxjs at layout@paper,\bxjs at layout}
+\def\bxjs at geometry@name{geometry}
+\ifx\AddToHook\@undefined
+ \let\bxjs at apply@bd at pre@geometry at hook\AtBeginDocument
+\else
+ \def\bxjs at apply@bd at pre@geometry at hook{%
+ \AddToHook{begindocument}[\bxjs at geometry@name]}
+\fi
\ifx\bxjs at geometry\bxjs at geometry@class
\ifbxjs at papersize
\ifx\bxjs at driver@given\bxjs at driver@@dvipdfmx
@@ -1160,13 +1167,14 @@
\else
\PassOptionsToPackage{driver=none}{geometry}
\fi
-\AtBeginDocument{\bxjs at bd@pre at geometry@hook}
-\AtBeginDocument{\ImposeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook
+\bxjs at apply@bd at pre@geometry at hook{\bxjs at bd@pre at geometry@hook}
+\bxjs at apply@bd at pre@geometry at hook{\ImposeOldLuaTeXBehavior}
\bxjs at preproc@layout
\edef\bxjs at next{%
\noexpand\RequirePackage[\bxjs at layout@paper,\bxjs at layout]{geometry}%
}\bxjs at next
-\AtBeginDocument{\RevokeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook{\RevokeOldLuaTeXBehavior}
\let\bxjs at geometry@driver\Gm at driver
\bxjs at postproc@layout
\g at addto@macro\bxjs at bd@pre at geometry@hook{%
@@ -1310,7 +1318,7 @@
}
\newcommand*{\jsSubtitle}[1]{\gdef\bxjs at subtitle{#1}}
\renewcommand*{\title}[1]{\bxjs at decl@subtitle\gdef\@title{#1}}
-\AtBeginDocument{\bxjs at decl@subtitle}
+\g at addto@macro\bxjs at begin@document at hook{\bxjs at decl@subtitle}
\def\bxjs at decl@subtitle{%
\global\let\bxjs at decl@subtitle\relax
\ifx\subtitle\@undefined
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls 2020-09-29 21:24:54 UTC (rev 56476)
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsbook}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjs at clsname{bxjsbook}
\newif\ifjsc at needsp@tch
@@ -1183,6 +1183,13 @@
}
\edef\jsGeometryOptions{%
\bxjs at layout@paper,\bxjs at layout}
+\def\bxjs at geometry@name{geometry}
+\ifx\AddToHook\@undefined
+ \let\bxjs at apply@bd at pre@geometry at hook\AtBeginDocument
+\else
+ \def\bxjs at apply@bd at pre@geometry at hook{%
+ \AddToHook{begindocument}[\bxjs at geometry@name]}
+\fi
\ifx\bxjs at geometry\bxjs at geometry@class
\ifbxjs at papersize
\ifx\bxjs at driver@given\bxjs at driver@@dvipdfmx
@@ -1194,13 +1201,14 @@
\else
\PassOptionsToPackage{driver=none}{geometry}
\fi
-\AtBeginDocument{\bxjs at bd@pre at geometry@hook}
-\AtBeginDocument{\ImposeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook
+\bxjs at apply@bd at pre@geometry at hook{\bxjs at bd@pre at geometry@hook}
+\bxjs at apply@bd at pre@geometry at hook{\ImposeOldLuaTeXBehavior}
\bxjs at preproc@layout
\edef\bxjs at next{%
\noexpand\RequirePackage[\bxjs at layout@paper,\bxjs at layout]{geometry}%
}\bxjs at next
-\AtBeginDocument{\RevokeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook{\RevokeOldLuaTeXBehavior}
\let\bxjs at geometry@driver\Gm at driver
\bxjs at postproc@layout
\g at addto@macro\bxjs at bd@pre at geometry@hook{%
@@ -1346,7 +1354,7 @@
}
\newcommand*{\jsSubtitle}[1]{\gdef\bxjs at subtitle{#1}}
\renewcommand*{\title}[1]{\bxjs at decl@subtitle\gdef\@title{#1}}
-\AtBeginDocument{\bxjs at decl@subtitle}
+\g at addto@macro\bxjs at begin@document at hook{\bxjs at decl@subtitle}
\def\bxjs at decl@subtitle{%
\global\let\bxjs at decl@subtitle\relax
\ifx\subtitle\@undefined
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty 2020-09-29 21:24:54 UTC (rev 56476)
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesPackage{bxjscjkcat}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
\def\bxjx at pkgname{bxjscjkcat}
\newcount\bxjx at cnta
\@onlypreamble\bxjx at tmpdo
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty 2020-09-29 21:24:54 UTC (rev 56476)
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesPackage{bxjscompat}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
\def\bxac at pkgname{bxjscompat}
\let\bxac at engine=n
\def\bxac at do#1#2{%
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def 2020-09-29 21:24:54 UTC (rev 56476)
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-minimal.def}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
%% このファイルは日本語文字を含みます
\def\DeclareJaTextFontCommand#1#2{%
\DeclareRobustCommand#1[1]{%
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def 2020-09-29 21:24:54 UTC (rev 56476)
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-modern.def}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
\input{bxjsja-standard.def}
\ifnum0\if x\jsEngine1\fi\if l\jsEngine1\fi=\z@
\def\encodingdefault{T1}%
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def 2020-09-29 21:24:54 UTC (rev 56476)
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-pandoc.def}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
\input{bxjsja-standard.def}
\RequirePackage{bxjspandoc}
\@onlypreamble\bxjs at endpreamble@hook
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def 2020-09-29 21:24:54 UTC (rev 56476)
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-standard.def}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
%% このファイルは日本語文字を含みます
\input{bxjsja-minimal.def}
\bxjs at simplejasetupfalse
@@ -291,6 +291,8 @@
{\@ehc}%
\fi}}
\@onlypreamble\bxjs at urgent@special
+\@onlypreamble\bxjs at urgent@special at a
+\ifx\AddToHook\@undefined
\def\bxjs at urgent@special#1{%
\AtBeginDvi{\special{#1}}%
\g at addto@macro\bxjs at begin@document at hook{%
@@ -303,6 +305,14 @@
}{}%
}%
}
+\else
+ \def\bxjs at urgent@special#1{%
+ \bxjs at urgent@special at a
+ \AddToHook{shipout/firstpage}[./urgent]{\special{#1}}}
+ \def\bxjs at urgent@special at a{%
+ \DeclareHookRule{shipout/firstpage}{./urgent}{<}{hyperref}%
+ \global\let\bxjs at urgent@special at a\relax}
+\fi
\if j\jsEngine
\def\bxjs at apply@kanjiskip{%
\kanjiskip\@tempskipa}
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty 2020-09-29 21:24:54 UTC (rev 56476)
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesPackage{bxjspandoc}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjsp at pkgname{bxjscjkcat}
\let\bxjsp at engine=n
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls 2020-09-29 21:24:54 UTC (rev 56476)
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsreport}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjs at clsname{bxjsreport}
\newif\ifjsc at needsp@tch
@@ -1157,6 +1157,13 @@
}
\edef\jsGeometryOptions{%
\bxjs at layout@paper,\bxjs at layout}
+\def\bxjs at geometry@name{geometry}
+\ifx\AddToHook\@undefined
+ \let\bxjs at apply@bd at pre@geometry at hook\AtBeginDocument
+\else
+ \def\bxjs at apply@bd at pre@geometry at hook{%
+ \AddToHook{begindocument}[\bxjs at geometry@name]}
+\fi
\ifx\bxjs at geometry\bxjs at geometry@class
\ifbxjs at papersize
\ifx\bxjs at driver@given\bxjs at driver@@dvipdfmx
@@ -1168,13 +1175,14 @@
\else
\PassOptionsToPackage{driver=none}{geometry}
\fi
-\AtBeginDocument{\bxjs at bd@pre at geometry@hook}
-\AtBeginDocument{\ImposeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook
+\bxjs at apply@bd at pre@geometry at hook{\bxjs at bd@pre at geometry@hook}
+\bxjs at apply@bd at pre@geometry at hook{\ImposeOldLuaTeXBehavior}
\bxjs at preproc@layout
\edef\bxjs at next{%
\noexpand\RequirePackage[\bxjs at layout@paper,\bxjs at layout]{geometry}%
}\bxjs at next
-\AtBeginDocument{\RevokeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook{\RevokeOldLuaTeXBehavior}
\let\bxjs at geometry@driver\Gm at driver
\bxjs at postproc@layout
\g at addto@macro\bxjs at bd@pre at geometry@hook{%
@@ -1320,7 +1328,7 @@
}
\newcommand*{\jsSubtitle}[1]{\gdef\bxjs at subtitle{#1}}
\renewcommand*{\title}[1]{\bxjs at decl@subtitle\gdef\@title{#1}}
-\AtBeginDocument{\bxjs at decl@subtitle}
+\g at addto@macro\bxjs at begin@document at hook{\bxjs at decl@subtitle}
\def\bxjs at decl@subtitle{%
\global\let\bxjs at decl@subtitle\relax
\ifx\subtitle\@undefined
Modified: trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls 2020-09-29 21:24:33 UTC (rev 56475)
+++ trunk/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls 2020-09-29 21:24:54 UTC (rev 56476)
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsslide}
- [2020/09/22 v2.2a BXJS document classes]
+ [2020/09/29 v2.2b BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjs at clsname{bxjsslide}
\newif\ifjsc at needsp@tch
@@ -1147,6 +1147,13 @@
}
\edef\jsGeometryOptions{%
\bxjs at layout@paper,\bxjs at layout}
+\def\bxjs at geometry@name{geometry}
+\ifx\AddToHook\@undefined
+ \let\bxjs at apply@bd at pre@geometry at hook\AtBeginDocument
+\else
+ \def\bxjs at apply@bd at pre@geometry at hook{%
+ \AddToHook{begindocument}[\bxjs at geometry@name]}
+\fi
\ifx\bxjs at geometry\bxjs at geometry@class
\ifbxjs at papersize
\ifx\bxjs at driver@given\bxjs at driver@@dvipdfmx
@@ -1158,13 +1165,14 @@
\else
\PassOptionsToPackage{driver=none}{geometry}
\fi
-\AtBeginDocument{\bxjs at bd@pre at geometry@hook}
-\AtBeginDocument{\ImposeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook
+\bxjs at apply@bd at pre@geometry at hook{\bxjs at bd@pre at geometry@hook}
+\bxjs at apply@bd at pre@geometry at hook{\ImposeOldLuaTeXBehavior}
\bxjs at preproc@layout
\edef\bxjs at next{%
\noexpand\RequirePackage[\bxjs at layout@paper,\bxjs at layout]{geometry}%
}\bxjs at next
-\AtBeginDocument{\RevokeOldLuaTeXBehavior}
+\bxjs at apply@bd at pre@geometry at hook{\RevokeOldLuaTeXBehavior}
\let\bxjs at geometry@driver\Gm at driver
\bxjs at postproc@layout
\g at addto@macro\bxjs at bd@pre at geometry@hook{%
@@ -1308,7 +1316,7 @@
}
\newcommand*{\jsSubtitle}[1]{\gdef\bxjs at subtitle{#1}}
\renewcommand*{\title}[1]{\bxjs at decl@subtitle\gdef\@title{#1}}
-\AtBeginDocument{\bxjs at decl@subtitle}
+\g at addto@macro\bxjs at begin@document at hook{\bxjs at decl@subtitle}
\def\bxjs at decl@subtitle{%
\global\let\bxjs at decl@subtitle\relax
\ifx\subtitle\@undefined
More information about the tex-live-commits
mailing list.