% Encodage ISO
% Compilé avec la version 2016-08-29 de pas-exos

\documentclass[12pt,a4paper,openany]{book}
\usepackage{diagbox} % conflit pour la commande \arc : à mettre donc en premier
\usepackage[source]{pas-exos}
\usepackage{yhmath}
\author{St\'ephane PASQUET}
\date{\today}
\title{\input{Exercices.exo} exercices de\\[1em] math\'ematiques pour\\[1em] 2\up{nde} générale}
\subtitle{}
\graphicspath{{img/}}
%
\newwrite\tempfile
\frenchbsetup{StandardLists=true}

\begin{document}
\frontmatter
\maketitle

\tableofcontents\label{toc}

\input{src/regles}

\mainmatter

% ======== Algorithmique ==============

%\chapter{Algorithmique}\xdef\namefic{sec-algo-}\foreach\numsrc in {03,04,05,01,06,02,07,08}{\input{src/sec-algo-\numsrc}}\correction\foreach\numsrc in {03,04,05,01,06,02,07,08}{\corrige\input{src/sec-algo-\numsrc-corr}}

% ======= Coordonnées de points ==============

%\chapter{Repérage}\xdef\namefic{sec-coord-}\foreach\numsrc in {01,04,02,05,03,07,06,08,09}{\input{src/sec-coord-\numsrc}}\correction\foreach\numsrc in {01,04,02,05,03,07,06,08,09}{\corrige\input{src/sec-coord-\numsrc-corr}}

% ======= Développements ==============

%\chapter{Développements}\xdef\namefic{sec-dev-}\foreach\numsrc in {01,02,03}{\input{src/sec-dev-\numsrc}}\correction\foreach\numsrc in {01,02,03}{\corrige\input{src/sec-dev-\numsrc-corr}}


% ======= Factorisations ==============

%\chapter{Factorisations}\xdef\namefic{sec-fact-}\foreach\numsrc in {01,02,05,06,03,04,07}{\input{src/sec-fact-\numsrc}}\correction\foreach\numsrc in {01,02,05,06,03,04,07}{\corrige\input{src/sec-fact-\numsrc-corr}}

% ======= Equations & inéquations ==============

%\chapter{\'Equations \& inéquations}\xdef\namefic{sec-eqineq-}\foreach\numsrc in {01,04,03,05,02,06}{\input{src/sec-eqineq-\numsrc}}\correction\foreach\numsrc in {01,04,03,05,02,06}{\corrige\input{src/sec-eqineq-\numsrc-corr}}

% ========= Généralités sur les fonctions =========

\chapter{Fonctions : généralités}\xdef\namefic{sec-fct-}\foreach\numsrc in {04,05,06,07,01,02,03,08,09}{\input{src/sec-fct-\numsrc}}\correction\foreach\numsrc in {04,05,06,07,01,02,03,08,09}{\corrige\input{src/sec-fct-\numsrc-corr}}

% ======= Equation de droites ==============

%\chapter{\'Equation de droites}\xdef\namefic{sec-eqdroites-}\foreach\numsrc in {01,02,03,04,05,06}{\input{src/sec-eqdroites-\numsrc}}\correction\foreach\numsrc in {01,02,03,04,05,06}{\corrige\input{src/sec-eqdroites-\numsrc-corr}}

% ======== Fonctions du second degré ==============

%\chapter{Fonctions du second degré}\xdef\namefic{sec-fctdeg-}\foreach\numsrc in {01,02,03}{\input{src/sec-fctdeg-\numsrc}}\correction\foreach\numsrc in {01,02,03}{\corrige\input{src/sec-fctdeg-\numsrc-corr}}

% ======== Vecteurs ==============

%\chapter{Vecteurs}\xdef\namefic{sec-vec-}\foreach\numsrc in {01,02,03,04,05,06,09,12,07,08,10,11,13}{\input{src/sec-vec-\numsrc}}\correction\foreach\numsrc in {01,02,03,04,05,06,09,12,07,08,10,11,13}{\corrige\input{src/sec-vec-\numsrc-corr}}

% ======== Géométrie dans l'espace ==============

%\chapter{Géométrie dans l'espace}\xdef\namefic{sec-geomesp-}\foreach\numsrc in {01,02,03,04,05,06,07,08}{\input{src/sec-geomesp-\numsrc}}\correction\foreach\numsrc in {01,02,03,04,05,06,07,08}{\corrige\input{src/sec-geomesp-\numsrc-corr}}

% ======== Statistiques ==============

%\chapter{Statistiques}\xdef\namefic{sec-stat-}\foreach\numsrc in {01,02,03,04,05}{\input{src/sec-stat-\numsrc}}\correction\foreach\numsrc in {01,02,03,04,05}{\corrige\input{src/sec-stat-\numsrc-corr}}

% ======== Probabilités ==============

%\chapter{Probabilités}\xdef\namefic{sec-proba-}\foreach\numsrc in {06,01,02,03,08,09,04,05,07}{\input{src/sec-proba-\numsrc}}\correction\foreach\numsrc in {06,01,02,03,08,09,04,05,07}{\corrige\input{src/sec-proba-\numsrc-corr}}

% ======= Fluctuations et échantillonnage ============

%\chapter{Fluctuations et\\ échantillonnage}\xdef\namefic{sec-fluct-}\foreach\numsrc in {01,02,03,06,04,05}{\input{src/sec-fluct-\numsrc}}\correction\foreach\numsrc in {01,02,03,06,04,05}{\corrige\input{src/sec-fluct-\numsrc-corr}}

\immediate\openout\tempfile=\jobname.exo
\immediate\write\tempfile{\thenbexos}
\immediate\closeout\tempfile

\end{document}

