From: Mart Lubbers Date: Thu, 3 Mar 2016 19:11:11 +0000 (+0100) Subject: initial commit X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=4da64e9d0ceb6143ea93fdbf5dcd68eaad65d1c9;p=linuxnijmegen-python.git initial commit --- 4da64e9d0ceb6143ea93fdbf5dcd68eaad65d1c9 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} +}