comments comemnts comments
[phd-thesis.git] / appx / mtask_aux.tex
index 74273a4..54812ff 100644 (file)
@@ -2,11 +2,10 @@
 
 \input{subfilepreamble}
 
-\setcounter{chapter}{1}
 
 \begin{document}
 \input{subfileprefix}
-\ifSubfilesClassLoaded{\appendix}{}
+\ifSubfilesClassLoaded{\appendix\setcounter{chapter}{1}}{}
 \chapter{Auxiliary \texorpdfstring{\glsentrytext{MTASK}}{mTask} type classes}%
 \label{chp:mtask_aux}
 \lstset{basicstyle=\tt\footnotesize}