From eb8d0ab1e8f21d2c2dce76ec498f102cd614d3b0 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 4 Jul 2017 10:14:47 +0200 Subject: [PATCH] fix date --- build.sh | 3 ++- presentation.pre | 9 ++++++--- thesis.pre | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 369eb3d..0a84c8f 100644 --- a/build.sh +++ b/build.sh @@ -24,6 +24,7 @@ recompile(){ preamble(){ pdflatex $LATEXFLAGS -ini -jobname="$2" "&pdflatex $1\dump" + rm -f $2.pdf } compile(){ @@ -34,7 +35,7 @@ compile(){ tmpf=$(mktemp) trap RETURN rm -v $tmpf pdflatex $LATEXFLAGS $1 | tee $tmpf - grep -Fiq "Rerun" $tmpf && $LATEX $LATEXFLAGS $1 + grep -Fiq "Rerun" $tmpf && pdflatex $LATEXFLAGS $1 rm -vf $tmpf } diff --git a/presentation.pre b/presentation.pre index 75f91e8..c534412 100644 --- a/presentation.pre +++ b/presentation.pre @@ -1,5 +1,7 @@ \documentclass{beamer} +\usepackage[nodayofweek]{datetime} + \graphicspath{{img/}} \urlstyle{tt} @@ -7,11 +9,12 @@ \author{Mart Lubbers BSc.\\ {\small\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}\\ ~\\ -\textit{Supervisors:}\\ -prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\ +\textit{Supervisor:}\\ +prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\[1em] +\textit{Second reader:}\\ dr.~P.W.M.~Koopman } \title{Task Oriented Programming and the Internet of Things} \subtitle{\sc Master's Thesis: Computing Science} -\date{\today} +\date{\formatdate{10}{7}{2017}} diff --git a/thesis.pre b/thesis.pre index 86a4889..d36c6e5 100644 --- a/thesis.pre +++ b/thesis.pre @@ -15,6 +15,7 @@ \usepackage{graphicx} % Graphics \usepackage{epstopdf} % Eps graphics \usepackage{etoolbox} % Patch chapter command +\usepackage[nodayofweek]{datetime} % Use a fixed document date % Fix fonts \normalfont @@ -117,4 +118,4 @@ \title{Task Oriented Programming and the Internet of Things} \author{Mart Lubbers BSc.\\ {\small\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}} -\date{\today} +\date{\formatdate{10}{7}{2017}} -- 2.20.1