From 0ba0dfb9a07bac614756eb2f7ea858e53dc8a255 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 10 Oct 2020 20:53:35 +0000 Subject: bxjscls (10oct20) git-svn-id: svn://tug.org/texlive/trunk@56620 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/bxjscls/bxjsarticle.cls | 5 +- Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls | 5 +- Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty | 3 +- Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty | 3 +- .../tex/latex/bxjscls/bxjsja-minimal.def | 14 ++++- .../texmf-dist/tex/latex/bxjscls/bxjsja-modern.def | 2 +- .../texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def | 2 +- .../tex/latex/bxjscls/bxjsja-standard.def | 67 ++++++++++++---------- Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty | 3 +- Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls | 5 +- Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls | 5 +- 11 files changed, 70 insertions(+), 44 deletions(-) (limited to 'Master/texmf-dist/tex/latex/bxjscls') diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls index 99020392510..a0ce52858b4 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls @@ -4,7 +4,7 @@ %% %% The original source files were: %% -%% bxjscls.dtx (with options: `cls,article') +%% bxjscls.dtx (with options: `class,article') %% %% IMPORTANT NOTICE: %% @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsarticle} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsarticle} \newif\ifjsc@needsp@tch @@ -1004,6 +1004,7 @@ \belowdisplayskip 9\p@? \@plus3\p@? \@minus4\p@? \belowdisplayshortskip \belowdisplayskip \let\@listi\@listI} +%% initialize \normalsize \ifx\Cht\@undefined \newdimen\Cht \fi \ifx\Cdp\@undefined \newdimen\Cdp \fi diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls index 18b90488af6..2192ed1e64f 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls @@ -4,7 +4,7 @@ %% %% The original source files were: %% -%% bxjscls.dtx (with options: `cls,book') +%% bxjscls.dtx (with options: `class,book') %% %% IMPORTANT NOTICE: %% @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsbook} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsbook} \newif\ifjsc@needsp@tch @@ -1013,6 +1013,7 @@ \belowdisplayskip 9\p@? \@plus3\p@? \@minus4\p@? \belowdisplayshortskip \belowdisplayskip \let\@listi\@listI} +%% initialize \normalsize \ifx\Cht\@undefined \newdimen\Cht \fi \ifx\Cdp\@undefined \newdimen\Cdp \fi diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty index 3c24d340f35..e67f6d7de59 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty @@ -20,8 +20,9 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) +\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{bxjscjkcat} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] \def\bxjx@pkgname{bxjscjkcat} \newcount\bxjx@cnta \@onlypreamble\bxjx@tmpdo diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty index e61104fa7ff..e6a9d4b80df 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty @@ -20,8 +20,9 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) +\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{bxjscompat} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] \def\bxac@pkgname{bxjscompat} \let\bxac@engine=n \def\bxac@do#1#2{% diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def index 2d808752679..c9c0eb883c1 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesFile{bxjsja-minimal.def} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] %% このファイルは日本語文字を含みます \def\DeclareJaTextFontCommand#1#2{% \DeclareRobustCommand#1[1]{% @@ -195,6 +195,9 @@ \DeclareFontShape{\jsc@JTn}{gt}{b}{n}{<->ssub*gt/bx/n}{} \DeclareFontShape{\jsc@JTn}{gt}{b}{it}{<->ssub*gt/bx/n}{} \DeclareFontShape{\jsc@JTn}{gt}{b}{sl}{<->ssub*gt/bx/n}{} +\@ifl@t@r\fmtversion{2020/10/01} + {\jsc@needsp@tchfalse}{\jsc@needsp@tchtrue} +\ifjsc@needsp@tch % --- for 2020-02-02 or older BEGIN \ifx\@rmfamilyhook\@undefined % old \DeclareRobustCommand\rmfamily {\not@math@alphabet\rmfamily\mathrm @@ -224,6 +227,14 @@ \g@addto@macro\@ttfamilyhook {\prepare@family@series@update@kanji{gt}\gtdefault} \fi +\else % --- for 2020-02-02 or older END & for 2020-10-01 BEGIN +\AddToHook{rmfamily}% + {\prepare@family@series@update@kanji{mc}\mcdefault} +\AddToHook{sffamily}% + {\prepare@family@series@update@kanji{gt}\gtdefault} +\AddToHook{ttfamily}% + {\prepare@family@series@update@kanji{gt}\gtdefault} +\fi % --- for 2020-10-01 END \ifx\DeclareFixJFMCJKTextFontCommand\@undefined \DeclareJaTextFontCommand{\textmc}{\mcfamily} \DeclareJaTextFontCommand{\textgt}{\gtfamily} @@ -260,6 +271,7 @@ !else\hbox{\yoko\@textsuperscript{\normalfont\@thefnmark}}!fi} \fi \endgroup +\@namedef{ver@minijs.sty}{} \else\ifx p\jsEngine \let\bxjs@let@hchar@chr\bxjs@let@hchar@chr@ue \@onlypreamble\bxjs@cjk@loaded diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def index c8ebee27d80..4b84d2e6eac 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesFile{bxjsja-modern.def} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] \input{bxjsja-standard.def} \ifnum0\if x\jsEngine1\fi\if l\jsEngine1\fi=\z@ \def\encodingdefault{T1}% diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def index d52fa76fad2..fe9b67dd698 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesFile{bxjsja-pandoc.def} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] \input{bxjsja-standard.def} \RequirePackage{bxjspandoc} \@onlypreamble\bxjs@endpreamble@hook diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def index 24c5537c008..b29d28819f1 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} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] %% このファイルは日本語文字を含みます \input{bxjsja-minimal.def} \bxjs@simplejasetupfalse @@ -44,10 +44,12 @@ \define@key{bxjs}{strong-cmd}[true]{\bxjs@set@keyval{strongcmd}{#1}{}} \def\bxjs@next#1{\bxjs@safe@setkeys{bxjsStd}{#1}} \expandafter\bxjs@next\expandafter{\jsJaParam} -\ifbxjs@jp@jismmiv +\@onlypreamble\bxjs@apply@mmiv +\def\bxjs@apply@mmiv{% \g@addto@macro\@classoptionslist{,jis2004} \PassOptionsToPackage{jis2004}{otf} -\fi + \global\let\bxjs@apply@mmiv\relax} +\ifbxjs@jp@jismmiv \bxjs@apply@mmiv \fi \if j\jsEngine \bxjs@jp@unitsfalse \fi @@ -170,10 +172,13 @@ \def\bxjs@adjust@jafont#1{% \ifx\jsJaFont\bxjs@@auto \bxjs@get@kanjiEmbed - \ifx\bxjs@kanjiEmbed\relax + \ifx\bxjs@jaEmbed\relax \let\bxjs@tmpa\@empty \else - \let\bxjs@tmpa\bxjs@kanjiEmbed + \let\bxjs@tmpa\bxjs@jaEmbed + \ifx\bxjs@jaVariant\bxjs@@hziv + \bxjs@apply@mmiv + \fi \fi \else \let\bxjs@tmpa\jsJaFont @@ -187,11 +192,24 @@ } \def\bxjs@@auto{auto} \def\bxjs@@noEmbed{noEmbed} -\let\bxjs@kanjiEmbed\relax +\def\bxjs@@hziv{-04} +\let\bxjs@jaEmbed\relax +\let\bxjs@jaVariant\relax \@onlypreamble\bxjs@get@kanjiEmbed \def\bxjs@get@kanjiEmbed{% \begingroup\setbox\z@=\hbox{% + \global\let\bxjs@do\@empty + \def\bxjs@next##1##2##3{% + \def##1####1##3 ####2\@nil####3\@nnil{% + \ifx$####1$\gdef##2{####2}\fi}% + \g@addto@macro\bxjs@do{% + \expandafter##1\bxjs@tmpa\@nil##3 \@nil\@nnil}}% + \bxjs@next\bxjs@do@a\bxjs@g@tmpa{kanjiEmbed}% + \bxjs@next\bxjs@do@b\bxjs@g@tmpa{jaEmbed}% + \bxjs@next\bxjs@do@c\bxjs@g@tmpb{kanjiVariant}% + \bxjs@next\bxjs@do@d\bxjs@g@tmpb{jaVariant}% \global\let\bxjs@g@tmpa\relax + \global\let\bxjs@g@tmpb\relax \endlinechar\m@ne \let\do\@makeother\dospecials \catcode32=10 \catcode12=10 %form-feed @@ -206,39 +224,21 @@ \@tempswatrue \loop\if@tempswa \read\@inputcheck to\bxjs@tmpa - \expandafter\bxjs@get@ke@a\bxjs@tmpa\@nil kanjiEmbed \@nil\@nnil - \ifx\bxjs@tmpb\relax\else - \global\let\bxjs@g@tmpa\bxjs@tmpb - \@tempswafalse - \fi - \expandafter\bxjs@get@ke@b\bxjs@tmpa\@nil jaEmbed \@nil\@nnil - \ifx\bxjs@tmpb\relax\else - \global\let\bxjs@g@tmpa\bxjs@tmpb - \@tempswafalse - \fi + \bxjs@do \ifeof\@inputcheck \@tempswafalse \fi \repeat \fi }\endgroup - \let\bxjs@kanjiEmbed\bxjs@g@tmpa + \let\bxjs@jaEmbed\bxjs@g@tmpa + \let\bxjs@jaVariant\bxjs@g@tmpb } -\@onlypreamble\bxjs@get@ke@a -\def\bxjs@get@ke@a#1kanjiEmbed #2\@nil#3\@nnil{% - \ifx$#1$\def\bxjs@tmpb{#2}% - \else \let\bxjs@tmpb\relax - \fi} -\@onlypreamble\bxjs@get@ke@b -\def\bxjs@get@ke@b#1jaEmbed #2\@nil#3\@nnil{% - \ifx$#1$\def\bxjs@tmpb{#2}% - \else \let\bxjs@tmpb\relax - \fi} \@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} + \expandafter\bxjs@resolve@jafont@paren@a#1\@nil()\@nil\@nnil#1} \@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 +\def\bxjs@resolve@jafont@paren@a#1(#2)#3\@nil#4\@nnil#5{% + \ifx\relax#4\relax \bxjs@tmpb#5% \else \edef\bxjs@tmpa{#1\bxjs@jafont@paren{#2}#3}% \bxjs@tmpb\bxjs@tmpa @@ -400,6 +400,11 @@ \fi \if \ifx\bxjs@driver@given\bxjs@driver@@dvipdfmx T% \else\ifjsWithpTeXng T\else F\fi\fi T% + \IfFileExists{pxjahyper-enc.sty}{\@tempswatrue}{\@tempswafalse} + \if@tempswa + \RequirePackage{pxjahyper-enc}[2020/10/05]%v0.6 + \ifbxjs@bigcode\else \suppressbigcode \fi + \else \ifnum\jis"2121="A1A1 %euc \bxjs@urgent@special{pdf:tounicode EUC-UCS2} \else\ifnum\jis"2121="8140 %sjis @@ -410,9 +415,11 @@ \PassOptionsToPackage{bigcode}{pxjahyper} \else \bxjs@urgent@special{pdf:tounicode UTF8-UCS2} + \PassOptionsToPackage{nobigcode}{pxjahyper} \fi \fi\fi\fi \let\bxToUnicodeSpecialDone=t + \fi \fi \ifx f\bxjs@enablejfam\else \@enablejfamtrue diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty index a367a0c4949..f295571f9da 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty @@ -20,8 +20,9 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) +\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{bxjspandoc} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjsp@pkgname{bxjscjkcat} \let\bxjsp@engine=n diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls index 5cdc283de6e..c12704d5459 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls @@ -4,7 +4,7 @@ %% %% The original source files were: %% -%% bxjscls.dtx (with options: `cls,report') +%% bxjscls.dtx (with options: `class,report') %% %% IMPORTANT NOTICE: %% @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsreport} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsreport} \newif\ifjsc@needsp@tch @@ -1012,6 +1012,7 @@ \belowdisplayskip 9\p@? \@plus3\p@? \@minus4\p@? \belowdisplayshortskip \belowdisplayskip \let\@listi\@listI} +%% initialize \normalsize \ifx\Cht\@undefined \newdimen\Cht \fi \ifx\Cdp\@undefined \newdimen\Cdp \fi diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls index 63dbc7c0447..164e6cd1e3c 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls @@ -4,7 +4,7 @@ %% %% The original source files were: %% -%% bxjscls.dtx (with options: `cls,slide') +%% bxjscls.dtx (with options: `class,slide') %% %% IMPORTANT NOTICE: %% @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsslide} - [2020/10/04 v2.2c BXJS document classes] + [2020/10/10 v2.3 BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsslide} \newif\ifjsc@needsp@tch @@ -1003,6 +1003,7 @@ \belowdisplayskip 9\p@? \@plus3\p@? \@minus4\p@? \belowdisplayshortskip \belowdisplayskip \let\@listi\@listI} +%% initialize \normalsize \ifx\Cht\@undefined \newdimen\Cht \fi \ifx\Cdp\@undefined \newdimen\Cdp \fi -- cgit v1.2.3