From: Mart Lubbers Date: Thu, 26 Mar 2015 08:30:46 +0000 (+0100) Subject: initial skeleton X-Git-Tag: 1.0~12 X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=2419edcfbf66aefa6fd8ea0933cbd1deb6a1e5f8;p=ai-gitflashtalk.git initial skeleton --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8524ab0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +git.aux +git.log +git.nav +git.out +git.pdf +git.snm +git.toc +vc.tex diff --git a/Makefile b/Makefile index c17eb18..461a8af 100644 --- 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 --- 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}