diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls index 0bc74113ab5..8f3a81de906 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} - [2018/08/20 v1.9b BXJS document classes] + [2018/09/04 v1.9c BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsbook} \newif\ifjsc@needsp@tch @@ -87,6 +87,11 @@ \let\PackageWarningNoLine\bxjs@tmpa \@nameuse{RevokeOldLuaTeXBehavior} \let\ifjsInPdfMode\ifpdf +\newif\ifbxjs@TUenc +\def\bxjs@tmpa{TU}\edef\bxjs@tmpb{\f@encoding} +\ifx\bxjs@tmpa\bxjs@tmpb + \bxjs@TUenctrue +\fi \@gobbletwo\if\if \def\bxjs@cond#1\fi{% #1\expandafter\@firstoftwo \else\expandafter\@secondoftwo @@ -856,7 +861,11 @@ \ifjsc@mag@xreal \RequirePackage{type1cm} \let\jsc@invscale\bxjs@invscale - \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax + \ifbxjs@TUenc + \expandafter\let\csname TU/lmr/m/n/10\endcsname\relax + \else + \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax + \fi \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax \let\jsc@get@external@font\get@external@font \def\get@external@font{% @@ -892,7 +901,9 @@ \edef\mandatory@arg{% \mandatory@arg\expandafter\genb@x\jsc@cref@size..\@@}% \empty@sfcnt} - \DeclareErrorFont{OT1}{cmr}{m}{n}{10} + \ifbxjs@TUenc\else + \DeclareErrorFont{OT1}{cmr}{m}{n}{10} + \fi \fi \def\jsc@smallskip{\vspace\jsc@smallskipamount} \newskip\jsc@smallskipamount |