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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
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