From c937607e765ab21df28a0a8c03d3f44a500cd519 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 28 May 2020 21:59:10 +0000
Subject: bxjscls (28may20)

git-svn-id: svn://tug.org/texlive/trunk@55320 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/latex/bxjscls/bxjsarticle.cls   | 28 +++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls')

diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
index 2cec72e76d8..6c100b7a5ad 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/04/04 v2.0a BXJS document classes]
+  [2020/05/28 v2.1  BXJS document classes]
 %% このファイルは日本語文字を含みます.
 \def\bxjs@clsname{bxjsarticle}
 \newif\ifjsc@needsp@tch
@@ -435,6 +435,18 @@
   \bxjs@oldfontcommandsfalse}
 \DeclareOption{oldfontcommands}{%
   \bxjs@oldfontcommandstrue}
+\DeclareOption{winjis}{%
+  \ClassWarningNoLine\bxjs@clsname
+   {This class does not support `winjis' option}%
+}
+\DeclareOption{mingoth}{%
+  \ClassWarningNoLine\bxjs@clsname
+   {This class does not support `mingoth' option}%
+}
+\DeclareOption{jis}{%
+  \ClassWarningNoLine\bxjs@clsname
+   {This class does not support `jis' option}%
+}
 \DeclareOption*{%
   \def\bxjs@next{\bxjs@safe@setkeys{bxjs}}%
   \expandafter\bxjs@next\expandafter{\CurrentOption}}
@@ -614,6 +626,10 @@
 \bxjs@declare@bool@option{simple-ja-setup}{simplejasetup}
 \DeclareOption{nosimplejasetup}{\setkeys{bxjs}{simple-ja-setup=false}}
 \DeclareOption{simplejasetup}{\setkeys{bxjs}{simple-ja-setup=true}}
+\newif\ifbxjs@strong@cmd \bxjs@strong@cmdtrue
+\let\bxjs@kv@strongcmd@true\bxjs@strong@cmdtrue
+\let\bxjs@kv@strongcmd@false\bxjs@strong@cmdfalse
+\define@key{bxjs}{strong-cmd}[true]{\bxjs@set@keyval{strongcmd}{#1}{}}
 \let\bxjs@org@removeelement\@removeelement
 \def\@removeelement#1#2#3{%
   \def\reserved@a{#2}%
@@ -908,6 +924,16 @@
 \ifbxjs@fix@at@cmd
   \def\@{\bxjs@SE{}}
 \fi
+\ifbxjs@strong@cmd\jsAtEndOfClass{%
+  \ifx\strong\@undefined\ifx\strongenv\@undefined
+    \DeclareRobustCommand{\strongenv}{\bxjs@strong@font}%
+    \DeclareTextFontCommand{\strong}{\strongenv}%
+    \@ifdefinable{\strongfontdeclare}{\bxjs@protected\def\strongfontdeclare#1{%
+      \bxjs@strong@font@declare@a#1,\@nil}}%
+    \def\bxjs@strong@font@declare@a#1,#2\@nil{\def\bxjs@strong@font{#1}}%
+    \def\bxjs@strong@font{\bfseries}%
+  \fi\fi
+}\fi
 \def\bxjs@tmpa{\def\set@fontsize##1##2##3}
 \expandafter\bxjs@tmpa\expandafter{%
   \set@fontsize{#1}{#2}{#3}%
-- 
cgit v1.2.3

