simplified chapter includes

This commit is contained in:
Jan Benda 2019-12-06 23:04:32 +01:00
parent 577c0804c7
commit 93f18143f1

View File

@ -2,6 +2,13 @@
\input{header} \input{header}
\newcommand{\includechapter}[1]{%
\graphicspath{{#1/lecture/}{#1/lecture/figures/}{#1/images/}}%
\setcodepath{#1/code}%
\renewcommand{\texinputpath}{#1/lecture/}%
\include{#1/lecture/#1}%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document} \begin{document}
@ -35,59 +42,37 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\part{Programming basics} \part{Programming basics}
\graphicspath{{programming/lecture/}} \includechapter{programming}
\setcodepath{programming/code}
\include{programming/lecture/programming}
\graphicspath{{debugging/lecture/}{debugging/lecture/figures/}} \includechapter{debugging}
\setcodepath{debugging/code}
\include{debugging/lecture/debugging}
\graphicspath{{plotting/lecture/}{plotting/lecture/figures/}} \includechapter{plotting}
\setcodepath{plotting/code}
\include{plotting/lecture/plotting}
\graphicspath{{programmingstyle/lecture/}{programmingstyle/lecture/figures/}} \includechapter{programmingstyle}
\setcodepath{programmingstyle/code}
\include{programmingstyle/lecture/programmingstyle}
\graphicspath{{designpattern/lecture/}} \includechapter{designpattern}
\setcodepath{designpattern/code}
\include{designpattern/lecture/designpattern}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\part{Data analysis} \part{Data analysis}
\graphicspath{{statistics/lecture/}} % add chapter on simulations (euler forward, odeint)
\setcodepath{statistics/code}
\include{statistics/lecture/statistics} \includechapter{statistics}
\graphicspath{{bootstrap/lecture/}{bootstrap/lecture/figures/}} \includechapter{bootstrap}
\setcodepath{bootstrap/code}
\include{bootstrap/lecture/bootstrap}
\graphicspath{{regression/lecture/}{regression/lecture/figures/}} \includechapter{regression}
\setcodepath{regression/code}
\include{regression/lecture/regression}
% add chapter on generalized linear models (versus ANOVA) % add chapter on generalized linear models (versus ANOVA)
% add chapter on nonlinear fitting (methods, initial values, local minima) % add chapter on nonlinear fitting (methods, initial values, local minima)
\graphicspath{{likelihood/lecture/}} \includechapter{likelihood}
\setcodepath{likelihood/code}
\include{likelihood/lecture/likelihood}
\graphicspath{{pointprocesses/lecture/}} \includechapter{pointprocesses}
\setcodepath{pointprocesses/code}
\renewcommand{\texinputpath}{pointprocesses/lecture/}
\include{pointprocesses/lecture/pointprocesses}
%\graphicspath{{spectral/lecture/}{spectral/lecture/figures/}} %\includechapter{spectral}
%\setcodepath{spectral/code/}
%\renewcommand{\texinputpath}{spectral/lecture/}
%\include{spectral/lecture/spectral}
% add chapter on ROC curves % add chapter on ROC curves
@ -101,8 +86,6 @@
% add chapter on simple machine learning % add chapter on simple machine learning
% add chapter on simulations (euler forward, odeint)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\part{Tools} %\part{Tools}