Skip to content

Commit

Permalink
check and use everypage-1x for TL20 or higher. Closes: #1720
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuto committed Aug 22, 2021
1 parent 691fa9b commit 6af23ac
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/latex/review-jsbook/review-jsbook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
\IfFileExists{plautopatch.sty}{\RequirePackage{plautopatch}}{}
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{review-jsbook}
[2021/01/12 v5.1 Re:VIEW pLaTeX class modified for jsbook.cls]
[2021/08/23 v5.2 Re:VIEW pLaTeX class modified for jsbook.cls]

\def\recls@error{\ClassError{review-jsbook}}
\def\recls@warning{\ClassWarning{review-jsbook}}
Expand All @@ -44,7 +44,10 @@
\PassOptionsToPackage{nosetpagesize}{graphicx}%%for TL16 or higher version
}{}

\RequirePackage{xkeyval,everypage}%%,etoolbox
\RequirePackage{xkeyval}%%,etoolbox
\IfFileExists{everypage-1x.sty}{% is bundled in TL20 or higher
\RequirePackage{everypage-1x}
}{\RequirePackage{everypage}}

%% useful helpers
\newcommand\recls@get@p@[2]{%
Expand Down

0 comments on commit 6af23ac

Please sign in to comment.