summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-16 21:14:36 +0000
committerKarl Berry <karl@freefriends.org>2019-07-16 21:14:36 +0000
commitcf12bb505e9a4455ac9fb495f04cf7a2d079186c (patch)
treeeeb96649fd30bc3ac8752f78005b52d8efc47d57 /Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
parentd2055c0169cf583fb9af2de4061319e5b31a4303 (diff)
lwarp (16jul19)
git-svn-id: svn://tug.org/texlive/trunk@51653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty11
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
index c24ad4c098b..511dc188501 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty
@@ -221,6 +221,9 @@
\renewcommand*{\abstractintoc}{}
\renewcommand*{\abstractnum}{}
\renewcommand*{\abstractrunin}{}
+\DeclareDocumentCommand{\book}{s d() o o d() m}{%
+ \LWR@section{#1}{#3}{#6}{book}%
+}
\def\@apppage{%
\part*{\appendixpagename}
@@ -231,9 +234,13 @@
\def\@sapppage{%
\part*{\appendixpagename}
}
+\DeclareDocumentCommand{\mainmatter}{s}{%
+ \booltrue{LWR@mainmatter}%
+}
-\csletcs{frontmatter*}{frontmatter}
-\csletcs{mainmatter*}{mainmatter}
+\DeclareDocumentCommand{\frontmatter}{s}{%
+\boolfalse{LWR@mainmatter}%
+}
\renewcommand*{\raggedbottomsection}{}
\renewcommand*{\normalbottomsection}{}
\renewcommand*{\bottomsectionskip}{}