summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-30 22:40:21 +0000
committerKarl Berry <karl@freefriends.org>2018-04-30 22:40:21 +0000
commitd310a5884150cb8753e7fbea759cc579c2a305b4 (patch)
treecc70a768d9a00bc231c70af94d69a72a93e866fb /Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
parenta28e1bfccd6fe522fcd296426e4d89c7fb4f19b6 (diff)
bxjscls (30apr18)
git-svn-id: svn://tug.org/texlive/trunk@47517 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def')
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def32
1 files changed, 17 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def
index 592bf6a07a7..cb6e1a69729 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}
- [2018/03/29 v1.8a BXJS document classes]
+ [2018/04/19 v1.9 BXJS document classes]
%% このファイルは日本語文字を含みます
\input{bxjsja-minimal.def}
\bxjs@simplejasetupfalse
@@ -247,7 +247,7 @@
}
\@onlypreamble\jsCheckHyperrefUnicode
\let\jsCheckHyperrefUnicode\@empty
-\AtBeginDocument{\jsCheckHyperrefUnicode}
+\g@addto@macro\bxjs@begin@document@hook{\jsCheckHyperrefUnicode}
\@onlypreamble\bxjs@check@hyperref@unicode
\def\bxjs@check@hyperref@unicode#1{%
\g@addto@macro\jsCheckHyperrefUnicode{%
@@ -268,7 +268,7 @@
\@onlypreamble\bxjs@urgent@special
\def\bxjs@urgent@special#1{%
\AtBeginDvi{\special{#1}}%
- \AtBeginDocument{%
+ \g@addto@macro\bxjs@begin@document@hook{%
\@ifpackageloaded{atbegshi}{%
\begingroup
\toks\z@{\special{#1}}%
@@ -278,9 +278,11 @@
}{}%
}%
}
+\@onlypreamble\bxjs@resolve@jafont@paren
\def\bxjs@resolve@jafont@paren#1{%
\def\bxjs@tmpb{\let#1}%
\expandafter\bxjs@resolve@jafont@paren@a#1\@nil()\@nil\relax}
+\@onlypreamble\bxjs@resolve@jafont@paren@a
\def\bxjs@resolve@jafont@paren@a#1(#2)#3\@nil#4\relax{%
\ifx\relax#4\relax \bxjs@tmpb\jsJaFont
\else
@@ -342,16 +344,16 @@
}\bxjs@next
\fi
\begingroup
- \global\let\@gtempa\relax
+ \global\let\bxjs@g@tmpa\relax
\catcode`\|=0 \catcode`\\=12
- |def|bxjs@check#1|@nil{%
- |bxjs@check@a#1|@nil\RequirePackage|@nnil}%
- |def|bxjs@check@a#1\RequirePackage#2|@nnil{%
- |ifx$#1$|bxjs@check@b#2|@nil keyval|@nnil |fi}%
+ |def|bxjs@tmpdo#1|@nil{%
+ |bxjs@tmpdo@a#1|@nil\RequirePackage|@nnil}%
+ |def|bxjs@tmpdo@a#1\RequirePackage#2|@nnil{%
+ |ifx$#1$|bxjs@tmpdo@b#2|@nil keyval|@nnil |fi}%
|catcode`|\=0 \catcode`\|=12
- \def\bxjs@check@b#1keyval#2\@nnil{%
+ \def\bxjs@tmpdo@b#1keyval#2\@nnil{%
\ifx$#2$\else
- \xdef\@gtempa{%
+ \xdef\bxjs@g@tmpa{%
\noexpand\PassOptionsToPackage{scale=\jsScale}{otf}}%
\fi}
\@firstofone{%
@@ -362,13 +364,13 @@
\loop\if@tempswa
\ifeof\@inputcheck \@tempswafalse \fi
\if@tempswa
- \read\@inputcheck to\bxjs@line
- \expandafter\bxjs@check\bxjs@line\@nil
+ \read\@inputcheck to\bxjs@next
+ \expandafter\bxjs@tmpdo\bxjs@next\@nil
\fi
\repeat
\closein\@inputcheck
\endgroup}
-\@gtempa
+\bxjs@g@tmpa
\ifbxjs@hyperref@enc
\bxjs@check@hyperref@unicode{false}
\fi
@@ -397,7 +399,7 @@
\SetSymbolFont{mincho}{bold}{\jsc@JYn}{gt}{m}{n}
\jfam\symmincho
\DeclareMathAlphabet{\mathgt}{\jsc@JYn}{gt}{m}{n}
- \AtBeginDocument{%
+ \g@addto@macro\bxjs@begin@document@hook{%
\ifx\reDeclareMathAlphabet\@undefined\else
\reDeclareMathAlphabet{\mathrm}{\@mathrm}{\@mathmc}%
\reDeclareMathAlphabet{\mathbf}{\@mathbf}{\@mathgt}%
@@ -569,7 +571,7 @@
\DeclareRobustCommand\ttfamily
{\not@math@alphabet\ttfamily\mathtt
\romanfamily\ttdefault\kanjifamily\gtdefault\selectfont}
-\AtBeginDocument{%
+\g@addto@macro\bxjs@begin@document@hook{%
\reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
\reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}%
\reDeclareMathAlphabet{\mathsf}{\mathsf}{\mathgt}}%