Skip to main content

main.tex (Source)

\documentclass{book}
\usepackage{titletoc}
\makeatletter
\renewcommand{\@seccntformat}[1]{}                    
% Numbered chapters with mini tableofcontents
\def\@makechapterhead#1{
    \startcontents
    {\flushleft \printcontents{l}{1}{}}
}
\begin{document}
\chapter{title}
\include{extra}
\end{document}