From b2776129052856ede5676b03a7eb61e8c9ce9b75 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 27 Oct 2025 17:27:32 +0100 Subject: [PATCH] Fix minitocs and draft build --- Makefile | 17 ++++++++--------- ai-llm-use-disclosure.tex | 1 + chapter-nice-coils/chapter.tex | 2 +- hsm-terminology-notes.tex | 1 + thesis.tex | 3 --- titlepage.tex | 4 ++++ 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 598898e..29293d6 100644 --- a/Makefile +++ b/Makefile @@ -14,21 +14,20 @@ all: thesis.pdf # We need three runs for biblatex's defernumbers %.pdf: %.tex common-packages.tex common-defs.tex main.bib version.tex - pdflatex -shell-escape $< + pdflatex -shell-escape -jobname thesis '\def\thesispreviewmode{}\input{$<}' biber $* - pdflatex -shell-escape $< - pdflatex -shell-escape $< + pdflatex -shell-escape -jobname thesis '\def\thesispreviewmode{}\input{$<}' + pdflatex -shell-escape -jobname thesis '\def\thesispreviewmode{}\input{$<}' echo echo "Undefined biblatex references:" grep -A2 'Package biblatex Warning: The following entry could not be found' thesis.log | sed -n '3~4{s/(biblatex) *//;p}' || echo "" #.PHONY: preview -#preview: -# pdflatex -shell-escape -jobname thesis '\def\thesispreviewmode{}\input{thesis.tex}' -# biber thesis -# pdflatex -shell-escape -jobname thesis '\def\thesispreviewmode{}\input{thesis.tex}' -# pdflatex -shell-escape -jobname thesis '\def\thesispreviewmode{}\input{thesis.tex}' -# pdflatex -shell-escape -jobname thesis '\def\thesispreviewmode{}\input{thesis.tex}' +final: + pdflatex -shell-escape $< + biber $* + pdflatex -shell-escape $< + pdflatex -shell-escape $< version.tex: thesis.tex $(addsuffix /chapter.tex,${CHAPTERS}) echo "${VERSION_STRING}" > $@ diff --git a/ai-llm-use-disclosure.tex b/ai-llm-use-disclosure.tex index 5ebc561..dd8aa4c 100644 --- a/ai-llm-use-disclosure.tex +++ b/ai-llm-use-disclosure.tex @@ -1,5 +1,6 @@ \chapter*{Use of Artificial Intelligence in This Thesis} +\adjustmtc \addcontentsline{toc}{chapter}{Use of Artificial Intelligence in This Thesis} This thesis has been written during the years of 2020 - 2025. In this time, Artificial Intelligence (AI) technology diff --git a/chapter-nice-coils/chapter.tex b/chapter-nice-coils/chapter.tex index a157cdc..9387fca 100644 --- a/chapter-nice-coils/chapter.tex +++ b/chapter-nice-coils/chapter.tex @@ -1,4 +1,4 @@ -\chapter{Rotation-Invariant Envelope Power Supply} +\chaptertitle{Rotation-Invariant Envelope Power Supply} % Twisted Inductor paper A central engineering challenge in inertial HSMs is transferring power and data between the payload and the rotating diff --git a/hsm-terminology-notes.tex b/hsm-terminology-notes.tex index 073d503..fa7afbe 100644 --- a/hsm-terminology-notes.tex +++ b/hsm-terminology-notes.tex @@ -1,4 +1,5 @@ \chapter*{A Note on Hardware Security Module Terminology} +\adjustmtc \addcontentsline{toc}{chapter}{A Note on Hardware Security Module Terminology} In this thesis, we use the term \emph{Hardware Security Module (HSM)} to refer to a security device that has the diff --git a/thesis.tex b/thesis.tex index a97d728..ebe4fe9 100644 --- a/thesis.tex +++ b/thesis.tex @@ -23,9 +23,6 @@ \author{Jan Sebastian Götte} \begin{document} \input{titlepage.tex} -\ifdefined\thesispreviewmode -{\Large \textbf{Draft build}, git revision \texttt{\input{version}}} -\fi \frontmatter \tableofcontents diff --git a/titlepage.tex b/titlepage.tex index e9fec86..15e20d0 100644 --- a/titlepage.tex +++ b/titlepage.tex @@ -7,6 +7,10 @@ \textbf{\Huge Bootstrapping Physical Security with Inertial Hardware Security Modules} \end{spacing} + \ifdefined\thesispreviewmode + {\Large \textbf{Draft build}, git revision \texttt{\input{version}}} + \fi + \vspace*{5cm} \begin{spacing}{1.3} \noindent