z*y 发帖数: 1311 | 1 below is a partial list of .toc file auto-generated
\select@language {english}
\contentsline {schapter}{Preface}{vii}
\gdef \the@ipfilectr {@-1}
\contentsline {chapter}{Chapter\ 1: Introduction}{1}
\contentsline {section}{Network Design}{4}
\contentsline {section}{Methodology}{5}
\contentsline {section}{General Problem Statement}{6}
\contentsline {section}{Definitions}{8}
\contentsline {section}{Literature Review}{9}
...
When the pdf is generated, only Preface and Chapter are shown, but
not sections.
I am using Miktex and pdflatex on Windows.
I also use a special .cls file, the following might be relevant
\newcommand\tableofcontents{%
\startonoddpage
\chapter*{\contentsname
\@mkboth{%
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
\normalsize
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}
which I have no knowledge
Any suggestions? Thank you. | Y*Y 发帖数: 694 | 2 You might want to set tocdepth higher, such as
\setcounter{tocdepth}{2} % or 3, 4, ...
I have to say that I have only used the basic command \tableofcontents
So I don't know whether it work the same way in your case. | z*y 发帖数: 1311 | 3 it works, thank you!
【在 Y*Y 的大作中提到】 : You might want to set tocdepth higher, such as : \setcounter{tocdepth}{2} % or 3, 4, ... : I have to say that I have only used the basic command \tableofcontents : So I don't know whether it work the same way in your case.
|
|