summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/platex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-24 22:17:33 +0000
committerKarl Berry <karl@freefriends.org>2017-02-24 22:17:33 +0000
commitaf4ae04872694ed19fdb53d0e020c15bd084aa57 (patch)
tree217638ae52c4e7b590131b7cef1c48f7e601c754 /Master/texmf-dist/source/platex
parent8cd50411ce2fbf381467ec8a6751fdc68aa07f5a (diff)
jsclasses (23feb17)
git-svn-id: svn://tug.org/texlive/trunk@43331 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/platex')
-rw-r--r--Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx438
-rw-r--r--Master/texmf-dist/source/platex/jsclasses/jsclasses.ins1
-rw-r--r--Master/texmf-dist/source/platex/jsclasses/jslogo.dtx33
3 files changed, 321 insertions, 151 deletions
diff --git a/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx b/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
index f95b71e5371..0d83e39d4eb 100644
--- a/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
+++ b/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
@@ -19,7 +19,7 @@
%
% Copyright 1993 1994 1995 1996 1997 1998 1999
% The LaTeX3 Project and any individual authors listed elsewhere
-% in this file.
+% in this file.
%
% Copyright 1995-1999 ASCII Corporation.
% Copyright 1999-2016 Haruhiko Okumura
@@ -30,15 +30,16 @@
% \iffalse
%
% \begin{macrocode}
-%<article|book|jspf|kiyou>\NeedsTeXFormat{pLaTeX2e}
+\NeedsTeXFormat{pLaTeX2e}
%<article>\ProvidesClass{jsarticle}
%<book>\ProvidesClass{jsbook}
+%<report>\ProvidesClass{jsreport}
%<jspf>\ProvidesClass{jspf}
%<kiyou>\ProvidesClass{kiyou}
%<*driver>
\ProvidesFile{jsclasses.dtx}
%</driver>
- [2017/01/13 okumura, texjporg]
+ [2017/02/24 okumura, texjporg]
%<*driver>
\documentclass{jsarticle}
\usepackage{doc}
@@ -80,10 +81,16 @@
% [2009-02-22] $BEDCfBv<$;a$K$h$k(Bup\LaTeX $BBP1~%Q%C%A$r<h$j9~$_$^$7$?!#(B
%
% $B$3$3$G$O<!$N%I%-%e%a%s%H%/%i%9!J%9%?%$%k%U%!%$%k!K$r:n$j$^$9!#(B
+%
+% [2017-02-13] forum:2121$B$N5DO@$r5!$K!$(Bjsreport$B%/%i%9$r?7@_$7$^$7$?!#(B
+% $B=>Mh$N(Bjsbook$B$N(B |report| $B%*%W%7%g%s$HHf$Y$k$H!$(B|abstract| $B4D6-$N;H$$J}(B
+% $B$*$h$S5sF0$,%"%9%-!<$N(Bjreport$B$K6a$E$-$^$7$?!#(B
+%
% \begin{quote}
% \begin{tabular}{lll}
% $\langle$\textsf{article}$\rangle$ & \texttt{jsarticle.cls} & $BO@J8!&%l%]!<%HMQ(B \\
% $\langle$\textsf{book}$\rangle$ & \texttt{jsbook.cls} & $B=q@RMQ(B \\
+% $\langle$\textsf{report}$\rangle$ & \texttt{jsreport.cls} & $B%l%]!<%HMQ(B \\
% $\langle$\textsf{jspf}$\rangle$ & \texttt{jspf.cls} & $BK?3X2q;oMQ(B \\
% $\langle$\textsf{kiyou}$\rangle$ & \texttt{kiyou.cls} & $BK?5*MWMQ(B
% \end{tabular}
@@ -124,6 +131,7 @@
% \begin{macrocode}
%<article>\def\jsc@clsname{jsarticle}
%<book>\def\jsc@clsname{jsbook}
+%<report>\def\jsc@clsname{jsreport}
%<jspf>\def\jsc@clsname{jspf}
%<kiyou>\def\jsc@clsname{kiyou}
% \end{macrocode}
@@ -173,11 +181,20 @@
%
% \begin{macro}{\if@openright}
%
-% |\chapter|$B!$(B|\part| $B$r4q?t%Z!<%85/$3$7$K$9$k$+$I$&$+$G$9!#(B
-% $B=q@R$G$O??$,I8=`$G$9!#(B
+% |\chapter|$B!$(B|\part| $B$r1&%Z!<%85/$3$7$K$9$k$+$I$&$+$G$9!#(B
+% $B2#AH$N=q@R$G$O??$,I8=`$G!$MW$9$k$KJR5/$3$7!$4q?t%Z!<%85/$3$7$K$J$j$^$9!#(B
+%
+% \begin{macrocode}
+%<book|report>\newif\if@openright
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\if@openleft}
+%
+% [2017-02-24] |\chapter|$B!$(B|\part| $B$r:8%Z!<%85/$3$7$K$9$k$+$I$&$+$G$9!#(B
%
% \begin{macrocode}
-%<book>\newif\if@openright
+%<book|report>\newif\if@openleft
% \end{macrocode}
% \end{macro}
%
@@ -417,12 +434,20 @@
%
% \paragraph{$B1&:85/$3$7(B}
%
-% $B=q@R$G$O>O$ODL>o$O4q?t%Z!<%85/$3$7$K$J$j$^$9$,!$(B
+% $B=q@R$G$O>O$ODL>o$O4q?t%Z!<%85/$3$7$K$J$j$^$9$,!$2#AH$G$O$3$l$r(B
+% \texttt{openright} $B$HI=$9$3$H$K$7$F$"$j$^$9!#(B
% \texttt{openany} $B$G6v?t%Z!<%8$+$i$G$b;O$^$k$h$&$K$J$j$^$9!#(B
%
+% [2017-02-24] \texttt{openright} $B$O2#AH$G$O4q?t%Z!<%85/$3$7!$=DAH$G$O(B
+% $B6v?t%Z!<%85/$3$7$rI=$7$^$9!#$d$d$3$7$$$G$9$,!$$3$l$O(B\LaTeX $B$NI8=`%/%i%9$,(B
+% $B@>2$$N2#AH;v>p$7$+9MN8$;$:$K!$4q?t%Z!<%85/$3$7$H1&5/$3$7$r0l=o$K$7$F$7$^$C(B
+% $B$?$;$$$G$9!#=DAH$G$N4q?t%Z!<%85/$3$7$H2#AH$G$N6v?t%Z!<%85/$3$7$bI=8=$7$?$$(B
+% $B$N$G!$(Bjsclasses$B$G$O?7$?$K(B \texttt{openleft} $B$bDI2C$7$^$7$?!#(B
+%
% \begin{macrocode}
-%<book>\DeclareOption{openright}{\@openrighttrue}
-%<book>\DeclareOption{openany}{\@openrightfalse}
+%<book|report>\DeclareOption{openright}{\@openrighttrue\@openleftfalse}
+%<book|report>\DeclareOption{openleft}{\@openlefttrue\@openrightfalse}
+%<book|report>\DeclareOption{openany}{\@openrightfalse\@openleftfalse}
% \end{macrocode}
%
% \paragraph{eqnarray$B4D6-$H?t<0$N0LCV(B}
@@ -582,10 +607,13 @@
\DeclareOption{english}{\@englishtrue}
% \end{macrocode}
%
-% \paragraph{jsreport$BAjEv(B}
+% \paragraph{jsbook$B$r(Bjsreport$B$b$I$-$K(B}
%
% $B%*%W%7%g%s(B \texttt{report} $B$r?7@_$7$^$7$?!#(B
%
+% [2017-02-13] $B=>Mh$O!V(Bjsreport$BAjEv!W$r(Bjsbook$B$N(B \texttt{report} $B%*%W%7%g%s$GDs6!$7$F(B
+% $B$$$^$7$?$,!$?7$7$/(Bjsreport$B%/%i%9$b:n$j$^$7$?!#$I$A$i$G$b$*9%$-$JJ}$r;H$C$F$/$@$5$$!#(B
+%
% \begin{macrocode}
%<*book>
\newif\if@report
@@ -615,6 +643,7 @@
% \begin{macrocode}
%<article>\ExecuteOptions{a4paper,oneside,onecolumn,notitlepage,final}
%<book>\ExecuteOptions{a4paper,twoside,onecolumn,titlepage,openright,final}
+%<report>\ExecuteOptions{a4paper,oneside,onecolumn,titlepage,openany,final}
%<jspf>\ExecuteOptions{a4paper,twoside,twocolumn,notitlepage,fleqn,final}
%<kiyou>\ExecuteOptions{a4paper,twoside,twocolumn,notitlepage,final}
\ProcessOptions
@@ -727,7 +756,7 @@
% $B4p=`$H$J$k9TAw$j$r%]%$%s%HC10L$GI=$7$?$b$N$G$9!#(B
%
% \begin{macrocode}
-%<article|book>\if@slide\def\n@baseline{13}\else\def\n@baseline{16}\fi
+%<article|book|report>\if@slide\def\n@baseline{13}\else\def\n@baseline{16}\fi
%<jspf>\def\n@baseline{14.554375}
%<kiyou>\def\n@baseline{14.897}
% \end{macrocode}
@@ -1953,6 +1982,12 @@
\setlength\footskip{0pt}
\fi
%</book>
+%<*report>
+\setlength\footskip{0.03367\paperheight}
+\ifdim\footskip<\baselineskip
+ \setlength\footskip{\baselineskip}
+\fi
+%</report>
% \end{macrocode}
% \end{macro}
%
@@ -1988,6 +2023,10 @@
\addtolength\headsep{10\jsc@mpt}%% added (2016-10-08)
\fi
%</book>
+%<*report>
+\setlength\headsep{\footskip}
+\addtolength\headsep{-\topskip}
+%</report>
%<*jspf>
\setlength\headsep{9\jsc@mmm}
\addtolength\headsep{-\topskip}
@@ -2069,6 +2108,12 @@
\fi
\fi
%</book>
+%<*report>
+\setlength\fullwidth{0.76\paperwidth}
+\if@twocolumn \@tempdima=2zw \else \@tempdima=1zw \fi
+\divide\fullwidth\@tempdima \multiply\fullwidth\@tempdima
+\setlength\textwidth{\fullwidth}
+%</report>
%<*jspf>
\setlength\fullwidth{50zw}
\addtolength\fullwidth{8\jsc@mmm}
@@ -2111,7 +2156,7 @@
% $B$J$N$G!$$5$i$K=$@5$7$^$7$?!J(B2016-08-17$B$G$N=$@5O3$l!K!#(B
%
% \begin{macrocode}
-%<*article|book>
+%<*article|book|report>
\if@slide
\setlength{\textheight}{0.95\paperheight}
\else
@@ -2123,7 +2168,7 @@
\addtolength{\textheight}{-\topskip}
\divide\textheight\baselineskip
\multiply\textheight\baselineskip
-%</article|book>
+%</article|book|report>
%<jspf>\setlength{\textheight}{51\baselineskip}
%<kiyou>\setlength{\textheight}{47\baselineskip}
\addtolength{\textheight}{\topskip}
@@ -2444,6 +2489,78 @@
% \end{macro}
% \end{macro}
%
+% \section{$B2~%Z!<%8!JF|K\8l(B\TeX{}$B3+H/%3%_%e%K%F%#HG$N$_!K(B}\label{sec:cleardoublepage}
+%
+% \begin{macro}{\pltx@cleartorightpage}
+% \begin{macro}{\pltx@cleartoleftpage}
+% \begin{macro}{\pltx@cleartooddpage}
+% \begin{macro}{\pltx@cleartoevenpage}
+% [2017-02-24] $B%3%_%e%K%F%#HG(B\pLaTeX $B$NI8=`%/%i%9(B2017/02/15$B$K9g$o$;$F!$(B
+% $BF1$8L?Na$rDI2C$7$^$7$?!#(B
+% \begin{enumerate}
+% \item|\pltx@cleartorightpage|$B!'1&%Z!<%8$K$J$k$^$G%Z!<%8$r7+$kL?Na(B
+% \item|\pltx@cleartoleftpage|$B!':8%Z!<%8$K$J$k$^$G%Z!<%8$r7+$kL?Na(B
+% \item|\pltx@cleartooddpage|$B!'4q?t%Z!<%8$K$J$k$^$G%Z!<%8$r7+$kL?Na(B
+% \item|\pltx@cleartoevenpage|$B!'6v?t%Z!<%8$K$J$k$^$G%Z!<%8$r7+$kL?Na(B
+% \end{enumerate}
+% $B$H$J$C$F$$$^$9!#(B
+% \begin{macrocode}
+%<*article|book|report>
+\def\pltx@cleartorightpage{\clearpage\if@twoside
+ \ifodd\c@page
+ \iftdir
+ \hbox{}\thispagestyle{empty}\newpage
+ \if@twocolumn\hbox{}\newpage\fi
+ \fi
+ \else
+ \ifydir
+ \hbox{}\thispagestyle{empty}\newpage
+ \if@twocolumn\hbox{}\newpage\fi
+ \fi
+ \fi\fi}
+\def\pltx@cleartoleftpage{\clearpage\if@twoside
+ \ifodd\c@page
+ \ifydir
+ \hbox{}\thispagestyle{empty}\newpage
+ \if@twocolumn\hbox{}\newpage\fi
+ \fi
+ \else
+ \iftdir
+ \hbox{}\thispagestyle{empty}\newpage
+ \if@twocolumn\hbox{}\newpage\fi
+ \fi
+ \fi\fi}
+\def\pltx@cleartooddpage{\clearpage\if@twoside
+ \ifodd\c@page\else
+ \hbox{}\thispagestyle{empty}\newpage
+ \if@twocolumn\hbox{}\newpage\fi
+ \fi\fi}
+\def\pltx@cleartoevenpage{\clearpage\if@twoside
+ \ifodd\c@page
+ \hbox{}\thispagestyle{empty}\newpage
+ \if@twocolumn\hbox{}\newpage\fi
+ \fi\fi}
+%</article|book|report>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\cleardoublepage}
+% [2017-02-24] $B%3%_%e%K%F%#HG(B\pLaTeX $B$NI8=`%/%i%9(B2017/02/15$B$K9g$o$;$F!$(B
+% report$B$H(Bbook$B%/%i%9$N>l9g$K(B|\cleardoublepage|$B$r:FDj5A$7$^$9!#(B
+% \begin{macrocode}
+%<*book|report>
+\if@openleft
+ \let\cleardoublepage\pltx@cleartoleftpage
+\else\if@openright
+ \let\cleardoublepage\pltx@cleartorightpage
+\fi\fi
+%</book|report>
+% \end{macrocode}
+% \end{macro}
+%
% \section{$B%Z!<%8%9%?%$%k(B}\label{sec:pagestyle}
%
% $B%Z!<%8%9%?%$%k$H$7$F!$(B\LaTeXe $B!J2$J8HG!K$NI8=`%/%i%9(B
@@ -2586,12 +2703,12 @@
%</article|kiyou>
% \end{macrocode}
%
-% $B<!$O(B book $B$N>l9g$G$9!#(B
+% $B<!$O(B book $B$*$h$S(B report $B$N>l9g$G$9!#(B
% [2011-05-10] $B$7$C$]0&9%2H$5$s(B [qa:6370] $B$N%Q%C%A$r<h$j9~$^$;$F$$$?$@$-$^$7$?(B
% $B!JKL8+$5$s(B [qa:55896] $B$N$4;XE&$"$j$,$H$&$4$6$$$^$9!K!#(B
%
% \begin{macrocode}
-%<*book>
+%<*book|report>
\newif\if@omit@number
\def\ps@headings{%
\let\@oddfoot\@empty
@@ -2606,17 +2723,17 @@
\let\@mkboth\markboth
\def\chaptermark##1{\markboth{%
\ifnum \c@secnumdepth >\m@ne
- \if@mainmatter
+%<book> \if@mainmatter
\if@omit@number\else
\@chapapp\thechapter\@chappos\hskip1zw
\fi
- \fi
+%<book> \fi
\fi
##1}{}}%
\def\sectionmark##1{\markright{%
\ifnum \c@secnumdepth >\z@ \thesection \hskip1zw\fi
##1}}}%
-%</book>
+%</book|report>
% \end{macrocode}
%
% $B:G8e$O3X2q;o$N>l9g$G$9!#(B
@@ -2650,9 +2767,9 @@
\def\@oddhead{%
\hbox to \fullwidth{\rightmark\hfil\thepage}\hss}%
\let\@mkboth\@gobbletwo
-%<book> \let\chaptermark\@gobble
+%<book|report> \let\chaptermark\@gobble
\let\sectionmark\@gobble
-%<!book> \let\subsectionmark\@gobble
+%<!book&!report> \let\subsectionmark\@gobble
}
% \end{macrocode}
% \end{macro}
@@ -2734,7 +2851,7 @@
% \texttt{nomag(*)} $B$N>l9g$K%9%1!<%k$7$J$/$J$j!$%l%$%"%&%H$,JQ$o$C$F$7$^$$$^$9!#(B
%
% \begin{macrocode}
-%<*article|book|kiyou>
+%<*article|book|report|kiyou>
\if@titlepage
\newcommand{\maketitle}{%
\begin{titlepage}%
@@ -2842,10 +2959,10 @@
{\large \@date}%
\end{center}%
\par\vskip 1.5em
-%<article|kiyou> \ifvoid\@abstractbox\else\centerline{\box\@abstractbox}\vskip1.5em\fi
+%<article|report|kiyou> \ifvoid\@abstractbox\else\centerline{\box\@abstractbox}\vskip1.5em\fi
}
\fi
-%</article|book|kiyou>
+%</article|book|report|kiyou>
%<*jspf>
\newcommand{\maketitle}{\par
\begingroup
@@ -3117,8 +3234,8 @@
% $BHV9f$rIU$1$k$+$r7h$a$k%+%&%s%?$G$9!#(B
%
% \begin{macrocode}
-%<!book>\setcounter{secnumdepth}{3}
-%<book>\setcounter{secnumdepth}{2}
+%<!book&!report>\setcounter{secnumdepth}{3}
+%<book|report>\setcounter{secnumdepth}{2}
% \end{macrocode}
% \end{macro}
%
@@ -3136,9 +3253,9 @@
%
% \begin{macrocode}
\newcounter{part}
-%<book>\newcounter{chapter}
-%<book>\newcounter{section}[chapter]
-%<!book>\newcounter{section}
+%<book|report>\newcounter{chapter}
+%<book|report>\newcounter{section}[chapter]
+%<!book&!report>\newcounter{section}
\newcounter{subsection}[section]
\newcounter{subsubsection}[subsection]
\newcounter{paragraph}[subsubsection]
@@ -3176,14 +3293,14 @@
%
% \begin{macrocode}
\renewcommand{\thepart}{\@Roman\c@part}
-%<!book>% \renewcommand{\thesection}{\@arabic\c@section}
-%<!book>\renewcommand{\thesection}{\presectionname\@arabic\c@section\postsectionname}
-%<!book>\renewcommand{\thesubsection}{\@arabic\c@section.\@arabic\c@subsection}
-%<*book>
+%<!book&!report>% \renewcommand{\thesection}{\@arabic\c@section}
+%<!book&!report>\renewcommand{\thesection}{\presectionname\@arabic\c@section\postsectionname}
+%<!book&!report>\renewcommand{\thesubsection}{\@arabic\c@section.\@arabic\c@subsection}
+%<*book|report>
\renewcommand{\thechapter}{\@arabic\c@chapter}
\renewcommand{\thesection}{\thechapter.\@arabic\c@section}
\renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
-%</book>
+%</book|report>
\renewcommand{\thesubsubsection}{%
\thesubsection.\@arabic\c@subsubsection}
\renewcommand{\theparagraph}{%
@@ -3212,8 +3329,8 @@
% [2003-03-02] |\@secapp| $B$O30$7$^$7$?!#(B
%
% \begin{macrocode}
-%<book>\newcommand{\@chapapp}{\prechaptername}
-%<book>\newcommand{\@chappos}{\postchaptername}
+%<book|report>\newcommand{\@chapapp}{\prechaptername}
+%<book|report>\newcommand{\@chappos}{\postchaptername}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -3230,11 +3347,13 @@
% \begin{macrocode}
%<*book>
\newcommand\frontmatter{%
- \if@openright
+ \if@openleft
+ \cleardoublepage
+ \else\if@openright
\cleardoublepage
\else
\clearpage
- \fi
+ \fi\fi
\@mainmatterfalse
\pagenumbering{roman}}
% \end{macrocode}
@@ -3246,11 +3365,13 @@
%
% \begin{macrocode}
\newcommand\mainmatter{%
-% \if@openright
+% \if@openleft
+% \cleardoublepage
+% \else\if@openright
\cleardoublepage
% \else
% \clearpage
-% \fi
+% \fi\fi
\@mainmattertrue
\pagenumbering{arabic}}
% \end{macrocode}
@@ -3262,11 +3383,13 @@
%
% \begin{macrocode}
\newcommand\backmatter{%
- \if@openright
+ \if@openleft
+ \cleardoublepage
+ \else\if@openright
\cleardoublepage
\else
\clearpage
- \fi
+ \fi\fi
\@mainmatterfalse}
%</book>
% \end{macrocode}
@@ -3298,29 +3421,31 @@
% \def\CMDB #1{....} % \chapter*{...} $B$NDj5A(B
%\end{verbatim}
%
-% $B$^$:(B |book| $B%/%i%90J30$G$9!#(B
+% $B$^$:(B |book| $B$H(B |report| $B$N%/%i%90J30$G$9!#(B
%
% \begin{macrocode}
-%<*!book>
+%<*!book&!report>
\newcommand\part{%
\if@noskipsec \leavevmode \fi
\par
\addvspace{4ex}%
\if@english \@afterindentfalse \else \@afterindenttrue \fi
\secdef\@part\@spart}
-%</!book>
+%</!book&!report>
% \end{macrocode}
%
-% |book| $B%9%?%$%k$N>l9g$O!$>/$7J#;($G$9!#(B
+% |book| $B$*$h$S(B |report| $B%/%i%9$N>l9g$O!$>/$7J#;($G$9!#(B
%
% \begin{macrocode}
-%<*book>
+%<*book|report>
\newcommand\part{%
- \if@openright
+ \if@openleft
+ \cleardoublepage
+ \else\if@openright
\cleardoublepage
\else
\clearpage
- \fi
+ \fi\fi
\thispagestyle{empty}% $B2$J8MQI8=`%9%?%$%k$G$O(B plain
\if@twocolumn
\onecolumn
@@ -3330,7 +3455,7 @@
\fi
\null\vfil
\secdef\@part\@spart}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
%
@@ -3339,11 +3464,11 @@
% $BIt$N8+=P$7$r=PNO$7$^$9!#(B
% |\bfseries| $B$r(B |\headfont| $B$KJQ$($^$7$?!#(B
%
-% |book| $B%/%i%90J30$G$O(B |secnumdepth| $B$,(B $-1$ $B$h$jBg$-$$$H$-(B
+% |book| $B$*$h$S(B |report| $B%/%i%90J30$G$O(B |secnumdepth| $B$,(B $-1$ $B$h$jBg$-$$$H$-(B
% $BItHV9f$rIU$1$^$9!#(B
%
% \begin{macrocode}
-%<*!book>
+%<*!book&!report>
\def\@part[#1]#2{%
\ifnum \c@secnumdepth >\m@ne
\refstepcounter{part}%
@@ -3366,13 +3491,13 @@
\nobreak
\vskip 3ex
\@afterheading}
-%</!book>
+%</!book&!report>
% \end{macrocode}
%
-% |book| $B%/%i%9$G$O(B |secnumdepth| $B$,(B $-2$ $B$h$jBg$-$$$H$-ItHV9f$rIU$1$^$9!#(B
+% |book| $B$*$h$S(B |report| $B%/%i%9$G$O(B |secnumdepth| $B$,(B $-2$ $B$h$jBg$-$$$H$-ItHV9f$rIU$1$^$9!#(B
%
% \begin{macrocode}
-%<*book>
+%<*book|report>
\def\@part[#1]#2{%
\ifnum \c@secnumdepth >-2\relax
\refstepcounter{part}%
@@ -3391,7 +3516,7 @@
\fi
\Huge \headfont #2\par}%
\@endpart}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
%
@@ -3400,7 +3525,7 @@
% $BHV9f$rIU$1$J$$It$G$9!#(B
%
% \begin{macrocode}
-%<*!book>
+%<*!book&!report>
\def\@spart#1{{%
\parindent \z@ \raggedright
\interlinepenalty \@M
@@ -3409,15 +3534,15 @@
\nobreak
\vskip 3ex
\@afterheading}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
\def\@spart#1{{%
\centering
\interlinepenalty \@M
\normalfont
\Huge \headfont #1\par}%
\@endpart}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
%
@@ -3433,19 +3558,19 @@
% $B$G=$@5$5$l$F$$$^$9!#(B
%
% \begin{macrocode}
-%<*book>
+%<*book|report>
\def\@endpart{\vfil\newpage
\if@twoside
- \if@openright %% added (2016/12/13)
- \null
- \thispagestyle{empty}%
- \newpage
- \fi %% added (2016/12/13)
+ \if@openleft %% added (2017/02/24)
+ \null\thispagestyle{empty}\newpage
+ \else\if@openright %% added (2016/12/13)
+ \null\thispagestyle{empty}\newpage
+ \fi\fi %% added (2016/12/13, 2017/02/24)
\fi
\if@restonecol
\twocolumn
\fi}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
%
@@ -3459,9 +3584,10 @@
% $B>O8+=P$7$N>e$K?^$dI=$,Mh$J$$$h$&$K$7$^$9!#(B
%
% \begin{macrocode}
-%<*book>
+%<*book|report>
\newcommand{\chapter}{%
- \if@openright\cleardoublepage\else\clearpage\fi
+ \if@openleft\cleardoublepage\else
+ \if@openright\cleardoublepage\else\clearpage\fi\fi
\plainifnotempty % $B85(B: \thispagestyle{plain}
\global\@topnum\z@
\if@english \@afterindentfalse \else \@afterindenttrue \fi
@@ -3479,7 +3605,7 @@
% \begin{macrocode}
\def\@chapter[#1]#2{%
\ifnum \c@secnumdepth >\m@ne
- \if@mainmatter
+%<book> \if@mainmatter
\refstepcounter{chapter}%
\typeout{\@chapapp\thechapter\@chappos}%
\addcontentsline{toc}{chapter}%
@@ -3487,7 +3613,7 @@
% {\if@english\thechapter\else\@chapapp\thechapter\@chappos\fi}%
{\@chapapp\thechapter\@chappos}%
#1}%
- \else\addcontentsline{toc}{chapter}{#1}\fi
+%<book> \else\addcontentsline{toc}{chapter}{#1}\fi
\else
\addcontentsline{toc}{chapter}{#1}%
\fi
@@ -3513,11 +3639,11 @@
\vspace*{2\Cvs}% $B2$J8$O(B50pt
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
- \if@mainmatter
+%<book> \if@mainmatter
\huge\headfont \@chapapp\thechapter\@chappos
\par\nobreak
\vskip \Cvs % $B2$J8$O(B20pt
- \fi
+%<book> \fi
\fi
\interlinepenalty\@M
\Huge \headfont #1\par\nobreak
@@ -3553,7 +3679,7 @@
\interlinepenalty\@M
\Huge \headfont #1\par\nobreak
\vskip 3\Cvs}} % $B2$J8$O(B40pt
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
%
@@ -3982,7 +4108,7 @@
\rightmargin=0pt
\leftmargin=5zw}\item[]}{\end{list}\vspace{\baselineskip}}
%</book>
-%<*article|kiyou>
+%<*article|report|kiyou>
\newbox\@abstractbox
\if@titlepage
\newenvironment{abstract}{%
@@ -4031,7 +4157,7 @@
\endlist
\fi}
\fi
-%</article|kiyou>
+%</article|report|kiyou>
%<*jspf>
\newbox\@abstractbox
\newenvironment{abstract}{%
@@ -4139,16 +4265,24 @@
%
% $B%?%$%H%k$rFHN)$N%Z!<%8$K=PNO$9$k$N$K;H$o$l$^$9!#(B
%
+% [2017-02-24] $B%3%_%e%K%F%#HG(B\pLaTeX $B$NI8=`%/%i%9(B2017/02/15$B$K9g$o$;$F!$(B
+% book$B%/%i%9$G%?%$%H%k$rI,$:4q?t%Z!<%8$KAw$k$h$&$K$7$^$7$?!#$H$$$C$F$b!$(B
+% $B2#AH%/%i%9$7$+$"$j$^$;$s$G$7$?$N$G!$=>Mh$N5sF0$O2?$bJQ$o$C$F$$$^$;$s!#(B
+% $B$^$?!$(Bbook$B0J30$N>l9g$N%Z!<%8HV9f$N%j%;%C%H$b%3%_%e%K%F%#HG(B\pLaTeX $B$N(B
+% $BI8=`%/%i%9(B2017/02/15$B$K9g$o$;$^$7$?$,!$$3$A$i$bJRLL0u:~$"$k$$$O(B
+% $BFHN)$N%?%$%H%k%Z!<%8$r:n$i$J$$%/%i%9$P$+$j$G$7$?$N$G!$=>Mh$N5sF0$O(B
+% $B2?$bJQ$o$i$:$K:Q$_$^$7$?!#(B
+%
% \begin{macrocode}
\newenvironment{titlepage}{%
-%<book> \cleardoublepage
+%<book> \pltx@cleartooddpage %% 2017-02-24
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse\newpage
\fi
\thispagestyle{empty}%
- \setcounter{page}\@ne
+ \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017-02-24
}%
{\if@restonecol\twocolumn \else \newpage \fi
\if@twoside\else
@@ -4164,7 +4298,7 @@
% $BK\J8$HIUO?$rJ,N%$9$k%3%^%s%I$G$9!#(B
%
% \begin{macrocode}
-%<*!book>
+%<*!book&!report>
\newcommand{\appendix}{\par
\setcounter{section}{0}%
\setcounter{subsection}{0}%
@@ -4173,15 +4307,15 @@
% \gdef\thesection{\@Alph\c@section}% [2003-03-02]
\gdef\thesection{\presectionname\@Alph\c@section\postsectionname}%
\gdef\thesubsection{\@Alph\c@section.\@arabic\c@subsection}}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
\newcommand{\appendix}{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
\gdef\@chappos{}%
\gdef\thechapter{\@Alph\c@chapter}}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
%
@@ -4273,12 +4407,12 @@
% $B?t<0HV9f$r=PNO$9$k%3%^%s%I$G$9!#(B
%
% \begin{macrocode}
-%<!book>\renewcommand \theequation {\@arabic\c@equation}
-%<*book>
+%<!book&!report>\renewcommand \theequation {\@arabic\c@equation}
+%<*book|report>
\@addtoreset{equation}{chapter}
\renewcommand\theequation
{\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
%
@@ -4342,15 +4476,15 @@
% $B?^HV9f$r=PNO$9$k%3%^%s%I$G$9!#(B
%
% \begin{macrocode}
-%<*!book>
+%<*!book&!report>
\newcounter{figure}
\renewcommand \thefigure {\@arabic\c@figure}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
\newcounter{figure}[chapter]
\renewcommand \thefigure
{\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -4401,15 +4535,15 @@
% $B$3$3$G$O%*%j%8%J%k$N$^$^$K$7$F$$$^$9!#(B
%
% \begin{macrocode}
-%<*!book>
+%<*!book&!report>
\newcounter{table}
\renewcommand\thetable{\@arabic\c@table}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
\newcounter{table}[chapter]
\renewcommand \thetable
{\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -4660,8 +4794,8 @@
\newcommand\@pnumwidth{1.55em}
\newcommand\@tocrmarg{2.55em}
\newcommand\@dotsep{4.5}
-%<!book>\setcounter{tocdepth}{2}
-%<book>\setcounter{tocdepth}{1}
+%<!book&!report>\setcounter{tocdepth}{2}
+%<book|report>\setcounter{tocdepth}{1}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -4681,7 +4815,7 @@
% \begin{macrocode}
\newdimen\jsc@tocl@width
\newcommand{\tableofcontents}{%
-%<*book>
+%<*book|report>
\settowidth\jsc@tocl@width{\headfont\prechaptername\postchaptername}%
\settowidth\@tempdima{\headfont\appendixname}%
\ifdim\jsc@tocl@width<\@tempdima \setlength\jsc@tocl@width{\@tempdima}\fi
@@ -4693,17 +4827,17 @@
\fi
\chapter*{\contentsname}%
\@mkboth{\contentsname}{}%
-%</book>
-%<*!book>
+%</book|report>
+%<*!book&!report>
\settowidth\jsc@tocl@width{\headfont\presectionname\postsectionname}%
\settowidth\@tempdima{\headfont\appendixname}%
\ifdim\jsc@tocl@width<\@tempdima\relax\setlength\jsc@tocl@width{\@tempdima}\fi
\ifdim\jsc@tocl@width<2zw \divide\jsc@tocl@width by 2 \advance\jsc@tocl@width 1zw\fi
\section*{\contentsname}%
\@mkboth{\contentsname}{\contentsname}%
-%</!book>
+%</!book&!report>
\@starttoc{toc}%
-%<book> \if@restonecol\twocolumn\fi
+%<book|report> \if@restonecol\twocolumn\fi
}
% \end{macrocode}
% \end{macro}\end{macro}
@@ -4715,8 +4849,8 @@
% \begin{macrocode}
\newcommand*{\l@part}[2]{%
\ifnum \c@tocdepth >-2\relax
-%<!book> \addpenalty\@secpenalty
-%<book> \addpenalty{-\@highpenalty}%
+%<!book&!report> \addpenalty\@secpenalty
+%<book|report> \addpenalty{-\@highpenalty}%
\addvspace{2.25em \@plus\jsc@mpt}%
\begingroup
\parindent \z@
@@ -4729,8 +4863,8 @@
\setlength\@lnumwidth{4zw}%
#1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
\nobreak
-%<book> \global\@nobreaktrue
-%<book> \everypar{\global\@nobreakfalse\everypar{}}%
+%<book|report> \global\@nobreaktrue
+%<book|report> \everypar{\global\@nobreakfalse\everypar{}}%
\endgroup
\fi}
% \end{macrocode}
@@ -4744,7 +4878,7 @@
% $B7h$a$k$h$&$K$7$F$_$^$7$?!#(B(by ts)
%
% \begin{macrocode}
-%<*book>
+%<*book|report>
\newcommand*{\l@chapter}[2]{%
\ifnum \c@tocdepth >\m@ne
\addpenalty{-\@highpenalty}%
@@ -4763,7 +4897,7 @@
\penalty\@highpenalty
\endgroup
\fi}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
%
@@ -4772,7 +4906,7 @@
% $B@a$NL\<!$G$9!#(B
%
% \begin{macrocode}
-%<*!book>
+%<*!book&!report>
\newcommand*{\l@section}[2]{%
\ifnum \c@tocdepth >\z@
\addpenalty{\@secpenalty}%
@@ -4789,13 +4923,13 @@
#1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
\endgroup
\fi}
-%</!book>
+%</!book&!report>
% \end{macrocode}
%
% $B%$%s%G%s%H$HI}$O$=$l$>$l(B1.5em$B!$(B2.3em$B$G$7$?$,!$(B
% 1zw$B!$(B3.683zw$B$KJQ$($^$7$?!#(B
% \begin{macrocode}
-%<book> % \newcommand*{\l@section}{\@dottedtocline{1}{1zw}{3.683zw}}
+%<book|report> % \newcommand*{\l@section}{\@dottedtocline{1}{1zw}{3.683zw}}
% \end{macrocode}
%
% [2013-12-30] $B>e$N%$%s%G%s%H$O(B |\jsc@tocl@width| $B$+$i7h$a$k$h$&$K(B
@@ -4815,7 +4949,7 @@
% $B$7$F$_$^$7$?!#(B(by ts)
%
% \begin{macrocode}
-%<*!book>
+%<*!book&!report>
% \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
% \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
% \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
@@ -4838,8 +4972,8 @@
\newcommand*{\l@subparagraph}{%
\@tempdima\jsc@tocl@width \advance\@tempdima 2zw
\@dottedtocline{5}{\@tempdima}{6zw}}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
% \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
% \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
% \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
@@ -4859,7 +4993,7 @@
\newcommand*{\l@subparagraph}{%
\@tempdima\jsc@tocl@width \advance\@tempdima 16.183zw
\@dottedtocline{5}{\@tempdima}{6.5zw}}
-%</book>
+%</book|report>
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -4912,18 +5046,18 @@
%
% \begin{macrocode}
\newcommand{\listoffigures}{%
-%<*book>
+%<*book|report>
\if@twocolumn\@restonecoltrue\onecolumn
\else\@restonecolfalse\fi
\chapter*{\listfigurename}%
\@mkboth{\listfigurename}{}%
-%</book>
-%<*!book>
+%</book|report>
+%<*!book&!report>
\section*{\listfigurename}%
\@mkboth{\listfigurename}{\listfigurename}%
-%</!book>
+%</!book&!report>
\@starttoc{lof}%
-%<book> \if@restonecol\twocolumn\fi
+%<book|report> \if@restonecol\twocolumn\fi
}
% \end{macrocode}
% \end{macro}
@@ -4943,18 +5077,18 @@
%
% \begin{macrocode}
\newcommand{\listoftables}{%
-%<*book>
+%<*book|report>
\if@twocolumn\@restonecoltrue\onecolumn
\else\@restonecolfalse\fi
\chapter*{\listtablename}%
\@mkboth{\listtablename}{}%
-%</book>
-%<*!book>
+%</book|report>
+%<*!book&!report>
\section*{\listtablename}%
\@mkboth{\listtablename}{\listtablename}%
-%</!book>
+%</!book&!report>
\@starttoc{lot}%
-%<book> \if@restonecol\twocolumn\fi
+%<book|report> \if@restonecol\twocolumn\fi
}
% \end{macrocode}
% \end{macro}
@@ -4995,8 +5129,8 @@
\subsubsection*{\refname}\@mkboth{\refname}{\refname}%
\vspace{0.5\baselineskip}
%</kiyou>
-%<book> \chapter*{\bibname}\@mkboth{\bibname}{}%
-%<book> \addcontentsline{toc}{chapter}{\bibname}%
+%<book|report> \chapter*{\bibname}\@mkboth{\bibname}{}%
+%<book|report> \addcontentsline{toc}{chapter}{\bibname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
@@ -5104,28 +5238,28 @@
\fi
\columnseprule.4pt \columnsep 2zw
\ifx\multicols\@undefined
-%<book> \twocolumn[\@makeschapterhead{\indexname}%
-%<book> \addcontentsline{toc}{chapter}{\indexname}]%
-%<!book> \def\presectionname{}\def\postsectionname{}%
-%<!book> \twocolumn[\section*{\indexname}]%
+%<book|report> \twocolumn[\@makeschapterhead{\indexname}%
+%<book|report> \addcontentsline{toc}{chapter}{\indexname}]%
+%<!book&!report> \def\presectionname{}\def\postsectionname{}%
+%<!book&!report> \twocolumn[\section*{\indexname}]%
\else
\ifdim\textwidth<\fullwidth
\setlength{\evensidemargin}{\oddsidemargin}
\setlength{\textwidth}{\fullwidth}
\setlength{\linewidth}{\fullwidth}
-%<book> \begin{multicols}{3}[\chapter*{\indexname}%
-%<book> \addcontentsline{toc}{chapter}{\indexname}]%
-%<!book> \def\presectionname{}\def\postsectionname{}%
-%<!book> \begin{multicols}{3}[\section*{\indexname}]%
+%<book|report> \begin{multicols}{3}[\chapter*{\indexname}%
+%<book|report> \addcontentsline{toc}{chapter}{\indexname}]%
+%<!book&!report> \def\presectionname{}\def\postsectionname{}%
+%<!book&!report> \begin{multicols}{3}[\section*{\indexname}]%
\else
-%<book> \begin{multicols}{2}[\chapter*{\indexname}%
-%<book> \addcontentsline{toc}{chapter}{\indexname}]%
-%<!book> \def\presectionname{}\def\postsectionname{}%
-%<!book> \begin{multicols}{2}[\section*{\indexname}]%
+%<book|report> \begin{multicols}{2}[\chapter*{\indexname}%
+%<book|report> \addcontentsline{toc}{chapter}{\indexname}]%
+%<!book&!report> \def\presectionname{}\def\postsectionname{}%
+%<!book&!report> \begin{multicols}{2}[\section*{\indexname}]%
\fi
\fi
-%<book> \@mkboth{\indexname}{}%
-%<!book> \@mkboth{\indexname}{\indexname}%
+%<book|report> \@mkboth{\indexname}{}%
+%<!book&!report> \@mkboth{\indexname}{\indexname}%
\plainifnotempty % \thispagestyle{plain}
\parindent\z@
\parskip\z@ \@plus .3\jsc@mpt\relax
@@ -5276,7 +5410,7 @@
% $B5SCmHV9f$O>O$4$H$K%j%;%C%H$5$l$^$9!#(B
%
% \begin{macrocode}
-%<book>\@addtoreset{footnote}{chapter}
+%<book|report>\@addtoreset{footnote}{chapter}
% \end{macrocode}
% \end{macro}
%
@@ -5380,6 +5514,10 @@
% [2016-12-01] $B$9$0>e$NJQ99$G(B |\@tempa| $B$r;H$C$F$$$?$N$,$h$/$J$+$C$?(B
% $B$N$G!$%W%l%U%#%C%/%9$rIU$1$F(B |\jsc@tempa| $B$K$7$^$7$?(B(forum:2085)$B!#(B
%
+% [2017-02-13] |\jsc@tempa| $B$O<B$O%F%s%]%i%j$G$O$J$/!V$3$N=hM}@lMQ$N(B
+% $B%f%K!<%/@)8fDV!W$G$"$kI,MW$,$"$j$^$9!#4V0c$C$FJL$N2U=j$G;H$&4m81@-$,(B
+% $B9b$$$N$G!$@lMQ$NL?Na(B |\jsc@ig@temp| $B$KCV$-49$($^$7$?(B(Issue \#54)$B!#(B
+%
% \begin{macrocode}
\def\@inhibitglue{%
\futurelet\@let@token\@@inhibitglue}
@@ -5402,8 +5540,8 @@
\def\@@inhibitglue{%
\expandafter\expandafter\expandafter\jsc@inhibitglue\expandafter\meaning\expandafter\@let@token\KANJI@CHARACTER\relax\jsc@end}
\expandafter\def\expandafter\jsc@inhibitglue\expandafter#\expandafter1\KANJI@CHARACTER#2#3\jsc@end{%
- \def\jsc@tempa{#1}%
- \ifx\jsc@tempa\@empty
+ \def\jsc@ig@temp{#1}%
+ \ifx\jsc@ig@temp\@empty
\ifnum\the\inhibitxspcode`#2=2\relax
\inhibitglue
\fi
@@ -5614,8 +5752,8 @@
% \begin{macrocode}
\newcommand{\prepartname}{\if@english Part~\else $BBh(B\fi}
\newcommand{\postpartname}{\if@english\else $BIt(B\fi}
-%<book>\newcommand{\prechaptername}{\if@english Chapter~\else $BBh(B\fi}
-%<book>\newcommand{\postchaptername}{\if@english\else $B>O(B\fi}
+%<book|report>\newcommand{\prechaptername}{\if@english Chapter~\else $BBh(B\fi}
+%<book|report>\newcommand{\postchaptername}{\if@english\else $B>O(B\fi}
\newcommand{\presectionname}{}% $BBh(B
\newcommand{\postsectionname}{}% $B@a(B
% \end{macrocode}
@@ -5716,8 +5854,9 @@
% $B%Z!<%8@_Dj$N=i4|2=$G$9!#(B
%
% \begin{macrocode}
-%<article|kiyou>\if@slide \pagestyle{empty} \else \pagestyle{plain} \fi
+%<article>\if@slide \pagestyle{empty} \else \pagestyle{plain} \fi
%<book>\if@report \pagestyle{plain} \else \pagestyle{headings} \fi
+%<report|kiyou>\pagestyle{plain}
%<jspf>\pagestyle{headings}
\pagenumbering{arabic}
\if@twocolumn
@@ -5741,12 +5880,13 @@
%
% [2016-11-29] $B%3%_%e%K%F%#HG(Bp\LaTeX $B$G?7@_$5$l$?%F%9%HMQ%Q%C%1!<%8(B
% $B!J(B\texttt{exppl2e}$B%Q%C%1!<%8!K$,J8=q%/%i%9$h$j@h$KFI$_9~$^$l$F$$$?(B
-% $B>l9g$O!$(Bjsclasses$B$b%F%9%HHG$H$7$FF0:n$7$^$9!#$3$N=hCV$O(Bjsarticle$B$H(B
-% jsbook$B$K$N$_9T$$!$(Bjspf$B$H(Bkiyou$B$O=|30$7$F$*$-$^$9!#(Bexppl2e$B%Q%C%1!<%8(B
-% $B$,FI$_$3$^$l$F$$$J$$>l9g$ODL>oHG$H$7$FF0:n$7$^$9$N$G!$$3$3$G=*N;$7$^$9!#(B
+% $B>l9g$O!$(Bjsclasses$B$b%F%9%HHG$H$7$FF0:n$7$^$9!#$3$N=hCV$O(B
+% jsarticle$B!$(Bjsbook$B!$(Bjsreport$B$K$N$_9T$$!$(Bjspf$B$H(Bkiyou$B$O=|30$7$F$*$-$^$9!#(B
+% exppl2e$B%Q%C%1!<%8$,FI$_$3$^$l$F$$$J$$>l9g$ODL>oHG$H$7$FF0:n$7$^$9$N$G!$(B
+% $B$3$3$G=*N;$7$^$9!#(B
%
% \begin{macrocode}
-%<*article|book>
+%<*article|book|report>
\@ifpackageloaded{exppl2e}{\jsc@needsp@tchtrue}{\jsc@needsp@tchfalse}
\ifjsc@needsp@tch\else
\expandafter\endinput
@@ -5765,7 +5905,7 @@
\unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \hskip \z@
\ignorespaces
\fi}
-%</article|book>
+%</article|book|report>
% \end{macrocode}
% \end{macro}
%
diff --git a/Master/texmf-dist/source/platex/jsclasses/jsclasses.ins b/Master/texmf-dist/source/platex/jsclasses/jsclasses.ins
index 91beaa5e574..738af8a8fba 100644
--- a/Master/texmf-dist/source/platex/jsclasses/jsclasses.ins
+++ b/Master/texmf-dist/source/platex/jsclasses/jsclasses.ins
@@ -3,5 +3,6 @@
\keepsilent
\generateFile{jsarticle.cls}{f}{\from{jsclasses.dtx}{article}}
\generateFile{jsbook.cls}{f}{\from{jsclasses.dtx}{book}}
+\generateFile{jsreport.cls}{f}{\from{jsclasses.dtx}{report}}
\generateFile{jspf.cls}{f}{\from{jsclasses.dtx}{jspf}}
\generateFile{kiyou.cls}{f}{\from{jsclasses.dtx}{kiyou}}
diff --git a/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx b/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx
index 6165755c74d..ba287859163 100644
--- a/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx
+++ b/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx
@@ -4,7 +4,7 @@
% LaTeX $B4XO"$N%m%4!J(BpLaTeX2$B&E?7%I%-%e%a%s%H%/%i%9IUO?!K(B
%
% Copyright 1999-2016 Haruhiko Okumura
-% Copyright 2016 Japanese TeX Development Community
+% Copyright 2016-2017 Japanese TeX Development Community
%
% \fi
%
@@ -16,7 +16,7 @@
%<*driver>
\ProvidesFile{jslogo.dtx}
%</driver>
- [2016/07/14 okumura, texjporg]
+ [2017/02/24 okumura, texjporg]
%<*driver>
\documentclass{jsarticle}
\usepackage{doc}
@@ -374,6 +374,35 @@
% \end{macro}
%
%
+% \section{PDF$BJ8;zNsCf$G%m%4$,;H$o$l$?>l9g$X$NBP:v(B}
+%
+% $B0J>e$G%m%4$NDj5A$O=*$o$j$G$9$,!$(B|hyperref|$B$rFI$_9~$s$@>uBV$G(B |jslogo| $B$NL?Na$r(B
+% PDF$BJ8;zNs$H$7$F2r<a$5$l$k2U=j!JNc(B |\section| $B$J$I!K$G;H$&$H7Y9p$,=P$F$7$^$$$^$9!#(B
+%\begin{verbatim}
+% Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
+% (hyperref) \kern -0.50003pt
+% (hyperref) removed on input line 5.
+%\end{verbatim}
+% $B$=$3$G!$$3$N7Y9p$,=P$J$$$h$&$KBP:v$7$^$9(B(Issue \#51)$B!#(B
+%
+% $B$^$:!$(B|\pdfstringdefPreHook| $B$r!J$J$1$l$P!KMQ0U$7$^$9!#(B
+% \begin{macrocode}
+\providecommand*\pdfstringdefPreHook{}
+% \end{macrocode}
+%
+% $B$=$7$F!$7Y9p$,=P$F$7$^$&%m%4$KBP$9$k(BPDF$BJ8;zNsCf$G$NDj5A$rDI2C$7$^$9!#(B
+% \begin{macrocode}
+\g@addto@macro\pdfstringdefPreHook{%
+ \def\pTeX{p\TeX}%
+ \def\AmS{AMS}%
+ \def\SliTeX{Sli\TeX}%
+ \def\BibTeX{Bib\TeX}%
+}
+% \end{macrocode}
+%
+% |hyperref| $BFI9~;~$K(B |\pdfstringdefPreHook| $B$,Dj5A:Q$J$i$=$l$O$=$N$^$^J];}$5$l!$(B
+% $B7Y9p$,=P$J$/$J$j$^$9!#(B
+%
% $B0J>e$G$9!#(B
%
% \Finale