summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-20 22:14:19 +0000
committerKarl Berry <karl@freefriends.org>2021-02-20 22:14:19 +0000
commit15c5ddf3315f167a546a5be47558e571e33a8fb5 (patch)
tree3aa12d29ed752db55531446c2dc77ae4a299cf4f /Master/texmf-dist/tex
parentd2b1f87fbfd7b6db16b58649b19d2feffc6f5b46 (diff)
easybook (20feb21)
git-svn-id: svn://tug.org/texlive/trunk@57813 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybook.cls14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls
index 305f33ac691..475920142e5 100644
--- a/Master/texmf-dist/tex/latex/easybook/easybook.cls
+++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls
@@ -9,7 +9,7 @@
%% https://creativecommons.org/licenses/by/4.0/legalcode
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/02/13}{1.23d}{}
+\ProvidesExplClass{easybook}{2021/02/20}{1.23e}{}
\cs_generate_variant:Nn \keys_define:nn {nx}
\cs_generate_variant:Nn \int_to_arabic:n {v}
@@ -302,11 +302,17 @@
{\hbox:n {}\thispagestyle{empty}\clearpage}
}
}
-\cs_gset:Npn \frontmatter
+\RenewDocumentCommand{\frontmatter}{sO{Roman}}
{
- \cleardoublepage
+ \IfBooleanTF{#1}{\clearpage}{\cleardoublepage}
\@mainmatterfalse
- \pagenumbering{Roman}
+ \pagenumbering{#2}
+ }
+\RenewDocumentCommand{\mainmatter}{s}
+ {
+ \IfBooleanTF{#1}{\clearpage}{\cleardoublepage}
+ \@mainmattertrue
+ \pagenumbering{arabic}
}
\cs_gset_eq:NN \easyhead\fancyhead
\cs_gset_eq:NN \easyfoot\fancyfoot