Просмотр исходного кода

Use new version and copyright package to handle stuff

Samuel W. Flint 6 лет назад
Родитель
Сommit
8b449ec9f7
2 измененных файлов с 8 добавлено и 2 удалено
  1. 2 0
      .gitignore
  2. 6 2
      document.tex

+ 2 - 0
.gitignore

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

+ 6 - 2
document.tex

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