Skip to content

Commit

Permalink
handling openany in review-jlreq (Closes: #1711) and fix page folio d…
Browse files Browse the repository at this point in the history
…isplaying
  • Loading branch information
kmuto committed Jun 28, 2021
1 parent e6b8253 commit bdce4e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion templates/latex/review-jlreq/review-base.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesClass{review-base}[2021/06/04]
\ProvidesClass{review-base}[2021/06/28]
% jlreq用基本設定
\def\recls@tmp{luatex}\ifx\recls@tmp\recls@driver
\hypersetup{
Expand Down Expand Up @@ -385,6 +385,7 @@
\ifdefined\review@toc
\def\reviewtableofcontents{%
\setcounter{tocdepth}{\review@tocdepth}
\pagestyle{headings}
\tableofcontents
}
\fi
Expand Down
5 changes: 3 additions & 2 deletions templates/latex/review-jlreq/review-jlreq.cls
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

\IfFileExists{plautopatch.sty}{\RequirePackage{plautopatch}}{}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{review-jlreq}[2021/01/12 Re:VIEW 5.1 upLaTeX/LuaLaTeX class modified for jlreq.cls]
\ProvidesClass{review-jlreq}[2021/06/28 Re:VIEW 5.2 upLaTeX/LuaLaTeX class modified for jlreq.cls]

%% hook at end of reviewmacro
\let\@endofreviewmacrohook\@empty
Expand Down Expand Up @@ -82,7 +82,7 @@

%% hiddenfolio=nikko-pc
\@namedef{@makehiddenfolio@nikko-pc}{%
\jlreqtrimmarkssetup{banner = { center-gutter = { in = {\hiddenfolio@font\selectfont \thepage} } } } }
\jlreqtrimmarkssetup{banner = { center-gutter= { \hiddenfolio@font\selectfont \thepage} } } }

%% hiddenfolio=shippo
\@namedef{@makehiddenfolio@shippo}{%
Expand Down Expand Up @@ -282,6 +282,7 @@
% シンプルな通しノンブル
\ifrecls@serialpage
\jlreqsetup{frontmatter_pagination=continuous}
\if@openright\else\jlreqsetup{mainmatter_pagebreak=clearpage}\fi
\fi

% 開始ページを変更
Expand Down

0 comments on commit bdce4e3

Please sign in to comment.