Update subfiles document structure

This commit is contained in:
2026-06-29 20:19:50 +02:00
parent 5f447c955d
commit 0c14a1af00
17 changed files with 100 additions and 55 deletions
@@ -1,5 +1,5 @@
\documentclass[thesis.tex]{subfiles}
\graphicspath{figures}
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
@@ -1,5 +1,5 @@
\documentclass[thesis.tex]{subfiles}
\graphicspath{figures}
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
@@ -1,5 +1,5 @@
\documentclass[thesis.tex]{subfiles}
\graphicspath{figures}
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
@@ -1,5 +1,5 @@
\documentclass[thesis.tex]{subfiles}
\graphicspath{figures}
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
-8
View File
@@ -1,8 +0,0 @@
\documentclass[thesis.tex]{subfiles}
\graphicspath{figures}
\begin{document}
\chapter{Experiment Setup}\label{ch:experimentsetup}
\end{document}
@@ -0,0 +1,11 @@
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
\chapter{Experiment Setup}\label{ch:experimentsetup}
\subfile{04_01_wamr_baremetal.tex}
\subfile{04_02_wasm_host_program.tex}
\end{document}
@@ -0,0 +1,13 @@
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
\section{WAMR Baremetal Platform}\label{sec:wamrbaremetal}
\begin{itemize}
\item Cross-compiler issues
\item Which platform functions?
\end{itemize}
\end{document}
@@ -0,0 +1,14 @@
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
\section{Wasm Host Program}\label{sec:wasmhost}
\begin{itemize}
\item WAMR setup
\item Calling \code{FAIL\_MARKER}s
\item WAMR exception handler marker?
\end{itemize}
\end{document}
@@ -1,5 +1,5 @@
\documentclass[thesis.tex]{subfiles}
\graphicspath{figures}
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
@@ -1,5 +1,5 @@
\documentclass[thesis.tex]{subfiles}
\graphicspath{figures}
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
@@ -1,5 +1,5 @@
\documentclass[thesis.tex]{subfiles}
\graphicspath{figures}
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
@@ -1,5 +1,5 @@
\documentclass[thesis.tex]{subfiles}
\graphicspath{figures}
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
@@ -15,13 +15,13 @@ This is a reference to \autoref{ch:introduction}.
This is a formula: \( \sum\limits_{f=1}^{\infty}\frac{o}{r}\cdot m_{u} + l^{a} \).
\begin{codeblock}[label=lst:examplelisting]{This is a listing}{C++}
\inputminted{cpp}{listings/example.cpp}
\inputminted{cpp}{\subfix{listings/example.cpp}}
\end{codeblock}
\begin{figure}[H]
\centering
\begin{subfigure}[b]{0.55\textwidth}
\includesvg[width=1.0\linewidth]{figures/example.svg}
\includesvg[width=1.0\linewidth]{\subfix{figures/example.svg}}
\end{subfigure}
\caption{This is a figure.}\label{fig:examplefigure}
\end{figure}

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

+8
View File
@@ -0,0 +1,8 @@
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
\chapter{}\label{}
\end{document}
+24 -18
View File
@@ -10,7 +10,7 @@
\usepackage{setspace} % Line stretch
% Bibliography
\usepackage[backend=biber,urldate=iso,date=iso]{biblatex}
\usepackage[backend=biber,urldate=iso,date=iso,seconds=true]{biblatex}
\usepackage[nottoc,notlof,notlot]{tocbibind} % Include bibliography in ToC, nottoc disables the "Contents" entry for the ToC itself
% Figures
@@ -20,8 +20,8 @@
\usepackage[bottom]{footmisc} % Bottom not below footnote
% Math
% \usepackage{amsmath,amssymb,amsthm}
% \usepackage{mathtools} % Extension of amsmath
\usepackage{amsmath,amsthm} % Don't load amssymb with concmath-otf
\usepackage{mathtools} % Extension of amsmath
% \usepackage{upgreek} % For non italic greek (vectors/matrices)
\usepackage{unicode-math}
\usepackage{lualatex-math}
@@ -79,11 +79,11 @@
\usetikzlibrary{shadings, backgrounds}
\setlength{\headheight}{14pt}
% \mathtoolsset{showonlyrefs}
% \usepackage{xpatch}
% \makeatletter
% \xpretocmd\HyRef@autoref{\noeqref{#2}}{}{} % showonlyrefs mit \autoref
% \makeatother
\mathtoolsset{showonlyrefs}
\usepackage{xpatch}
\makeatletter
\xpretocmd\HyRef@autoref{\noeqref{#2}}{}{} % showonlyrefs mit \autoref
\makeatother
\makeatletter\newcommand{\tcb@cnt@codeblockautorefname}{Listing}\makeatother
@@ -154,25 +154,29 @@
\let\ref\undefined%
\newcommand{\ref}[1]{\PackageError{Thesis}{REF:\ Use \autoref{label} instead}{}}
\let\oldcite\cite%
\let\cite\undefined%
\newcommand{\cite}[1][\PackageError{Thesis}{CITE:\ Use \autocite{ref} instead}{}]
% Visualize "overfull-hbox"
\overfullrule=2cm
\pagestyle{empty}
\pagenumbering{gobble}
% \pagestyle{empty}
% \pagenumbering{gobble}
% Starting pages
\frontmatter%
\input{titlepage}
\cleardoublepage%
\frontmatter%
\pagestyle{plain}
\pagenumbering{Roman}
% \pagestyle{plain}
% \pagenumbering{Roman}
% \tableofcontents{\thispagestyle{plain}}
\tableofcontents%
\cleardoublepage%
\pagestyle{report}
% \pagestyle{report}
\setacronymstyle{short-long}
\printglossary[type=\acronymtype]
@@ -180,14 +184,16 @@
\printglossary%
\mainmatter%
\pagenumbering{arabic}
% \pagenumbering{arabic}
}
\AtEndDocument{%
\pagestyle{empty}
\pagenumbering{gobble}
\AtEndDocument{
% \pagestyle{empty}
% \pagenumbering{gobble}
\let\url\undefined%
\let\url\oldurl%
\let\cite\undefined%
\let\cite\oldcite%
\printbibliography[heading=bibintoc]
\cleardoublepage%
+12 -11
View File
@@ -1,3 +1,4 @@
%! TeX program = lualatex
\documentclass[a4paper,11pt,twoside]{book} % Add final to silence TODOs
\input{preamble.tex}
@@ -5,37 +6,37 @@
\begin{document}
\subfile{chapters/00_abstract.tex}
\subfile{chapters/examples/examples.tex}
\cleardoublepage%
\subfile{chapters/examples.tex}
\subfile{chapters/00_abstract/00_00_abstract.tex}
\cleardoublepage%
\subfile{chapters/01_introduction.tex}
\subfile{chapters/01_introduction/01_00_introduction.tex}
\cleardoublepage%
\subfile{chapters/02_related_work.tex}
\subfile{chapters/02_related_work/02_00_related_work.tex}
\cleardoublepage%
\subfile{chapters/03_experiment_design.tex}
\subfile{chapters/03_experiment_design/03_00_experiment_design.tex}
\cleardoublepage%
\subfile{chapters/04_experiment_setup.tex}
\subfile{chapters/04_experiment_setup/04_00_experiment_setup.tex}
\cleardoublepage%
\subfile{chapters/05_results.tex}
\subfile{chapters/05_results/05_00_results.tex}
\cleardoublepage%
\subfile{chapters/06_discussion.tex}
\subfile{chapters/06_discussion/06_00_discussion.tex}
\cleardoublepage%
\subfile{chapters/07_conclusion.tex}
\subfile{chapters/07_conclusion/07_00_conclusion.tex}
\cleardoublepage%
% Appendix
% \backmatter% % Backmatter breaks reference counters into appendices
\pagenumbering{Roman}
\backmatter% % Backmatter breaks reference counters into appendices
% \pagenumbering{Roman}
\appendix
\end{document}