\documentclass[12pt]{extarticle}
\newcommand{\import}[1]{\input{document/#1}}
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\import{packages}
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\bibliography{document}
\hypersetup{colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue,
}
\setcounter{secnumdepth}{3}
\setmainfont{DejaVu Sans}
\setmonofont{DejaVu Sans Mono}
\setlength{\parindent}{0em}
\setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1.1}
\newenvironment{enum}{\begin{enumerate}
\setlength{\itemsep}{0.2em}
\setlength{\parsep}{0em}
\setlength{\parskip}{0em}
}{\end{enumerate}}
\newenvironment{itmz}{\begin{itemize}
\setlength{\itemsep}{0.2em}
\setlength{\parsep}{0em}
\setlength{\parskip}{0em}
}{\end{itemize}}
%\pagenumbering{gobble}
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\definecolor{bg}{rgb}{0.9,0.9,0.9}
\definecolor{cm}{rgb}{0.1,0.6,0.1}
\definecolor{kw}{rgb}{0.8,0.1,0.1}
\definecolor{str}{rgb}{0.1,0.1,0.8}
\lstset{
basicstyle=\ttfamily,
numbers=left,
backgroundcolor=\color{bg},
commentstyle=\color{cm},
keywordstyle=\color{kw},
stringstyle=\color{str},
}
\newcommand{\cnam}{\begin{center}
\includegraphics[height=6em]{../cnam.png}\end{center}}
\def\fulltitle{\begin{center}\textbf{
Concepts et outils pour\\
mieux produire des documents
}\end{center}}
\def\goal{Mémoire probatoire blanc présenté en vue d’obtenir\\
UE « Information et communication pour ingénieur »\\
Spécialité :\\
Informatique, Réseaux, Systèmes et Multimédia}
\newcommand{\hr}{\rule{\textwidth}{1pt}}
\makeglossaries
\begin{document}
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\import{front}
%\setcounter{page}{1}
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
%\section*{Remerciements}
%\addcontentsline{toc}{section}{Remerciements}
%\pagebreak
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\import{glossaires}
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\cnam

\begin{large}\fulltitle\end{large}

\renewcommand{\contentsname}{Plan}
\cftsetindents{section}{1em}{1.5em}
\cftsetindents{subsection}{2.5em}{2.5em}
\cftsetindents{subsubsection}{5em}{3.25em}
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
%\renewcommand{\cftsubsecleader}{\hfill}
\tableofcontents

\pagebreak
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\import{introduction}
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
\import{objectifs}
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
\import{moyens}
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
\import{conclusion}
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\printbibliography[heading=bibintoc,title=Références]
\pagebreak
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\appendix
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
\import{fabrication}
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\import{back}
%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
\end{document}
