DOCS:=thesis
-LATEX:=pdflatex
-BIBTEX:=bibtex
+GREP?=grep
+LATEX?=pdflatex
+BIBTEX?=bibtex
BIBTEXFLAGS:=
+MAKEGLOSSARIES?=makeglossaries
+MAKEGLOSSARIESFLAGS?=makeglossaries
LATEXFLAGS:=-file-line-error -halt-on-error -no-shell-escape
.PHONY: all clean
$(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
%.pdf: %.mlog
- grep -iFq 'Rerun to get' $< && $(LATEX) $(LATEXFLAGS) $(basename $<) || true
+ $(GREP) -iFq 'Rerun to get' $< && $(LATEX) $(LATEXFLAGS) $(basename $<) || true
%.mlog: %.tex %.fmt $(wildcard *.bib) $(wildcard *.tex)
$(LATEX) $(LATEXFLAGS) $<
- grep -q '^\\bibdata{' $(basename $<).aux && $(BIBTEX) $(BIBTEXFLAGS) $(basename $<) || true
- grep -q '\@istfilename' $(basename $<).aux && makeglossaries $(basename $<)
+ $(GREP) -q '^\\bibdata{' $(basename $<).aux && $(BIBTEX) $(BIBTEXFLAGS) $(basename $<) || true
+ $(GREP) -q '\@istfilename' $(basename $<).aux && $(MAKEGLOSSARIES) $(MAKEGLOSSARIESFLAGSFLAGS) $(basename $<)
$(LATEX) $(LATEXFLAGS) $< | tee $@
clean:
- $(RM) $(foreach DOC,$(DOCS),$(addprefix $(DOC).,aux log fmt toc bbl blg run.xml out pdf snm nav snm vrb glo tdo alg acn acr glg gls xdy))
+ $(RM) $(foreach DOC,$(DOCS),$(addprefix $(DOC).,\
+ acn acr alg aux bbl blg fmt glg glo gls log nav out pdf run.xml snm\
+ tdo toc vrb xdy))
-\chapter*{\centering Abstract}
-\begin{quotation}
- \centering\it\noindent
- Okay.
-
- hallo
-
- hoi
-\end{quotation}
+\lipsum[1]
--- /dev/null
+\todo{What am I doing}
+\todo{Structure of the thesis}
--- /dev/null
+\todo{What is IoT}
+\todo{What is top}
\usepackage{todonotes} % Todo's
\usepackage{caption} % Captions
\usepackage{subcaption} % Subcaptions
+\usepackage{lipsum} % dummy text
\urlstyle{same}
\hypersetup{%
%&thesis
-\usepackage[xindy={codepage=utf-8},nonumberlist,acronyms]{glossaries} % Acronyms
+\usepackage[xindy,nonumberlist,acronyms]{glossaries} % Acronyms
\makeglossaries%
\newacronym{sds}{SDS}{Shared Data Source}
+\newacronym{iot}{IoT}{Internet of Things}
+\newacronym{top}{TOP}{Task Oriented Programming}
+
\begin{document}
+\frontmatter{}
+
+%Titlepage
\maketitleru[
+ pagenr=1,
course={Master Thesis},
institute={Radboud University Nijmegen},
authorstext={Author:},
righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\dr.~P.W.M.~Koopman}]
\listoftodos[Todo]
-\input{abstract.tex}
+%Abstract
+\chapter*{\centering Abstract}
+\begin{quotation}
+ \centering\it\noindent
+ \input{abstract.tex}
+\end{quotation}
+%Table of contents
\tableofcontents
+%Glossaries
+\glsaddall{}
\printglossaries%
+
+\mainmatter{}
\chapter{Introduction}
+\input{introduction.tex}
+
\chapter{Methods}
+\input{methods.tex}
+
\chapter{Results}
\chapter{Conclusion \& Discussion}
-\begin{appendices}
- \chapter{Communication protocol}
- \input{appendix-protocol.tex}
-\end{appendices}
+\appendix
+\chapter{Communication protocol}
+\input{appendix-protocol.tex}
\bibliographystyle{ieeetr}
\bibliography{thesis}