Browse Source

Use new version and copyright package to handle stuff

Samuel W. Flint 5 years ago
parent
commit
8b449ec9f7
2 changed files with 8 additions and 2 deletions
  1. 2 0
      .gitignore
  2. 6 2
      document.tex

+ 2 - 0
.gitignore

@@ -164,3 +164,5 @@ sympy-plots-for-*.tex/
 # endfloat
 *.ttt
 *.fff
+
+*.ver

+ 6 - 2
document.tex

@@ -4,6 +4,7 @@
 \KOMAoptions{toc=idx}
 
 \usepackage{helpers}
+\usepackage{version-and-copyright}
 \usepackage{recipe}
 
 \usepackage{hyperxmp}
@@ -24,10 +25,13 @@
 
 \title{The Open Source Cookbook}
 
-\lowertitleback{This compilation \copyright 2020, Samuel Flint,
+\lowertitleback{This compilation \copyrightRange{2020} Samuel Flint,
   licensed \doclicenseName (\doclicenseIcon).  Recipes copyright their
   respective contributors, and under the same terms unless otherwise
-  noted.}
+  noted.
+
+  Revision \texttt{\gitrevision}.
+}
 
 \usepackage{hyperref}
 \hypersetup{