\documentclass{warnings-and-errors}
\begin{yaml}[snippet=metadata]
title: Warnings and errors for the expl3 analysis tool
author: Vít Starý Novotný
date: `\today`{=tex}
\end{yaml}
\begin{document}
\tableofcontents
\clearpage
\setcounter{secnumdepth}{0}
\markdownSetup{snippet=body}
\markdownInput{warnings-and-errors-00-introduction.md}
\setcounter{secnumdepth}{1}
\markdownInput{warnings-and-errors-01-preprocessing.md}
\markdownInput{warnings-and-errors-02-lexical-analysis.md}
\markdownInput{warnings-and-errors-03-syntactic-analysis.md}
\setcounter{secnumdepth}{2}
\markdownInput{warnings-and-errors-04-semantic-analysis.md}
\markdownInput{warnings-and-errors-05-flow-analysis.md}
\setcounter{secnumdepth}{0}
\markdownInput{warnings-and-errors-99-caveats.md}
\printbibliography[heading=bibintoc]
\printindex
\end{document}
