summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/willowtreebook
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-22 20:36:47 +0000
committerKarl Berry <karl@freefriends.org>2021-09-22 20:36:47 +0000
commit25292fae8f78dc5f137edf4ca0e4627c87db8609 (patch)
treeb10128e1e3fdd348792293f92aa7b1d47d37a37c /Master/texmf-dist/tex/latex/willowtreebook
parenta8366738879c71baedc648dce6fd95e55f9f187f (diff)
willowtreebook (22sep21)
git-svn-id: svn://tug.org/texlive/trunk@60583 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/willowtreebook')
-rw-r--r--Master/texmf-dist/tex/latex/willowtreebook/willowtreebook.cls8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/willowtreebook/willowtreebook.cls b/Master/texmf-dist/tex/latex/willowtreebook/willowtreebook.cls
index 28ea7bbc996..1a2eb4d49c1 100644
--- a/Master/texmf-dist/tex/latex/willowtreebook/willowtreebook.cls
+++ b/Master/texmf-dist/tex/latex/willowtreebook/willowtreebook.cls
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{willowtreebook}[2020/04/24 Willow Tree Book LaTeX class v1.01]
+\ProvidesClass{willowtreebook}[2021/09/22 Willow Tree Book LaTeX class v1.02]
\DeclareOption{ContainsChinese}{\def\ChineseTextInThisDocument{}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{memoir}}
\ProcessOptions\relax
@@ -9,7 +9,7 @@
\def\mckaybook@subtitle{}
\def\mckaybook@author{}
\def\mckaybook@bibliography{}
-\def\mckaybook@colophon{This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.}
+\def\mckaybook@colophon{This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 Unported License.}
\NewDocumentCommand\Title{m}{\global\def\mckaybook@title{#1}}
\NewDocumentCommand\Subtitle{m}{\global\def\mckaybook@subtitle{#1}}
\NewDocumentCommand\Author{m}{\global\def\mckaybook@author{#1}}
@@ -511,6 +511,7 @@ ref=\theenumi.\emph{\alph*}}
\pagenumbering{arabic}
}%
\NewDocumentCommand\hintsPreamble{}{}
+\NewDocumentCommand\bibliographyPreamble{}{}
\AtEndDocument%
{%%
\backmatter
@@ -525,7 +526,8 @@ ref=\theenumi.\emph{\alph*}}
\ifx\mckaybook@bibliography\@empty
\else
% Bibliography
-\bibliographystyle{amsplain}
+\bibliographystyle{amsplain}%
+\renewcommand{\prebibhook}{\bibliographyPreamble{}}
\bibliography{\mckaybook@bibliography}
\flushbottom
\fi