2023-09-19 20:13:48 +02:00
|
|
|
%----------------------------------------
|
|
|
|
% CHAPTERS
|
|
|
|
%----------------------------------------
|
|
|
|
|
|
|
|
\newcommand{\includechapters}[2]{%
|
|
|
|
\foreach \i in {0, ..., #2} {%
|
|
|
|
\edef\FileName{content/chapters/#1/\i}%
|
|
|
|
\IfFileExists{\FileName}{%
|
|
|
|
\input{\FileName}%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-10 13:39:13 +01:00
|
|
|
\includechapters{part1}{1}
|
2023-09-19 20:13:48 +02:00
|
|
|
|
2023-10-13 13:19:12 +02:00
|
|
|
\includechapters{part2}{2}
|
2023-09-19 20:13:48 +02:00
|
|
|
|
|
|
|
% \includechapters{part3}{1}
|