Very fast compiling.
Structured source.
Gitignore updated for compiled preamble.
-git.aux
-git.log
-git.nav
-git.out
-git.pdf
-git.snm
-git.toc
+*.aux
+*.log
+*.nav
+*.out
+*.pdf
+*.snm
+*.toc
+*.fmt
-all: vc.tex git.pdf
-
-git.pdf: git.tex vc.tex
+git.pdf: git.tex preamble.fmt
+ pdflatex $<
+
+preamble.fmt: preamble.tex vc.tex
+ pdflatex -ini -jobname="$(basename $<)" "&pdflatex $<\dump"
- git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > vc.tex
+ git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > $@
- $(RM) -v git.{eps,aux,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex
+ $(RM) -v *.{eps,aux,fmt,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex
-\documentclass{beamer}
-
-\usepackage{hyperref}
-
-\input{vc.tex}
-
-\author{Mart Lubbers}
-\title{
- Git flashtalk\\
-}
-\date{\today}
-
+ \frametitle{Table of contents}
+ \tableofcontents
\begin{itemize}
\item Mart Lubbers
\item 4th year bachelor AI
\begin{itemize}
\item Mart Lubbers
\item 4th year bachelor AI
\end{itemize}
\end{frame}
\end{itemize}
\end{frame}
+\section{Basics}
+
+\section{Branching}
+
--- /dev/null
+\documentclass{beamer}
+
+\usepackage{hyperref}
+
+\input{vc.tex}
+
+\title[GIT] {Git flashtalk}
+\subtitle{A short introduction to GIT}
+\author[Lubbers] % (optional, for multiple authors)
+{M.~Lubbers\inst{1}}
+\institute[Radboud University] % (optional)
+{
+ \inst{1}%
+ Artificial Intelligence\\
+ Radboud University Nijmegen
+}
+\date[2015]{\today}
+\subject{Git}
+
+\AtBeginSection[]
+{
+ \begin{frame}
+ \frametitle{Table of Contents}
+ \tableofcontents[currentsection]
+ \end{frame}
+}