[Tex/LaTex] minitoc does not print the same depth as global toc

minitoc

I would like the minitoc to print e.g. subsubsections, as the toc does in the following minimal example. But the minitoc does not print the subsubsection "Subsubsection not show up in minitoc" in the following:

\documentclass{book}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\usepackage{minitoc}

\begin{document}
\dominitoc
\tableofcontents

\chapter{Chapter title}

\minitoc

\section{Test 1}
hello

\section{Test 2}
hello

\subsection{Test 2 subsection}
hello

\subsubsection{Subsubsection not show up in minitoc}
hello
\end{document}

Best Answer

Like this?

deeper mini-toc

I'm assuming the manual for minitoc explains this, assuming it has one, but, in all honesty, I just guessed.

\documentclass{book}
\usepackage{minitoc}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\setcounter{minitocdepth}{5}

\begin{document}
\dominitoc
\tableofcontents

\chapter{Chapter title}

\minitoc

\section{Test 1}
hello

\section{Test 2}
hello

\subsection{Test 2 subsection}
hello

\subsubsection{Subsubsection not show up in minitoc}
hello
\end{document}