From 36d2564cca6ffab6506198f13545e5d02cf2b5cc Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Wed, 28 Jun 2017 11:10:06 +0200 Subject: [PATCH] presentation start --- .gitignore | 2 ++ Makefile | 2 +- presentation/Makefile | 45 +++++++++++++++++++++++++++++++++++ presentation/presentation.pre | 17 +++++++++++++ presentation/presentation.tex | 7 ++++++ 5 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 presentation/Makefile create mode 100644 presentation/presentation.pre create mode 100644 presentation/presentation.tex diff --git a/.gitignore b/.gitignore index 48787c6..077cdca 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,9 @@ img/fig-* *.log *.lol *.lot +*.nav *.out *.pdf +*.snm *.tdo *.toc diff --git a/Makefile b/Makefile index 5fcd945..b26533f 100644 --- a/Makefile +++ b/Makefile @@ -42,4 +42,4 @@ clean: $(DOCS:%=clean-%) clean-%: $(RM) $(addprefix $(@:clean-%=%).,acn acr alg aux bbl blg idl idx ilg ind\ - fmt glg glo gls ist loa lof log lol lot mlog out pdf tdo toc) + fmt glg glo gls ist loa lof log lol lot mlog nav out pdf snm tdo toc) diff --git a/presentation/Makefile b/presentation/Makefile new file mode 100644 index 0000000..8aeb1d6 --- /dev/null +++ b/presentation/Makefile @@ -0,0 +1,45 @@ +DOCS:=presentation +GREP?=grep +LATEX?=pdflatex +BIBTEX?=bibtex +BIBTEXFLAGS:= +MAKEGL?=makeglossaries +MAKEGLFLAGS?= +MAKEIDX?=makeindex +MAKEIDXFLAGS?= +DOT?=dot +DOTFLAGS?=-Tpng +LATEXFLAGS:=-file-line-error -halt-on-error + +FIGURES:=$(patsubst fig/%.dot,img/%.png,$(wildcard fig/*.dot)) +LISTINGS:=$(wildcard listings/*) +TEXS:=$(wildcard *.bib) +BIBS:=$(wildcard *.tex) + +.PHONY: all clean +.SECONDARY: $(DOCS:%=%.fmt) $(FIGURES) + +all: $(DOCS:%=%.pdf) + +%.fmt: %.pre + $(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $<)" "&$(LATEX) $<\dump" + +%.pdf: %.mlog + if grep -Fiq "Rerun" $<; then $(LATEX) $(LATEXFLAGS) $(basename $<); fi + +%.mlog: %.tex %.fmt $(BIBS) $(TEXS) $(FIGURES) $(LISTINGS) + $(LATEX) $(LATEXFLAGS) $< + if $(GREP) -q '^\\bibdata{' $(basename $<).aux; then $(BIBTEX) $(BIBTEXFLAGS) $(basename $<); fi + if $(GREP) -q '\@istfilename' $(basename $<).aux; then $(MAKEGL) $(MAKEGLFLAGS) $(basename $<); fi + if [ -f $(basename $<).idx ]; then $(MAKEIDX) $(MAKEIDXFLAGS) $(basename $<); fi + $(LATEX) $(LATEXFLAGS) $< | tee $@ + +img/%.png: fig/%.dot + $(DOT) $(DOTFLAGS) $< > $@ + +clean: $(DOCS:%=clean-%) + $(RM) $(FIGURES) + +clean-%: + $(RM) $(addprefix $(@:clean-%=%).,acn acr alg aux bbl blg idl idx ilg ind\ + fmt glg glo gls ist loa lof log lol lot mlog nav out pdf snm tdo toc) diff --git a/presentation/presentation.pre b/presentation/presentation.pre new file mode 100644 index 0000000..75f91e8 --- /dev/null +++ b/presentation/presentation.pre @@ -0,0 +1,17 @@ +\documentclass{beamer} + +\graphicspath{{img/}} + +\urlstyle{tt} + +\author{Mart Lubbers BSc.\\ +{\small\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}\\ +~\\ +\textit{Supervisors:}\\ +prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\ +dr.~P.W.M.~Koopman +} + +\title{Task Oriented Programming and the Internet of Things} +\subtitle{\sc Master's Thesis: Computing Science} +\date{\today} diff --git a/presentation/presentation.tex b/presentation/presentation.tex new file mode 100644 index 0000000..47deb54 --- /dev/null +++ b/presentation/presentation.tex @@ -0,0 +1,7 @@ +%&presentation +\begin{document} +\begin{frame} + \maketitle +\end{frame} + +\end{document} -- 2.20.1