# No mini ToC appearing [closed]

First of all, I am not a good user of Latex.

I used the minitoc package and also the hyperref.

This is the what I have for now

\documentclass[a4paper,12pt]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[french,german,english]{babel}
\usepackage[absolute]{textpos}

\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}

\usepackage{float}

\usepackage[]{minitoc}
\setcounter{minitocdepth}{2}

\usepackage{hyperref}
\hypersetup{pdfborder={0 0 0},
citecolor=black,
urlcolor=black}
\urlstyle{same}

\begin{document}
\frontmatter

\setcounter{page}{0}

\dominitoc

\tableofcontents

\phantomsection

\include{main/introduction}
\include{main/ch1}

\end{document}


and in every chapter file I used the \minitoc command

\chapter{}
\minitoc


The problem is that no mini ToC appears after the chapter name in the PDF file.

What could be the problem?

• Welcome to TeX.SX! Have you read the manual? – TeXnician Apr 20 '17 at 13:12
• Please provide a compilable document that has this issue, not just non-contigious fragments – user31729 Apr 20 '17 at 15:58
• @TeXnician What's that on the line just above \tableofcontents? – Torbjørn T. Apr 24 '17 at 15:57
• If I collect your snippets and turn them into a complete example, I do get minitocs in each chapter. Can you make a single, complete document (a minimal working example), that demonstrates your problem, as Christian asked for earlier? – Torbjørn T. Apr 24 '17 at 16:01
• Well, we don't have any of the files you \include of course, but if remove all those, and add \chapter{} \minitoc \section{} \section{}, I do get a minitoc at the start of that chapter (after compiling twice). Can you make an example that doesn't rely on other files? Perhaps also add \listfiles right before \documentclass, and add the .log file to your question as well. – Torbjørn T. Apr 28 '17 at 9:21