Here, I removed chapter numbering for some chapters and sections without removing them from ToC using
\chapter*{Acknowledgments}
\addcontentsline{toc}{chapter}{Acknowledgments}
and I've tried to add a mini table of contents using \usepackage{minitoc}
and \minitoc
.
Here my code Latex :
\documentclass{report}
\usepackage{minitoc}
\usepackage[colorlinks=true,urlcolor=blue
,citecolor=blue,linkcolor=blue,bookmarks=true]{hyperref}
\begin{document}
\dominitoc
\tableofcontents
\chapter*{Acknowledgments}
\addcontentsline{toc}{chapter}{Acknowledgments}
\minitoc
\section*{Acknowledgments 1}
\addcontentsline{toc}{section}{Acknowledgments 1}
\chapter{Introduction}
\minitoc
\section{sec1}
\section{sec2}
\end{document}
But :
- no mini ToC was created for the first chapter (with removed numbering)
- and the mini Toc in the 2nd chapter was these for the 1st one.
thank you for help