summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls')
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls
index ef2f4f08e9c..5cdc283de6e 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}
- [2020/09/29 v2.2b BXJS document classes]
+ [2020/10/04 v2.2c BXJS document classes]
%% このファイルは日本語文字を含みます.
\def\bxjs@clsname{bxjsreport}
\newif\ifjsc@needsp@tch
@@ -92,6 +92,8 @@
\ifx\bxjs@tmpa\bxjs@tmpb
\bxjs@TUenctrue
\fi
+\newif\ifbxjs@old@hook@system
+\@ifl@t@r\fmtversion{2020/10/01}{}{\bxjs@old@hook@systemtrue}
\@gobbletwo\if\if \def\bxjs@cond#1\fi{%
#1\expandafter\@firstoftwo
\else\expandafter\@secondoftwo
@@ -1158,7 +1160,7 @@
\edef\jsGeometryOptions{%
\bxjs@layout@paper,\bxjs@layout}
\def\bxjs@geometry@name{geometry}
-\ifx\AddToHook\@undefined
+\ifbxjs@old@hook@system
\let\bxjs@apply@bd@pre@geometry@hook\AtBeginDocument
\else
\def\bxjs@apply@bd@pre@geometry@hook{%