From 4da64e9d0ceb6143ea93fdbf5dcd68eaad65d1c9 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 3 Mar 2016 20:11:11 +0100 Subject: [PATCH 1/1] initial commit --- Makefile | 17 +++++++++++++++++ p.tex | 9 +++++++++ pre.tex | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 Makefile create mode 100644 p.tex create mode 100644 pre.tex diff --git a/Makefile b/Makefile new file mode 100644 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 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 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} +} -- 2.20.1