Generalminitoc problem

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
kosala
Posts: 2
Joined: Sun Apr 10, 2011 9:59 am

minitoc problem

Post by kosala »

Chapters 1(seperate txt file):
\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.
Last edited by kosala on Sun Apr 10, 2011 2:07 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post by localghost »

You have to provide a full but minimal example instead of useless code snippets. This example has to be reduced to only relevant code that must be compilable for others as provided. Otherwise the problem is incomprehensible. Do not split the code into several files. It can be presented as a single document.


Best regards and welcome to the board
Thorsten
Post Reply