templates/latex/review-jsbook/review-jsbook.cls in review-4.2.0 vs templates/latex/review-jsbook/review-jsbook.cls in review-5.0.0
- old
+ new
@@ -1,7 +1,7 @@
%#!ptex2pdf -l -u -ot '-synctex=1' test-rejsbk
-% Copyright (c) 2018-2019 Munehiro Yamamoto, Kenshi Muto.
+% Copyright (c) 2018-2020 Munehiro Yamamoto, Kenshi Muto.
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the "Software"), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -19,11 +19,11 @@
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
% THE SOFTWARE.
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{review-jsbook}
- [2019/09/22 v4.0 Re:VIEW pLaTeX class modified for jsbook.cls]
+ [2020/08/16 v5.0 Re:VIEW pLaTeX class modified for jsbook.cls]
\def\recls@error{\ClassError{review-jsbook}}
\def\recls@warning{\ClassWarning{review-jsbook}}
\def\recls@warningnoline{\ClassWarningNoLine{review-jsbook}}
\def\recls@info{\ClassInfo{review-jsbook}}
@@ -224,11 +224,13 @@
\DeclareOptionX{headsep}{\gdef\recls@headsep{#1}}
\DeclareOptionX{footskip}{\gdef\recls@footskip{#1}}
%% 表紙・開始番号・通しノンブル
\newif\if@reclscover \@reclscovertrue
+\newif\ifrecls@coverfitpage \recls@coverfitpagefalse
\newif\ifrecls@serialpage \recls@serialpagefalse
\DeclareOptionX{cover}[\@empty]{\gdef\recls@forcecover{#1}}
+\DeclareOptionX{cover_fit_page}[false]{\csname recls@coverfitpage#1\endcsname}
\DeclareOptionX{startpage}[1]{\gdef\recls@startpage{\numexpr#1}}
\DeclareOptionX{serial_pagination}[false]{\csname recls@serialpage#1\endcsname}
\PassOptionsToClass{dvipdfmx,nomag}{jsbook}
\DeclareOptionX*{\PassOptionsToClass{\CurrentOption}{jsbook}}%