I want to have two table of contents in one document so I used the package etoc and I had two table of contents of the same contents, I want like this
\documentclass{book}
\usepackage{etoc}
\begin{document}
\tableofcontents % the first
\chapter{chapitre 1}% I want just this chapter in the first table of contents
\section{hello}
\tableofcontents
\chapter{chapitre2} % I want just this chapter in the second table of contents
\section{HELLO}
\end{document}
Any help please