Code: Select all
...
\usepackage{minitoc}
...
%(then at the beginning of the section from the main document:)
\section{Section 4}
\label{s:secfour}
\input{sections/sectionfour.tex}
...
%(then in the file sectionfour.tex:)
\secttoc
\clearpage
%===============================================
\subsection*{Overview}
\addcontentsline{toc}{subsection}{Overview}
...
Code: Select all
! You can't use '\unpenalty' in vertical mode.
\mtc@BRR -> \unpenalty
\nopagebreak [4]
1.13
Thanks.