I'm using minitoc package and I would like to automate the command \minitoc after every chapter.
I'm looking a command to put in my preamble in the spirit of the following (which doesn't work):
\AtBeginChapter[]{\minitoc}
MWE
The game is to remove every \minitoc with only one command in the preamble.
\documentclass{book}
\usepackage{minitoc}
\begin{document}
\dominitoc
\faketableofcontents
\chapter{chapter 1}
\minitoc
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\chapter{chapter 2}
\minitoc
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\chapter{chapter 3}
\minitoc
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\chapter{chapter 4}
\minitoc
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\chapter{chapter 5}
\minitoc
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\chapter{chapter 6}
\minitoc
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\end{document}

titletocpackage for this - it is demonstrated, for example, in http://tex.stackexchange.com/a/7877/6621 – cmhughes Jul 30 '14 at 18:33