initial commit, skeleton
authorMart Lubbers <mart@martlubbers.net>
Sat, 12 Mar 2016 14:18:27 +0000 (15:18 +0100)
committerMart Lubbers <mart@martlubbers.net>
Sat, 12 Mar 2016 14:18:27 +0000 (15:18 +0100)
.gitignore [new file with mode: 0644]
Makefile [new file with mode: 0644]
git.tex [new file with mode: 0644]
pre.tex [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..d82a6d4
--- /dev/null
@@ -0,0 +1,13 @@
+*.vrb
+*.aux
+*.fmt
+*.bbl
+*.blg
+*.log
+*.out
+*.toc
+*.nav
+*.snm
+*.pdf
+vc.tex
+_minted*
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..64fd49d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+LATEX:=pdflatex
+TEXFLAGS:=-shell-escape
+DOCUMENT:=git
+
+.PHONY: clean 
+.SECONDARY: $(DOCUMENT).fmt
+
+all: $(DOCUMENT).pdf
+
+vc.tex: .git/logs/HEAD
+       git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > $@
+
+%.pdf: %.tex %.fmt
+       $(LATEX) $(TEXFLAGS) $< 
+       $(LATEX) $(TEXFLAGS) $< 
+
+%.fmt: pre.tex vc.tex
+       $(LATEX) $(TEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
+
+
+clean:
+       $(RM) -vr $(addprefix *.,vrb aux fmt bbl blg log out toc nav snm pdf)\
+               _minted*
diff --git a/git.tex b/git.tex
new file mode 100644 (file)
index 0000000..dfe3154
--- /dev/null
+++ b/git.tex
@@ -0,0 +1,27 @@
+%&git
+\begin{document}
+\begin{frame}
+       \titlepage
+\end{frame}
+
+\section{What is GIT}
+\begin{frame}
+       \frametitle{Who am I?}
+       \begin{itemize}
+               \item Mart Lubbers
+               \item 4th year bachelor AI
+               \item \url{https://github.com/dopefishh/gitflashtalk}
+               \item SHA of the commit of this presentation:
+                       {\tiny\GITAbrHash}
+       \end{itemize}
+\end{frame}
+
+\section{Introduction}
+
+\section{Local}
+
+\section{Remote}
+
+\section{Conclusion}
+
+\end{document}
diff --git a/pre.tex b/pre.tex
new file mode 100644 (file)
index 0000000..60ff458
--- /dev/null
+++ b/pre.tex
@@ -0,0 +1,32 @@
+\documentclass{beamer}
+
+\usepackage[tone,safe]{tipa}
+\usepackage{minted}
+\usepackage{graphicx}
+
+\usecolortheme{dove}
+\usetheme{Singapore}
+
+\title[Git]{Version control with Git}
+\author[Lubbers]{M.~Lubbers~\inst{1}}
+\institute[Radboud University]{%
+       \inst{1}%
+       Computing Science: Software Science\\
+       Radboud University Nijmegen
+}
+\date[2015]{\today}
+\subject{Git}
+
+\input{vc.tex}
+
+\graphicspath{{./img/}}
+
+\setminted{%
+}
+
+\AtBeginSection[]{%
+       \begin{frame}
+               \frametitle{Table of Contents}
+               \tableofcontents[currentsection]
+       \end{frame}
+}