initial skeleton
authorMart Lubbers <mart@martlubbers.net>
Thu, 26 Mar 2015 08:30:46 +0000 (09:30 +0100)
committerMart Lubbers <mart@martlubbers.net>
Thu, 26 Mar 2015 08:30:46 +0000 (09:30 +0100)
.gitignore [new file with mode: 0644]
Makefile
git.tex

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..8524ab0
--- /dev/null
@@ -0,0 +1,8 @@
+git.aux
+git.log
+git.nav
+git.out
+git.pdf
+git.snm
+git.toc
+vc.tex
index c17eb18..461a8af 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,18 +2,12 @@ SHELL:=/bin/bash
 
 all: vc.tex git.pdf
 
-%.pdf: %.dvi
-       dvipdfm $<
-
-%.dvi: %.tex vc.tex
-       latex $< 
-       latex $<
+git.pdf: git.tex vc.tex
+       pdflatex $< 
+       pdflatex $<
 
 vc.tex: .git/logs/HEAD
-       git log -1 --format="format:\
-               \\gdef\\GITAbrHash{%h}\
-               \\gdef\\GITAuthorDate{%ad}\
-               \\gdef\\GITAuthorName{%an}" > vc.tex
+       git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > vc.tex
 
 clean:
-       $(RM) -v *.{eps,aux,bbl,blg,dvi,log,out,toc}
+       $(RM) -v git.{eps,aux,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex
diff --git a/git.tex b/git.tex
index c325737..54c60e0 100644 (file)
--- a/git.tex
+++ b/git.tex
@@ -1,17 +1,29 @@
 \documentclass{beamer}
 
+\usepackage{hyperref}
+
 \input{vc.tex}
 
 \author{Mart Lubbers}
-\title{Git flashtalk}
+\title{
+       Git flashtalk\\
+}
 \date{\today}
 
 \begin{document}
 
 \begin{frame}
        \maketitle
-       \let\thefootnote\relax
-       \footnotetext{Git \GITAbrHash, \GITAuthorDate, \GITAuthorName.}
+\end{frame}
+
+\begin{frame}
+       \frametitle{Author}
+       \begin{itemize}
+               \item Mart Lubbers
+               \item 4th year bachelor AI
+               \item \url{https://github.com/dopefishh/gitflashtalk}
+               \item Sha of this version: {\tiny\GITAbrHash}
+       \end{itemize}
 \end{frame}
 
 \end{document}