\selectlanguage{british}
\frontmatter%
-%\addtitlethumb{Frontmatter}{}{white}{gray}{pagesLTS.0}
+\frontmatterfancy%
%Titlepage
\subfile{frontmatter/titlepage}
% The actual document
\mainmatter%
-\addthumb{Chapters}{\arabic{chapter}}{white}{gray} % Arabic chapter thumbs
+\mainmatterfancy%
\setcounter{chapter}{-1}
% Introduction
\subfile{introduction/introduction}
% DSL
-\part[Prelude: Domain-Specific Languages]{Prelude\\Domain-Specific Languages}%
-\label{prt:dsl}
+\mypart{prt:dsl}{Prelude}{Domain-Specific Languages}%
% DSL Techniques
\subfile{domain-specific_languages/dsl_techniques}
% Stack computations?
\subfile{domain-specific_languages/strongly-typed_multi-view_stack-based_computations}
-\part[Exposition: Task-Oriented Internet of Things Programming]{Exposition\\Task-Oriented Internet of Things Programming}%
-\label{prt:top}
+\mypart{prt:top}{Exposition}{Task-Oriented Programming for the Internet of Things}%
\subfile{mtask/mtask}
-\part[Transformation: Tiered vs.\ tierless programming]{Transformation\\Tiered vs.\ tierless programming}%
-\label{prt:tvt}
+\mypart{prt:tvt}{Transformation}{Tiered vs.\ tierless programming}%
\subfile{tiered_vs._tierless_programming/smart_campus}
\appendix%
\label{chp:appendix}
\addcontentsline{toc}{part}{Appendix}
-\addthumb{Appendices}{\Alph{chapter}}{white}{gray} % Alpha appendix thumbs
\subfile{appendix/clean_for_haskell_programmers}
\subfile{appendix/bytecode}
\backmatter%
+\backmatterfancy%
\bookmarksetup{startatroot} % descend back out of the appendix
-\addtitlethumb{Backmatter}{}{white}{gray}{pagesLTS.0} % Empty backmatter thumbs
% Bibliography
\phantomsection{}%
\endgroup
% Index
-\addcontentsline{toc}{chapter}{Index}%
-\label{chp:index}
-\printindex
+%\addcontentsline{toc}{chapter}{Index}%
+%\label{chp:index}
+%\printindex
\end{document}