General ⇒ minitoc problem
minitoc problem
\chapter{Introduction}
\label{Chap:Introduction}
\mtcaddchapter
\minitoc
Chapter 2(seperate txt file):
\chapter{Related Work}
\label{Chap:RelatedWork}
\mtcaddchapter
\minitoc
-------------(seperate txt file)-----------------------------------
This is my main page, where I include each chapter.
\begin{document}
%table of content of the thesis
\dominitoc[l]
\tableofcontents
%include your chapters here
\dominitoc[l]
\faketableofcontents
\include{CHAPTER-1-Introduction/IntroductionT}
\dominitoc
\faketableofcontents
\include{CHAPTER-2-Literature-Review/RelatedWorkT}
\end{document}
Problem: I need each chapter to have its local table of content. I get the table of content of the first chapter in second chapter as well. I do not get the table of content of second chapter. Can someone tell me reason pl?
Many thanks in advance.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
minitoc problem
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10