From e318605d00d63a8a5f31bf3e47017593958ab837 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 5 Oct 2017 00:41:58 +0000
Subject: jsclasses (4oct17)

git-svn-id: svn://tug.org/texlive/trunk@45473 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/platex/jsclasses/kiyou.cls | 116 ++++++++++++-----------
 1 file changed, 60 insertions(+), 56 deletions(-)

(limited to 'Master/texmf-dist/tex/platex/jsclasses/kiyou.cls')

diff --git a/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls b/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
index 33552496e83..2356cb6f1ce 100644
--- a/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
+++ b/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
@@ -20,9 +20,12 @@
 %% original source files, as listed above, are part of the
 %% same distribution. (The sources need not necessarily be
 %% in the same archive or directory.)
+\ifx\epTeXinputencoding\undefined\else
+  \epTeXinputencoding utf8 % ^^A added (2017-10-04)
+\fi
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesClass{kiyou}
-  [2017/09/03 jsclasses (okumura, texjporg)]
+  [2017/10/04 jsclasses (okumura, texjporg)]
 \def\jsc@clsname{kiyou}
 \newif\ifjsc@needsp@tch
 \jsc@needsp@tchfalse
@@ -553,11 +556,11 @@
     \reDeclareMathAlphabet{\mathrm}{\@mathrm}{\@mathmc}
     \reDeclareMathAlphabet{\mathbf}{\@mathbf}{\@mathgt}}
 \fi
-\prebreakpenalty\jis"2147=10000      % 5000   $B!G(B
-\postbreakpenalty\jis"2148=10000     % 5000   $B!H(B
-\prebreakpenalty\jis"2149=10000      % 5000   $B!I(B
-\inhibitxspcode`$B!*(B=1
-\inhibitxspcode`$B")(B=2
+\prebreakpenalty\jis"2147=10000      % 5000   ’
+\postbreakpenalty\jis"2148=10000     % 5000   “
+\prebreakpenalty\jis"2149=10000      % 5000   ”
+\inhibitxspcode`！=1
+\inhibitxspcode`〒=2
 \xspcode`+=3
 \xspcode`\%=3
 \xspcode`^^80=3
@@ -744,6 +747,7 @@
 \setlength\Cwd{\wd0}
 \setlength\Cvs{\baselineskip}
 \setlength\Chs{\wd0}
+\setbox0=\box\voidb@x
 \newcommand{\small}{%
   \ifnarrowbaselines
     \jsc@setfontsize\small{8.8888}{11}%
@@ -1105,10 +1109,10 @@
         \ifnum #2>\c@secnumdepth \else
           \protect\numberline{\csname the#1\endcsname}%
         \fi
-        #7}}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i(B #8
+        #7}}% 目次にフルネームを載せるなら #8
   \else
     \begingroup
-      \interlinepenalty \@M % $B2<$+$i0\F0(B
+      \interlinepenalty \@M % 下から移動
       #6{%
         \@hangfrom{\hskip #3\relax\@svsec}%
         #8\@@par}%
@@ -1118,7 +1122,7 @@
       \ifnum #2>\c@secnumdepth \else
         \protect\numberline{\csname the#1\endcsname}%
       \fi
-      #7}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i$3$3$O(B #8
+      #7}% 目次にフルネームを載せるならここは #8
   \fi
   \@xsect{#5}}
 \def\@xsect#1{%
@@ -1226,8 +1230,8 @@
   \newcommand{\section}{%
     \if@slide\clearpage\fi
     \@startsection{section}{1}{\z@}%
-    {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% $BA0%"%-(B
-    {.5\Cvs \@plus.3\Cdp}% $B8e%"%-(B
+    {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% 前アキ
+    {.5\Cvs \@plus.3\Cdp}% 後アキ
     {\normalfont\Large\headfont\raggedright}}
 \fi
 \if@twocolumn
@@ -1236,8 +1240,8 @@
     {\normalfont\normalsize\headfont}}
 \else
   \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
-    {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% $BA0%"%-(B
-    {.5\Cvs \@plus.3\Cdp}% $B8e%"%-(B
+    {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% 前アキ
+    {.5\Cvs \@plus.3\Cdp}% 後アキ
     {\normalfont\large\headfont}}
 \fi
 \if@twocolumn
@@ -1250,15 +1254,15 @@
     {\if@slide .5\Cvs \@plus.3\Cdp \else \z@ \fi}%
     {\normalfont\normalsize\headfont}}
 \fi
-\newcommand{\jsParagraphMark}{$B"#(B}
+\newcommand{\jsParagraphMark}{■}
 \if@twocolumn
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
-    {\z@}{\if@slide .4\Cvs \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
+    {\z@}{\if@slide .4\Cvs \else -1zw\fi}% 改行せず 1zw のアキ
     {\normalfont\normalsize\headfont\jsParagraphMark}}
 \else
   \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
     {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
-    {\if@slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
+    {\if@slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% 改行せず 1zw のアキ
     {\normalfont\normalsize\headfont\jsParagraphMark}}
 \fi
 \if@twocolumn
@@ -1329,11 +1333,11 @@
 \renewcommand{\theenumiii}{\@roman\c@enumiii}
 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
 \newcommand{\labelenumi}{\theenumi.}
-\newcommand{\labelenumii}{\inhibitglue$B!J(B\theenumii$B!K(B\inhibitglue}
+\newcommand{\labelenumii}{\inhibitglue（\theenumii）\inhibitglue}
 \newcommand{\labelenumiii}{\theenumiii.}
 \newcommand{\labelenumiv}{\theenumiv.}
 \renewcommand{\p@enumii}{\theenumi}
-\renewcommand{\p@enumiii}{\theenumi\inhibitglue$B!J(B\theenumii$B!K(B}
+\renewcommand{\p@enumiii}{\theenumi\inhibitglue（\theenumii）}
 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
 \newcommand\labelitemi{\textbullet}
 \newcommand\labelitemii{\normalfont\bfseries \textendash}
@@ -1398,10 +1402,10 @@
   \let \\=\@centercr
   \list{}{%
     \itemsep \z@
-    \itemindent -2zw % $B85(B: -1.5em
+    \itemindent -2zw % 元: -1.5em
     \listparindent\itemindent
     \rightmargin \z@
-    \advance\leftmargin 2zw}% $B85(B: 1.5em
+    \advance\leftmargin 2zw}% 元: 1.5em
   \item\relax}{\endlist}
 \newenvironment{quotation}{%
   \list{}{%
@@ -1414,7 +1418,7 @@
 \def\@begintheorem#1#2{\trivlist\labelsep=1zw
    \item[\hskip \labelsep{\headfont #1\ #2}]}
 \def\@opargbegintheorem#1#2#3{\trivlist\labelsep=1zw
-      \item[\hskip \labelsep{\headfont #1\ #2$B!J(B#3$B!K(B}]}
+      \item[\hskip \labelsep{\headfont #1\ #2（#3）}]}
 \newenvironment{titlepage}{%
     \if@twocolumn
       \@restonecoltrue\onecolumn
@@ -1470,8 +1474,8 @@
                {\end@dblfloat}
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
-\setlength\abovecaptionskip{5\jsc@mpt} % $B85(B: 10\p@
-\setlength\belowcaptionskip{5\jsc@mpt} % $B85(B: 0\p@
+\setlength\abovecaptionskip{5\jsc@mpt} % 元: 10\p@
+\setlength\belowcaptionskip{5\jsc@mpt} % 元: 0\p@
 \long\def\@makecaption#1#2{{\small
   \advance\leftskip .0628\linewidth
   \advance\rightskip .0628\linewidth
@@ -1529,7 +1533,7 @@
       \rightskip\@tocrmarg
       \parfillskip-\rightskip
       \leavevmode\headfont
-      %\setlength\@lnumwidth{4zw}% $B85(B1.5em [2003-03-02]
+      %\setlength\@lnumwidth{4zw}% 元1.5em [2003-03-02]
       \setlength\@lnumwidth{\jsc@tocl@width}\advance\@lnumwidth 2zw
       \advance\leftskip\@lnumwidth \hskip-\leftskip
       #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
@@ -1600,7 +1604,7 @@
    \endlist}
 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
 \let\@openbib@code\@empty
-\newenvironment{theindex}{% $B:w0z$r(B3$BCJAH$G=PNO$9$k4D6-(B
+\newenvironment{theindex}{% 索引を3段組で出力する環境
     \if@twocolumn
       \onecolumn\@restonecolfalse
     \else
@@ -1637,12 +1641,12 @@
     \fi
     \clearpage
   }
-\newcommand{\@idxitem}{\par\hangindent 4zw} % $B85(B 40pt
-\newcommand{\subitem}{\@idxitem \hspace*{2zw}} % $B85(B 20pt
-\newcommand{\subsubitem}{\@idxitem \hspace*{3zw}} % $B85(B 30pt
+\newcommand{\@idxitem}{\par\hangindent 4zw} % 元 40pt
+\newcommand{\subitem}{\@idxitem \hspace*{2zw}} % 元 20pt
+\newcommand{\subsubitem}{\@idxitem \hspace*{3zw}} % 元 30pt
 \newcommand{\indexspace}{\par \vskip 10\jsc@mpt \@plus5\jsc@mpt \@minus3\jsc@mpt\relax}
-\newcommand\seename{\if@english see\else $B"*(B\fi}
-\newcommand\alsoname{\if@english see also\else $B"*(B\fi}
+\newcommand\seename{\if@english see\else →\fi}
+\newcommand\alsoname{\if@english see also\else →\fi}
 \@ifl@t@r\pfmtversion{2016/09/03}
     {\jsc@needsp@tchfalse}{\jsc@needsp@tchtrue}
 \ifjsc@needsp@tch
@@ -1817,8 +1821,8 @@
 \if@jslogo
   \IfFileExists{jslogo.sty}{%
     \RequirePackage{jslogo}%
-    \def\$B>.(B{\jslg@small}%
-    \def\$B>e>.(B{\jslg@uppersmall}%
+    \def\小{\jslg@small}%
+    \def\上小{\jslg@uppersmall}%
   }{%
     \ClassWarningNoLine{\jsc@clsname}{%
       The redefinitions of LaTeX-related logos has\MessageBreak
@@ -1828,23 +1832,23 @@
       the installation}%
   }
 \fi
-\newcommand{\prepartname}{\if@english Part~\else $BBh(B\fi}
-\newcommand{\postpartname}{\if@english\else $BIt(B\fi}
-\newcommand{\presectionname}{}%  $BBh(B
-\newcommand{\postsectionname}{}% $B@a(B
-\newcommand{\contentsname}{\if@english Contents\else $BL\<!(B\fi}
-\newcommand{\listfigurename}{\if@english List of Figures\else $B?^L\<!(B\fi}
-\newcommand{\listtablename}{\if@english List of Tables\else $BI=L\<!(B\fi}
-\newcommand{\refname}{\if@english References\else $B;29MJ88%(B\fi}
-\newcommand{\bibname}{\if@english Bibliography\else $B;29MJ88%(B\fi}
-\newcommand{\indexname}{\if@english Index\else $B:w0z(B\fi}
-\newcommand{\figurename}{\if@english Fig.~\else $B?^(B\fi}
-\newcommand{\tablename}{\if@english Table~\else $BI=(B\fi}
-\newcommand{\appendixname}{\if@english \else $BIUO?(B\fi}
-\newcommand{\abstractname}{\if@english Abstract\else $B35MW(B\fi}
-\newif\if$B@>Nq(B \$B@>Nq(Btrue
-\def\$B@>Nq(B{\$B@>Nq(Btrue}
-\def\$BOBNq(B{\$B@>Nq(Bfalse}
+\newcommand{\prepartname}{\if@english Part~\else 第\fi}
+\newcommand{\postpartname}{\if@english\else 部\fi}
+\newcommand{\presectionname}{}%  第
+\newcommand{\postsectionname}{}% 節
+\newcommand{\contentsname}{\if@english Contents\else 目次\fi}
+\newcommand{\listfigurename}{\if@english List of Figures\else 図目次\fi}
+\newcommand{\listtablename}{\if@english List of Tables\else 表目次\fi}
+\newcommand{\refname}{\if@english References\else 参考文献\fi}
+\newcommand{\bibname}{\if@english Bibliography\else 参考文献\fi}
+\newcommand{\indexname}{\if@english Index\else 索引\fi}
+\newcommand{\figurename}{\if@english Fig.~\else 図\fi}
+\newcommand{\tablename}{\if@english Table~\else 表\fi}
+\newcommand{\appendixname}{\if@english \else 付録\fi}
+\newcommand{\abstractname}{\if@english Abstract\else 概要\fi}
+\newif\if西暦 \西暦true
+\def\西暦{\西暦true}
+\def\和暦{\西暦false}
 \newcount\heisei \heisei\year \advance\heisei-1988\relax
 \def\today{%
   \if@english
@@ -1853,14 +1857,14 @@
       July\or August\or September\or October\or November\or December\fi
       \space\number\day, \number\year
   \else
-    \if$B@>Nq(B
-      \number\year $BG/(B
-      \number\month $B7n(B
-      \number\day $BF|(B
+    \if西暦
+      \number\year 年
+      \number\month 月
+      \number\day 日
     \else
-      $BJ?@.(B\number\heisei $BG/(B
-      \number\month $B7n(B
-      \number\day $BF|(B
+      平成\number\heisei 年
+      \number\month 月
+      \number\day 日
     \fi
   \fi}
 \hyphenation{ado-be post-script ghost-script phe-nom-e-no-log-i-cal man-u-script}
-- 
cgit v1.2.3

