C'est la première fois que j'utilise Latex pour rédigé un mémoire.
Je voulais crée des mini table de matière pour chaque chapitre, pour cela j'ai utilisé "minitoc".
Toutefois, l’entête de la page où y a la mini table de matière du chapitre 2, 4 et 6 est vide (il doit contenir le nom du chapitre). pour le chapitre 1, 3 et 5 l’entête est correcte.
Quelqu'un pourrais peut-être me dire c'est quoi le problème. Merci d'avance.
Code : Tout sélectionner
\documentclass{theseIRCCyN}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage[frenchb]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xspace}
\usepackage{url}
\usepackage{subfigure}
\usepackage[footnotesize]{caption2}%[footnotesize]scriptsize
\usepackage{stmaryrd}
\usepackage[all]{xy}
\usepackage{epsfig}
\usepackage{rotating}
\usepackage{amstext,amsmath,amsfonts,amssymb}
\usepackage{graphicx,tabularx}
\usepackage{psfrag}
\usepackage{multicol}
\usepackage{makeidx}
\usepackage{mathrsfs}
\usepackage{float}
\usepackage{etoolbox}
\preto{\tableofcontents}{\singlespacing}
\preto{\listoffigures}{\singlespacing}
\preto{\listoftables}{\singlespacing}
\preto{\printbibliography}{\singlespacing}
\everymath{\displaystyle}
\usepackage[table]{xcolor}
\definecolor{gris-0.8}{gray}{0.95}
\addto\captionsfrench{\def\tablename{Tableau}} % Table devient Tableau
\addto\captionsfrench{\def\figurename{Figure}}
\renewcommand{\captionlabelfont}{\bf}
\renewcommand{\captionlabeldelim}{ :}
\mtcselectlanguage{french}
\usepackage[hidelinks]{hyperref} % enlevé la coleurs table des matieres, réfernces (biblio, figures, eqn....)
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}{Lemma}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{remark}[theorem]{Remarque}
\newtheorem{proof}{Démonstration}
\def\proofname{\indent {\sl Proof.}}
\RequirePackage{epsfig}
\RequirePackage{amsfonts}
\RequirePackage{amsmath}
\RequirePackage{amssymb}
\RequirePackage{latexsym}
\RequirePackage{bbm}
\RequirePackage{mathrsfs}
\usepackage{hyperref}
\usepackage{enumitem}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\makeatletter
\newcounter {subsubsubsection}[subsubsection]
\renewcommand\thesubsubsubsection{\thesubsubsection .\@alph\c@subsubsubsection}
\newcommand\subsubsubsection{\@startsection{subsubsubsection}{4}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\normalfont\normalsize\bfseries}}
\renewcommand\paragraph{\@startsection{paragraph}{5}{\z@}%
{3.25ex \@plus1ex \@minus.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}
\renewcommand\subparagraph{\@startsection{subparagraph}{6}{\parindent}%
{3.25ex \@plus1ex \@minus .2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}
\newcommand*\l@subsubsubsection{\@dottedtocline{4}{10.0em}{4.1em}}
\renewcommand*\l@paragraph{\@dottedtocline{5}{10em}{5em}}
\renewcommand*\l@subparagraph{\@dottedtocline{6}{12em}{6em}}
\newcommand*{\subsubsubsectionmark}[1]{}
\makeatother
\usepackage{hyperref}
\makeatletter
\newenvironment{figurehere}
{\def\@captype{figure}}
{}
\def\toclevel@subsubsubsection{4}
\def\toclevel@paragraph{5}
\def\toclevel@subparagraph{6}
\makeatother
\usepackage{minitoc}
\begin{document}
\selectlanguage{french}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%% PAGE DE GARDE %%%%%%%%%%%
\thispagestyle{empty}
\begin{tabular}{lll}
Président &.............. \bsc{..............} & {\it \footnotesize .............., ..............}\\
Examinateurs
&.............. \bsc{..............} & {\it \footnotesize .............., ..............}\\
&.............. \bsc{..............} & {\it \footnotesize .............., ..............}\\
&.............. \bsc{..............} & {\it \footnotesize .............., ..............}\\
&.............. \bsc{..............} & {\it \footnotesize .............., ..............}\\
&.............. \bsc{..............} & {\it \footnotesize .............., ..............}\\
\end{tabular}
\vspace{1.1cm}
\frontmatter
\dominitoc
\include{Dedicaces}
\include{Remerciements}
\chaptermark{Notations et Abreviations}
\include{notations/Notations_Abreviation_1}
\tableofcontents
\listoffigures
\listoftables
\mainmatter
\pagenumbering{arabic}
\setcounter{page}{1}
\chaptermark{Introduction générale}
\addcontentsline{toc}{chapter}{Introduction générale}
\include{introductionn/introduction_generale_3}
\setcounter{mtc}{1}
\include{chapitre_1/chap1_2}
\setcounter{mtc}{2}
\include{chapitre_2/chapitre_2}
\setcounter{mtc}{3}
\include{chapitre_3/Chapitre_3_3}
\setcounter{mtc}{4}
\include{chapitre_4/chapitre_4}
\setcounter{mtc}{5}
\include{chapitre_5/chapitre_5}
\setcounter{mtc}{6}
\include{chapitre_6/chapitre_6}
\chaptermark{Conclusion générale}
\addcontentsline{toc}{chapter}{Conclusion générale}
\include{conclusion/conclusion}
\chaptermark{Bibliographie}
\addcontentsline{toc}{chapter}{Bibliographie}
\include{biblio/biblio_TRIKI}
%\include{biographie/biographie}
%\backmatter
%\addcontentsline{toc}{chapter}{Bibliographie}
%\printindex
\thispagestyle{empty}
\include{publication/Liste_de_publication}
\thispagestyle{empty}
\include{petit_resume}
\end{document}