diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-29 21:24:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-29 21:24:54 +0000 |
commit | fe206fb3eb0df9a1cb538e9dea93dcffae9c034b (patch) | |
tree | 89ed8f333cd31e27894857f22c1b237ffc5e0884 /Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls | |
parent | 65bc54688cbdc66d6cda46438c0f70648e9bf8ee (diff) |
bxjscls (29sep20)
git-svn-id: svn://tug.org/texlive/trunk@56476 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls index 3d30784030c..2771150a08f 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} - [2020/09/22 v2.2a BXJS document classes] + [2020/09/29 v2.2b BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsarticle} \newif\ifjsc@needsp@tch @@ -1149,6 +1149,13 @@ } \edef\jsGeometryOptions{% \bxjs@layout@paper,\bxjs@layout} +\def\bxjs@geometry@name{geometry} +\ifx\AddToHook\@undefined + \let\bxjs@apply@bd@pre@geometry@hook\AtBeginDocument +\else + \def\bxjs@apply@bd@pre@geometry@hook{% + \AddToHook{begindocument}[\bxjs@geometry@name]} +\fi \ifx\bxjs@geometry\bxjs@geometry@class \ifbxjs@papersize \ifx\bxjs@driver@given\bxjs@driver@@dvipdfmx @@ -1160,13 +1167,14 @@ \else \PassOptionsToPackage{driver=none}{geometry} \fi -\AtBeginDocument{\bxjs@bd@pre@geometry@hook} -\AtBeginDocument{\ImposeOldLuaTeXBehavior} +\bxjs@apply@bd@pre@geometry@hook +\bxjs@apply@bd@pre@geometry@hook{\bxjs@bd@pre@geometry@hook} +\bxjs@apply@bd@pre@geometry@hook{\ImposeOldLuaTeXBehavior} \bxjs@preproc@layout \edef\bxjs@next{% \noexpand\RequirePackage[\bxjs@layout@paper,\bxjs@layout]{geometry}% }\bxjs@next -\AtBeginDocument{\RevokeOldLuaTeXBehavior} +\bxjs@apply@bd@pre@geometry@hook{\RevokeOldLuaTeXBehavior} \let\bxjs@geometry@driver\Gm@driver \bxjs@postproc@layout \g@addto@macro\bxjs@bd@pre@geometry@hook{% @@ -1310,7 +1318,7 @@ } \newcommand*{\jsSubtitle}[1]{\gdef\bxjs@subtitle{#1}} \renewcommand*{\title}[1]{\bxjs@decl@subtitle\gdef\@title{#1}} -\AtBeginDocument{\bxjs@decl@subtitle} +\g@addto@macro\bxjs@begin@document@hook{\bxjs@decl@subtitle} \def\bxjs@decl@subtitle{% \global\let\bxjs@decl@subtitle\relax \ifx\subtitle\@undefined |