每章第一页的目录有问题

每章第一页的目录有问题

我的每章第一页的目录有问题。

这是我的主页:

\documentclass[a4paper, notitlepage]{report}

%==================================  PACKAGES  =========================================================================================================

    \usepackage[utf8x]{inputenc}                                                               
    \usepackage[svgnames]{xcolor}               
     \usepackage{url}                                             
     \usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
     \usepackage{enumitem}                                                    
     \usepackage{fancyhdr}                                
     \usepackage[nottoc]{tocbibind} 
    \usepackage[explicit]{titlesec}
    \usepackage{titletoc}
    \usepackage{epigraph}
    \usepackage{xpatch}
    \usepackage{lmodern}



%===================================================================


\newlength\ChapWd
\settowidth\ChapWd{\huge\chaptertitlename}



\titleformat{\chapter}[display]
  {\normalfont\filcenter\sffamily}
  {\tikz[remember picture,overlay]
    {
    \node[fill=DarkBlue,font=\fontsize{60}{72}\selectfont\color{white},anchor=north east,minimum size=\ChapWd]
      at ([xshift=-15pt,yshift=-15pt]current page.north east)
      (numb) {\thechapter};
    \node[rotate=90,anchor=south,inner sep=0pt,font=\huge] at (numb.west) {\chaptertitlename};
    }
  }{0pt}{\textsc{\fontsize{33}{40}\selectfont\color{DarkBlue}#1}}
\titlespacing*{\chapter}
  {0pt}{50pt}{10pt}


\makeatletter
\xpatchcmd{\ttl@printlist}{\endgroup}{{\noindent\color{DarkBlue}\rule{\textwidth}{1.5pt}}\vskip30pt\endgroup}{}{}
\makeatother

\newcommand\DoPToC{%
%\setcounter{tocdepth}{1}
\startcontents[chapters]
\printcontents[chapters]{}{1}{\noindent{\color{DarkBlue}\rule{\textwidth}{1.5pt}}\par\medskip}%
}

\setlength\epigraphrule{0pt}
\renewcommand\textflush{flushright}
\renewcommand\epigraphsize{\normalsize\itshape}


\begin{document}

\tableofcontents
\thispagestyle{empty}
\listoffigures
\newpage
\thispagestyle{empty}
\listoftables
\newpage
\thispagestyle{empty}
\input{./intro.tex}
\end{document}

我在每一章中都添加了\DoPToC。第一章(intro.tex):

\addcontentsline{toc}{chapter}{\protect\numberline{}Introduction}
\renewcommand{\headrulewidth}{1pt}
\fancyhead[L]{Introduction}
\renewcommand{\footrulewidth}{1pt}
\fancyhead[R]{}
\fancyfoot[C]{\thepage}


\chapter*{Introduction}
\markboth{Introduction}{}
\epigraph{A brainy quote -- Its Author}{}
\DoPToC


 \setlength{\skip\footins}{1cm}

%============= Contexte et objectifs:   ==============%


\section*{Contexte et objectifs:}
\addcontentsline{toc}{section}{\protect\numberline{}Contexte et objectifs}

在 pdf 文档中我有这个结果:

在此处输入图片描述

我怎样才能得到没有章节的大陆表*

相关内容