\documentclass[../thesis.tex]{subfiles}

\begin{document}
\ifSubfilesClassLoaded{
	\pagenumbering{arabic}
}{}

\mychapter{chp:first-class_datatypes}{First-class datatypes \ldots}%
TFP22

\input{subfilepostamble}
\end{document}
