initial commit
authorMart Lubbers <mart@martlubbers.net>
Thu, 3 Mar 2016 19:11:11 +0000 (20:11 +0100)
committerMart Lubbers <mart@martlubbers.net>
Thu, 3 Mar 2016 19:11:11 +0000 (20:11 +0100)
Makefile [new file with mode: 0644]
p.tex [new file with mode: 0644]
pre.tex [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..2cfcfb7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+LATEX:=pdflatex
+DOCUMENT:=p
+
+.PHONY: all clean
+.SECONDARY: $(DOCUMENT).fmt
+
+all: $(DOCUMENT).pdf
+
+%.pdf: %.tex %.fmt 
+       $(LATEX) $(basename $@)
+       $(LATEX) $(basename $@)
+
+%.fmt: pre.tex
+       $(LATEX) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
+
+clean:
+       $(RM) -v $(addprefix $(DOCUMENT)., aux fmt log nav out pdf snm toc)
diff --git a/p.tex b/p.tex
new file mode 100644 (file)
index 0000000..44d82bf
--- /dev/null
+++ b/p.tex
@@ -0,0 +1,9 @@
+%&p
+\begin{document}
+\frame{\titlepage}
+
+\begin{frame}
+       \frametitle{Hello world}
+       hoi
+\end{frame}
+\end{document}
diff --git a/pre.tex b/pre.tex
new file mode 100644 (file)
index 0000000..19a6148
--- /dev/null
+++ b/pre.tex
@@ -0,0 +1,13 @@
+\documentclass{beamer}
+
+\title[Python]{The Python programming language}
+\author[Lubbers]{M. Lubbers}
+\date[LUGN43]{\today}
+\subject{Python}
+
+\AtBeginSection[]{%
+       \begin{frame}
+               \frametitle{Table of Contents}
+               \tableofcontents[currentsection]
+       \end{frame}
+}