
\documentclass{report}
\usepackage[english]{babel}
\usepackage{amssymb}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{verbatim}
\usepackage{ucs}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{amsmath}
\usepackage{multicol}
\usepackage{hyperref}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{subcaption}
\usepackage{supertabular}
\usepackage{colortbl}
\usepackage{lastpage}
\usepackage{listings}

\usepackage{xcolor}
\usepackage{graphicx}
\definecolor{colKeys}{rgb}{0,0.5,0}
\definecolor{colIdentifier}{rgb}{0,0,0}
\definecolor{colComments}{rgb}{0,0.5,1}
\definecolor{colString}{rgb}{0.6,0.1,0.1}
\definecolor{colBackground}{rgb}{0.95,0.95,1}

\lstset{%configuration de listings
    float=hbp,%
    basicstyle=\ttfamily\small, %
    %
    identifierstyle=\color{colIdentifier}, %
    keywordstyle=\color{colKeys}, %
    stringstyle=\color{colString}, %
    commentstyle=\color{colComments}\textit, %
    %
    backgroundcolor=\color{colBackground},%
    %
    columns=flexible, %
    tabsize=2, %
    frame=trbl, %
    %frameround=tttt,%
    extendedchars=true, %
    showspaces=false, %
    showstringspaces=false, %
    numbers=left, %
    numberstyle=\tiny, %
    breaklines=true, %
    breakautoindent=true, %
    captionpos=b,%
    xrightmargin=0cm, %
    xleftmargin=0cm%
}

\setlength{\hoffset}{-18pt}
\setlength{\oddsidemargin}{0pt} % Marge gauche sur pages impaires
\setlength{\evensidemargin}{9pt} % Marge gauche sur pages paires
\setlength{\marginparwidth}{54pt} % Largeur de note dans la marge
\setlength{\textwidth}{17cm} % Largeur de la zone de texte (17cm)
\setlength{\voffset}{-18pt} % Bon pour DOS
\setlength{\marginparsep}{7pt} % Séparation de la marge
\setlength{\topmargin}{-30pt} % Pas de marge en haut
\setlength{\headheight}{13pt} % Haut de page
\setlength{\headsep}{10pt} % Entre le haut de page et le texte
\setlength{\footskip}{0.8cm} % Bas de page + séparation
\setlength{\textheight}{24.5cm} % Hauteur de la zone de texte (25cm)


\usepackage{titling}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{\headrulewidth}
\usepackage{float}
\newcommand{\hsp}{\hspace{20pt}}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\fancyfoot[RO]{\thepage/\pageref{LastPage}}
\fancyfoot[C]{January 2015 --- March 2015}
\fancyfoot[L]{\emph{Projet long report}}

% Redefine the plain page style (display the footer on chapter page)
\fancypagestyle{plain}{%
  \fancyhf{}%
  \fancyfoot[RO]{\thepage/\pageref{LastPage}}
  \fancyfoot[C]{January 2015 --- March 2015}
  \fancyfoot[L]{\emph{Projet long report}}
  \renewcommand{\headrulewidth}{0pt}% Line at the header invisible
  \renewcommand{\footrulewidth}{0.4pt}% Line at the footer visible
}


\makeatletter
\@addtoreset{chapter}{part}
\makeatother

\begin{document}

\input{chapters/frontPage}
\input{chapters/introduction}

\part{Technical Field}

\input{chapters/productSpecification}
\input{chapters/productDescription}
%\input{chapters/tests}
\input{chapters/technicalConclusion}

\part{Project Management}

\input{chapters/introManagement}
\input{chapters/risksManagement}
\input{chapters/actions}
\input{chapters/schedule}
\input{chapters/license}

\input{chapters/conclusion}

\bibliographystyle{plain}
\bibliography{references}

\appendix
\input{annexes/skeletons}

\end{document}

