migrate to biblatex
[phd-thesis.git] / thesis.tex
index 86dc50e..a9f6c3b 100644 (file)
@@ -3,28 +3,32 @@
 \def\mytitle{Orchestrating the Internet of Things\texorpdfstring{\\}{ }with Task-Oriented Programming}
 \def\mysubtitle{a purely functional rhapsody}
 \def\myauthor{Mart Lubbers}
-\def\mydate{\formatdate{31}{12}{2022}}
+\def\mydate{\formatdate{1}{2}{2023}}
 
 \input{preamble}
 
 % To show hboxes even when in non-draft mode
-\overfullrule=1pt
+\setlength{\overfullrule}{20pt}
 
 % Just for the todonotes, can go when it's finished
 \usepackage{todonotes}
 \setuptodonotes{
        backgroundcolor=white,
        linecolor=black,
-       size=tiny,
+%      size=tiny,
 }
 
 % Document info
-\title{\mytitle{} --- \mysubtitle{}}
+\title{\mytitle\texorpdfstring{\\[2ex]}{---}\smaller\mysubtitle}
 \author{Mart Lubbers}
-
 \date{\mydate}
 
 \begin{document}
+\begingroup
+\makeatletter
+\let\@bibitem\saved@bibitem%
+\endgroup
+
 \selectlanguage{british}
 
 \frontmatter%
 \bookmark[level=section,dest=dedication]{Dedication}
 \subfile{front/dedication}
 
-% Reset glossary and thus the acronyms
-\glsresetall{}
-
 % The actual document
 \mainmatter%
 \mainmatterfancy%
-\setcounter{chapter}{-1}
+%\setcounter{chapter}{-1}
+\glsresetall{} % Reset glossary and thus the acronyms
 
 % Introduction
 \subfile{intro/intro}
-% DSL
 
 \part[\'Etude --- Domain-Specific Languages]{\'Etude\\[2ex]\smaller{}Domain-Specific Languages}%
 \label{prt:dsl}
-\subfile{dsl/class}  % Deep embedding with class
-\subfile{dsl/first} % First-class data types
-
-\part[Oratorio --- Task-Oriented Programming]{Oratorio\\[2ex]\smaller{}Task-Oriented Programming for the Internet of Things}%
-\label{prt:top}
-%\chapter{\texorpdfstring{\Glsxtrshort{TOP} for the \glsxtrshort{IOT}}{TOP for the IoT}}%
-\subfile{top/4iot}
-
-%\chapter{The \texorpdfstring{\gls{MTASK}}{mTask} \texorpdfstring{\glsxtrshort{DSL}}{DSL}}%
-\subfile{top/lang}
-
-%\chapter{Integration with \texorpdfstring{\gls{ITASK}}{iTask}}%
-\subfile{top/int}
-
-%\chapter{Implementation}%
-\subfile{top/imp}
+\subfile{dsl/class}    % Deep embedding with class
+\subfile{dsl/first}    % First-class data types
 
-% Green computing
-\subfile{top/green}
+% Part II
+\subfile{top/top}
 
-\part[Variations --- Tiered vs.\ Tierless Programming]{Transformation\\[2ex]\smaller{}Tiered vs.\ Tierless Programming}%
+\part[Tiered versus Tierless Programming]{\\[2ex]\smaller{}Tiered versus Tierless Programming}%
 \label{prt:tvt}
-\subfile{tvt/tvt} % Could Tierless Languages Reduce IoT Development Grief?
+\subfile{tvt/tvt}   % Could Tierless Languages Reduce IoT Development Grief?
 
+% Conclusion
 \bookmarksetup{startatroot} % descend back out of the previous part
 \addtocontents{toc}{\bigskip}% Insert some whitespace to make the TOC better
-\subfile{concl/conclusion}
+\subfile{concl/concl}
 
 % Start appendix
 \appendix%
 \label{chp:appendix}
 \addcontentsline{toc}{part}{Appendix}
 
-\subfile{appx/clean_for_haskell_programmers}
+\subfile{appx/c4hp}
 \subfile{appx/mtask_aux}
 \subfile{appx/bytecode}
 
 \phantomsection{}%
 \label{chp:bibliography}
 \addcontentsline{toc}{chapter}{Bibliography}
-\bibliography{other,self,tiot}
+%\bibliography{bib/other,bib/self,bib/tiot}
+\renewbibmacro*{begentry}{\midsentence}
+\printbibliography%
 
 % Summary
 \subfile{back/summary}
 
 % Glossary
 \printglossary[style=mcolindex]%
-\printglossary[type=\acronymtype,style=mcolindex]%
 
 %% Lists of
 %\cleardoublepage{}