2023-05-29 13:59:07 +02:00
|
|
|
%----------------------------------------
|
|
|
|
% CHAPTERS
|
|
|
|
%----------------------------------------
|
|
|
|
|
|
|
|
\newcommand{\includechapters}[2]{%
|
|
|
|
\foreach \i in {0, ..., #2} {%
|
|
|
|
\edef\FileName{content/chapters/#1/\i}%
|
|
|
|
\IfFileExists{\FileName}{%
|
|
|
|
\input{\FileName}%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-27 18:02:07 +02:00
|
|
|
\includechapters{}{2}
|
2023-05-29 13:59:07 +02:00
|
|
|
|
|
|
|
% \includechapters{part2}{2}
|
|
|
|
|
|
|
|
% \includechapters{part3}{1}
|